Accept email jar file deployment
I don't know if this is the right place to ask this problem. I reported the problem to the JDeveloper and ADF a week ago, but did not respond. To avoid rewrite me a long explanation, you can find using my 918805 no.In other words, the problem is that I can't get a Windows 7 system to accept and execute the program downloaded from my jar file if the receiving computer has UAC affecting more than minimum security. I need to convince the receiving computer to apply the user recipient to allow my jar file and run it once downloaded regardless of account control settings.
Published by: 918805 on March 12, 2012 03:49
918805 wrote:
Thanks for your reply of March 12. I did not provide enough information on March 14?
For me - not. You didn't really address the points I raised.
I'm not sure of the importance of your comment when you say "I have no problem running Java on Windows 7 programs, as long as I don't have to go outside the family environment of the user."
There are area of only two hard drive you should be able to guarantee to create files and directories - Directory users (tree System.getProperty ("user.home")) and subdirectory and the (System.getProperty ("java.io.tmpdir")) tmp directory and its subdirectory tree.
I use a Windows XP as administrator and single user course and have no problem running Java programs anywhere in the system.
XP security is a joke.
On my Windows 7 machine, I am also administrator and single user and have no problem in executing Java programs anywhere in the system except that I can't run a program downloaded when the account control is set on which I can do on my Windows7 machine. What is the difference and how to solve the problem for all the other people that I would like to send my software?
Do not try to create files and directories outside of the tmp directory tree or directory tree. I'm not an expert on Windows but I create cross-platform Java programs and they run about anywhere as long as I don't have to create files and directories outside the two security zones.
Tags: Java
Similar Questions
-
Error in bepel jar file deployment
I deploy a bpel jar file in bpel current console to run under UNIX. Obtaining has successfully deployed. But when I click Launch I get the error
Cannot read the wsdl file to: "http://localhost:7777/orabpel/default/IRobo_Workflow1/1.0/IRobo_Workflow1?wsdl", caused by: javax.net.ssl.SSLHandshakeException. : sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked
Can someone please tell me how to fixWork with SSL? It seems that the bpel process bends upward on a SSL url?
Date of arrival:
http://orasoa.blogspot.com/2007/09/compile-error-BPEL-against-SSL.html
Perhaps you need to set the certificates in the keystore.
Marc
-
Pass the parameter of application deployed in the ADF library jar file
Hi all
I use JDeveloper 11.1.2.4.0, i have 2 Applications appA, appB.
I created in taskflow appA containing departments viewobject, appB contain stubborn workflows which has Employee.jsff page.
I have deployed appB as library of ADF jar file and add it to appA, I need to pass the id of employee viewobject, Department
Kind regards
Hello
In order to create a business application, are usually required several workflow tasks. These workflow will perform different functions, but they may have to communicate with each other. To enable this communication, you can use task flow settings, contextual events or sharing of the data control Instances.
Please check below link
Java / Oracle SOA blog: events ADF passing between areas of workflow
Communication between task flow using the flow of the task - Waslley Souza Blog settings
Thank you
Amey
-
We have several .jar files used by our applications forms that we put in $ORACLE_HOME/forms/java and everything works well.
However:
(1) we have 3 Weblogic domains on the same server, sharing the same $ORACLE_HOME/forms/java - we want to be able to separate them for a different version of jar files
(2) we do not want to have to give access to the/forms/java developers to deploy their applications
I want to be able to be:
(a) set a custom (for example, archive=/mydir/myfile.jar) in the formsweb.cfg directory
or
(b) define a subdirectory under/forms/java (for example, archive=/dev/myfile.jar - which means $ORACLE_HOME/forms/java/dev/myfile.jar) (isn't this how it worked in 10 g?)
Thank you
You can locate the jars anywhere you like as long as there is a virtual path mapping. If you have had the right idea, but not exactly. In ARCHIVE settings, use the virtual path to locate the files. This means that you may need to create new virtual mappings. Do what of WLS can be painful, use SST before WLS is preferred. OSH, the creation of a virtual mapping is simple. Once you have created simply refers in ARCHIVE. For example:
Archive = frmall.jar, /virtualpath/myjar.jar
You can also create new physical subdirectories under ORACLE_HOME\forms\java. This would allow you to skip the step of creating new virtual directories. For example, to create these new physical directories and put your custom pots.
ORACLE_HOME\forms\java\domain1
ORACLE_HOME\forms\java\domain2
ORACLE_HOME\forms\java\domain3
Then in formsweb.cfg each area set ARCHIVE something like this:
Archive=frmall.jar,Domain1/myjar.jar
-
Deployment of ADF library jar files
Hello
I want to deploy my application to a standalone WLS which I applied above oracle ADF library. My question is that I have to include jar files that my application has a reference to them in my ear file? Jars for JSF, ADF rumtime, ADF faces DURATION,... these jar files should not be part of the ADF library that I installed on top of WLS?
ADF BC classes are in the adf.oracle.domain library.
The default value is not set in the weblogic application. XML
ADF. Oracle.Domain Other required libraries should be added to the weblogic - application.xml. The
Trinidad Runtime Databinding
ADF Faces DURATION 11
are in the adf.oracle.domain.webapp. Add the following to weblogic - application.xml.
ADF. Oracle.domain.WebApp -
Hi all.
I have a special need to deploy an application into an executable jar file (so it could be run as java-jar xxxxxx.jar). It is an app of the ADF, and there just the model layer. It has a main method that works perfectly inside the JDeveloper runtime.
I use ADF components (entity objects, see objects, Application Module, etc.).
I tried to deploy it in a jar file and libraries has added to its deployment profile. When I try to run it, I always get:
Exception in thread "main" oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg = Houston-33003: the MyConnection_Dep login name is not defined.
MyConnection_Dep is the login used in JDeveloper and defined in the Module of the Application, but it looks like the data connection are not deployed.
Which can be missing? Any help would be appreciated.
Thanks in advance
In fact, it worked today. I used
public class amConnection implements {EnvInfoProvider}
public Object getInfo (String string, object environment) {}
EnvHashtable Hashtable = (Hashtable) environment;
envHashtable.put (Configuration.DB_USERNAME_PROPERTY, "username");
envHashtable.put (Configuration.DB_PASSWORD_PROPERTY, "password");
envHashtable.put (Configuration.DB_CONNECT_STRING_PROPERTY, "jdbc:oracle:thin:@myserver.domain.com:1521:xxx");
Returns a null value.
}
All required jars are packed. It works very well.
Thanks anyway
-
WebCenter large Portal Site with Jar of deployment/Configuration files
Hello
I have a large portal of WCS to deploy comprising many different groups 'applications'.
Ideally, we want to deploy as an .ear file, containing menus, templates, preferences and a few other common structures.
We want to challenge each request as a .jar File. What is the best way to do it?
Can we build menus pointing to Taskflow .jar files without incorporating the .jar file in the application?
Thank you very much
João,To use the workflow in your WebCenter Portal Application you provide in JDeveloper, ADF JAR library classpath.
However, when you deploy your WebCenter portal, you can configure your deployment profile to only deploy the library with the WebCenter Portal Application.
Then just reference the shared lib deployment in weblogic.xml file.Kind regards.
-
How to deploy the jar file in WLS help ant script
Hello
Im trying to deploy a jar file in weblogic 10.3 using ant script and spin in the below error.
"
+ weblogic.management.DeploymentException [wldeploy]: [J2EE:160177] application to ' / u01//RSJBObjects.jar ' was not recognized as a valid request type. If it is an EAR file, please ensure that the META-INF/application.xml exists. EJB - pots must have a META-INF/ejb-jar. XML or corresponding annotations exist. If there is a WAR exploded, the directory name should be fine with "constituent". RSRA requires a META-INF/ra.xml. A deployment of JMS should be an XML file whose name ends in '-jms.xml. A deployment of JDBC must be an XML file whose name ends with "-jdbc.xml". For other types of applications, see the documentation for WebLogic Server. +
"
When I try to deploy the same manually from the console, I get a warning stating that WLS thought this as a library and therefore proceed to deploy it as a library. After this warning, the deployment continues and ends.
Problem is when I try to deploy it using Ant, it breaks at this stage.
Y at - it all means that we can deploy a jar to WLS help ant script. It must be deployed as a library as other apps would use this jar.
Cannot create an ear for this jar file file unique im.
If there is no suggestion on can do you, please share.
Thank you
Vijay.Hi Vijay,
The following example shows how to deploy a Java EE library named myLibrary whose source files are located in the directory for output/myLibrary:
source = "myLibrary/exit" library = "true"
user = 'weblogic' password = 'weblogic '.
verbose = "true" adminurl = "" t3: / / localhost:7001 ""
target = "MyServer" / >
http://docs.Oracle.com/CD/E11035_01/WLS100/programming/wldeploy.html
HTH
Kind regards
Sunil Polineni -
Deployment, redeployment JAR file for WebLogic EM without having to restart the service
Hello
Can someone help me how to redeploy the file .jar on weblogic EM with steps.
Deployment, redeployment JAR file for WebLogic EM without restarting the server
Appriciate if you provide information in steps with screenshot.
Note: Not in the 11g weblogic console.
Thank you
Phanihttp://download.Oracle.com/docs/CD/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA
-
Hey guys,.
I get the following error I think because I have something misconfigured in my xml files. Instead of activationConfig in my MDB yousing properties, I wanted to put them manually in the file ejb - jar.Xml. I get the error message next is...
Unable to deploy EJB: MyMDB of MDBtest2:
[EJB:011026] The EJB container failed when creating the java: / comp/env namespace for this EJB deployment.
weblogic.deployment.EnvironmentException: [EJB:010176] the resource-env-ref 'inQueue", said in the descriptor file ejb - jar.xml has no mapped JNDI name. The resource-ref must be mapped to a JNDI name by using the element of description of the resources of the descriptor weblogic-ejb - jar.Xml.
at weblogic.ejb.container.deployer.EnvironmentBuilder.addResourceEnvReferences(EnvironmentBuilder.java:641)
at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:330)
at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1097)
at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:991)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
EJB - jar. XML
<? XML version = "1.0" encoding = "UTF-8"? >
< ejb - jar id = "ejb-jar_ID" version = "2.1" xmlns = "http://java.sun.com/xml/ns/j2ee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" >
< display name > MDBtest2 < / display-name >
< some enterprise beans - >
> by message <
MyMDB < ejb-name > < / ejb-name >
> class ejb < cms.crown.mdb.MyMDB < / ejb-class >
Container < transaction-type > < / transaction-type >
OMG < message-destination-link > < / message-destination-link >
< resource-ref >
weblogic.jms.XAConnectionFactory < res-ref-name > < / res-ref-name >
javax.jms.XAConnectionFactory < res-type > < / res-type >
Container < res-auth > < / res-auth >
< / resource-ref >
< resource-env-ref >
inQueue < resource-env-ref-name > < / resource-env-ref-name >
javax.jms.Queue < resource-env-ref-type > < / env-ref-type of resource->
< / resource-env-ref >
< / message-driven >
< / enterprise beans >
< Assembly-descriptor >
< container-transaction >
< method >
MyMDB < ejb-name > < / ejb-name >
onMessage < method name > - < / method name >
< method-params >
javax.jms.Message < method-param > < / param method >
< / method-params >
< / method >
<>trans-attribut required < / trans-attribut >
< / container-transaction >
< / Assembly-descriptor >
< / ejb - jar >
WebLogic-ejb - jar.Xml
<? XML version = "1.0" encoding = "UTF-8"? >
< wls:weblogic - ejb - jar xmlns:wls = "http://www.bea.com/ns/weblogic/10.0" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd" >
<! - weblogic - version: 10.0->
< wls:message - destination-descriptor >
<! - search - method: JNDI->
< wls:message - destination-name > omg < / wls:message - destination-name >
< wls:destination - jndi-name > inQueue < / wls:destination - jndi-name >
< wls: initial context factory > weblogic.jms.XAConnectionFactory < / wls: initial context factory >
< wls:provider - url > address http://localhost: 8010 < / wls:provider - url >
< / wls:message - destination-descriptor >
< / wls:weblogic - ejb - jar >
I hope it's readable, thanks for any helpHello
It seems that the first thing you use EJB3 but your XML files always point to version = "2.1" and very old.
* Try this: below file "ejb - jar. XML ".
QCF = your factory connections JNDI name
TestQ = your queue JNDI name
Transaction attribute is ByDefault required =... so no need to add it here.
MyMDB
TestQ
cms.crown.mdb.MyMDB
javax.jms.MessageListener
Container
destinationType
javax.jms.Queue
connectionFactoryJndiName
QCF
destinationJndiName
TestQ
----------------------------
"weblogic-ejb - jar.xml":
Now you just need to set the URL of the provider here... If you want a remote provider... else is unnecessary
The JNDI names are already defined in the ejb - jar file. XML
------------------------------------------------
Some links that you can refer:
To generate deployment descriptors... .in case of EJB3 Applications: * http://jaysensharma.wordpress.com/2010/04/02/generating-ejb3-clientjar/ *.MDB3.0, example: * http://jaysensharma.wordpress.com/2009/08/17/mdb3-0-sample-for-weblogic-application-server/ *.
.
.
Thank you
Jay SenSharma -
Can I deploy the jar files in weblogic?
Can I deploy a jar file which will be a collection of other jar files in weblogic?
Where can I change?
We may keep the code deployed in the ear and all dependencies library jar files in a single pot and the pot to be installed separately in Weblogic...
What shall we do?
Please do helpHello
try to provide inputs inside your app ".» XML' as follows
referenceA.jar
referenceB.jar
referenceC.jar
Now place all the pots inside the root of the EAR file, as well as within the "
/APP-INF/lib'. nd, and then deploy that EAR as a shared library. Thank you
Jay SenSharma
http://jaysensharma.WordPress.com (WebLogic wonders are here) -
Deployment to .jar file error
Hello world
I am a developer of forms, and as such I am a completely clueless on how to do some basic things in this new tool, I am trying to learn.
In a first step, I am building some simple applications of the ADF/Swing, everything is fine until I reached the point when I want to deploy my proyect bit. Here's what I did based on what help I could find in this forum. Thanks in advance and sorry for my bad English.
(1) create a deployment profile, I select all dependencies by using the "Dependency análisis" option under file groups. Question: on the long list of dependencies shown in this section, it is necessary to include all the libraries figure? If I understand all the resulting jar file is 120 MB in size, and that is a very simple form. Is this normal / correct. ?
(2) after you have deployed the jar I try to run it with "java-jar xxx.jar", but I get the following exceptions: it seems to be related to the manifest file, and I find it very odd that when I look in the jar file, there are TWO 'manifest '. MF' under the same META-INF folder, it is capitalized and is small enough, the second is tiny and very large. I don't know if this is what causes the problem and I can not find someone else who has the same issue.
The error:
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature input file javax/media/rtp/event/SessionEvent.class
at sun.security.util.SignatureFileVerifier.verifySection (SignatureFileVe
check. Java:260)
at sun.security.util.SignatureFileVerifier.process (SignatureFileVerifier
. Java:172)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
at java.util.jar.JarVerifier.update(JarVerifier.java:194)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
at java.util.jar.JarFile.getInputStream(JarFile.java:362)
at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
to sun.misc.URLClassPath$ JarLoader. < init > (URLClassPath.java:543)
to sun.misc.URLClassPath$ 3.run(URLClassPath.java:320)
at java.security.AccessController.doPrivileged (Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Thank you.Each must have its own file java.exe JDK. Check the path to the JDK for your project (on the page of the library project properties dialog box) and when you run your JAR file, do it with
/ Path/to/Development/JDK/java-jar...
Hope this helps,
Avrom -
error mapbuilder.jar file in oracle application server deployment
Hi all
IAM trying to deploy mapbuilder.jar file in oracle 10g enterprise manager oc4j environment. It gives an error that
"An error occurred during the processing of the data submitted. Find the appropriate field and enter the correct information as indicated next to each field.
Location - failed by downloading archive archives. File to archive invalid: type of archive not supported. unknown"
I sent the same way for mapviewer.ear. It has been deployed successfully.
Please, any body tell me what would be the reason. I have here another way to deploy the .jar file in enterprise manager Oracle 10g
thnx in advance...
Kind regards
SrinivasHi Srinivas,
There is no need to deploy MapBuilder on an application server. You can order online with for example:
java-jar mapbuilder.jar - noconnectJoão
-
Hello
How can I deploy my "jar" files in the content server and then use from jsp pages?
Thank you. GreetingsYou integrate the JPS individually? One approach is to put the jar and jsp in a war file and deploy as a single unit to content server.
-
How to call a jar file using the IIS virtual directory
I have my application with limited functionality and I am trying to deploy a jar files in my library files, IIS is my web server. I want to create a virtual directory and I should be able to invoke the new jar of the virtual directory. Any thoughts?
This issue is beyond the scope of this site and must be placed on Technet or MSDN
Maybe you are looking for
-
How can I get my favorites when doing a restore on my computer?
My whole computer has been saved with Carbonite. When I "restored" my mac, I reinstalled Firefox. How to bring back my favorites?
-
Lenovo Mini PCI-E Slot P500 locations?
Hello Happy holidays ~! Hope everyone is having a great time. I need help to determine if the Z500/P500 manual material actually told the truth or not.According to page 27 of the manual of the equipment to the Z500/P500 Ideapad, there are 2 Mini PCI-
-
improve system performance slow slow start
I have a HP Netbook, Mini210 - 1018CLI can, t activate the account Windows Firewall assumes that because he, s not active administrator.Account main is fine, the firewall is turned on
-
I've just set up a WAP610N with WRT610N router. The router has been used for 6 months, no real problems. I'm trying to get better coverage on the floor, so the AP. I finished the installation program and thought I was ready to go. When I try to g
-
Audio not streaming no Filename
I know you can stream a file from a Web server as InputStream is = getClass () .getResourceAsStream ("