Trouble running EJB application in jdev 11G
Hi, I am just trying out jdev 11g, everything looks good except i am not able to run my application in either embedded oc4j or standalone oc4j 11g. I don't know, if it is a bug or i am doing something wrong. I also have this question, does jdev 11g support Tomcat 6? I will really appreciate any help regarding this. Thanks
That's the error i get every time i run the application:
[EJB 3.0]: Assigning default-data-source=jdbc/MySQL-Movies_DatabaseDS, specified in projects EJB 3.0 properties
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config>
"C:\Jdeveloper 11 Preview\jdk\bin\javaw.exe" -client "-Doracle.home=C:\Jdeveloper 11 Preview" -classpath "C:\Jdeveloper 11 Preview\j2ee\home\oc4j.jar;C:\Jdeveloper 11 Preview\jdev\lib\jdev-oc4j-embedded.jar" -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
May 13, 2007 12:15:27 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
SEVERE: Could not open wallet. Wallet version not supported
java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
oracle.security.jps.service.credstore.CredStoreException: Could not open wallet. Wallet version not supported
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:139)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
Caused by: java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
... 28 more
May 13, 2007 12:15:31 PM oracle.dms.trace.TraceManager record_config
INFO: TransactionTracing is enabled at MIN level
07/05/13 12:16:50 Oracle Containers for Java EE (11.1.1.0.0) Technology Preview initialized
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 112171 ms.
Running EJB's seem to work fine for me.
Can you try to create a simple Session bean and run it and see if you get any problems?
As far as support for other application servers, yes JDeveloper will support them, for the technology preview however we just did tests with the Oracle application server.
Similar Messages
-
I can not run application in Jdev 11g
hello,
I can not run my application in Jdev 11g.
[Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
[02:33:39 PM] ---- Deployment started. ----
[02:33:39 PM] Target platform is (Weblogic 10.3).
[02:33:40 PM] Retrieving existing application information
[02:33:40 PM] Running dependency analysis...
[02:33:40 PM] Deploying 3 profiles...
[02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
[02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
[02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
[02:33:42 PM] Deploying Application...
<01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
[02:33:42 PM] #### Deployment incomplete. ####
[02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
What is this?
Dema.Hi,
what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Frank -
Error while running web application through JDEV (10.1.3.0.3) in OC4J.
Here is the error message.
07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
Loader: oc4j:10.1.3
Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
The missing class is not available from any code-source or loader in the server.
07/10/02 14:45:28 at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]Hi,
The guide you were refering was pointing to 10.1.2 wizards.
For the latest 10.1.3 tutorial, please follow the below tutorial link :
http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
Hope this helps,
Sunil.. -
How to run ejb application OC4J J2EE Container
Hi all,
I unable run ejb applications in OC4J J2EE Container.
I have configure following files.
in config directory
Server.xml
I have .ear file if configured in server.xml. this .ear copied into home/application directory
I have create following deployment discriptor file.
in META-INF for ejb.
ejb-jar.xml
application.xml
I have specify all ejb classes details in ejb-jar.xml
Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
Thnaks,Hi all,
I unable run ejb applications in OC4J J2EE Container.
I have configure following files.
in config directory
Server.xml
I have .ear file if configured in server.xml. this .ear copied into home/application directory
I have create following deployment discriptor file.
in META-INF for ejb.
ejb-jar.xml
application.xml
I have specify all ejb classes details in ejb-jar.xml
Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
Thnaks, -
Trouble running adf/jsp application in jdev 11G
Hello ,
I have just installed Jdev 11g on Win XP SP 2.
Everything looks good, but when I try to run *.jspx file I am getting following error message:
I appreciate any help.
Thanks
C:\JDev1111\jdk\bin\javaw.exe -client -classpath O:\OC4J\j2ee\home\oc4j.jar;C:\JDev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "\\win.desy.de\home\martir\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
07/08/31 10:26:12 java.io.IOException: The system cannot find the path specified
07/08/31 10:26:12 at java.io.WinNTFileSystem.createFileExclusively(Native Method)
07/08/31 10:26:12 at java.io.File.createNewFile(File.java:850)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getJAZNDataXMLDoc(XMLJAZNProvider.java:250)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.parseDataFile(XMLJAZNProvider.java:377)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getRealmManager(XMLJAZNProvider.java:480)
07/08/31 10:26:12 at oracle.security.jazn.spi.GenericProvider.getRealmManager(GenericProvider.java:143)
07/08/31 10:26:12 at oracle.security.jazn.JAZNConfig.getRealmManager(JAZNConfig.java:997)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUMType(JAZNUserManager.java:5156)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUM(JAZNUserManager.java:5208)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.<init>(JAZNUserManager.java:5245)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:626)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:289)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.ultimate(UserManagerConfig.java:329)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.generateDefaultUserManagerSettings(EnterpriseArchive.java:1189)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.initDefaultSettings(EnterpriseArchive.java:1284)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:294)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfigReference(XMLApplicationServerConfig.java:2125)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.sortApplicationConfigReferences(XMLApplicationServerConfig.java:2859)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInitApplications(XMLApplicationServerConfig.java:2877)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:290)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:206)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:89)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
Aug 31, 2007 10:26:12 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
07/08/31 10:26:12 Error parsing application-server config file: Invalid usermanager configuration.
07/08/31 10:26:12 oracle.security.jazn.JAZNRuntimeException: Invalid usermanager configuration.
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.checkForParent(JAZNUserManager.java:3255)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.getAdminUser(JAZNUserManager.java:3279)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.FilterUserManager.getAdminUser(JAZNUserManager.java:4899)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:2981)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:95)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
07/08/31 10:26:12 Fatal error: server exiting
Process exited with exit code 1.Hello Ric,
Thanks for the response,
I have tried to set environment vars, but it was unsuccessful.
I have the old version of Jdev 10.1.3 and it's working with the message "Could not canonicalize ...."
I have found the following thread in forum:
Unable to start any application
The system11.1.1.0.17.45.24 directory is on the network drive:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\applications\dms.war
and not on the:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\home\applications\dms.war
I am not sure, but it seems to be the same problem with the embedded OC4J and dms.war, as discussed in the thread
mentioned above.
Thanks. -
Problem while running ejb application in Oracle Application Server
I have created sample ejb application in jdeveloper with ejb 3.1 version,
i also created jsp page which will invoke ejb client and display result,
its running perfectly in embeded oc4j server, but while deploying application in
Oracle application server its is giving below error message
Javax naming exception: unable to find remote interface., i am confusing please give me sollution .Hi Mr.Frank,
i have created remote interface by importing javax.ejb.Remote,
my interface name is additionEjb
and i defined a sample method and in my client i called like below
additionEjb AdditionEjb = (additionEjb)context.lookup("additionEjb");
In embeded oc4j server its running perfectly but after deploying to OAS below error throwing
The exception is : javax.naming.NameNotFoundException: additionEjb not found
Help me regrding this. -
Trouble Running Built Applications in OS X
Hello,
I am running Labview 8.2 on OS X and I am having trouble with the
LabVIEW run-time engine. The application I built runs fine on the
machine it was built on, but when I copy the application over to a
different computer it does not work. I'm a little unclear on how the
run-time engine is supposed to work. When I double click on the .app
file, the LabVIEW 8.2 spash screen appears followed by a "Select a File
to Open" dialog box. I'm not sure what file I'm supposed to select, but
I assumed it was the .app file. However when I selected this file it
gave an error message saying that it was not a valid LabVIEW file.
I upgraded to 8.5 and got the run-time engine for 8.5 and the same thing happens.
Am I missing something? Is there any documentation for the run-time
engine? Most of the stuff I've found seems to only apply to Windows.
Thank you,
MikeI'm not sure that I am building the app correctly. I made an extremely
simple, one VI project and compiled that, but it also said that was an
invalid LabVIEW file.
I'm a little unsure about your reply André. The
compiled program is a .app, so there aren't any VIs. There are four
files that are created by the build: program.app, program.aliases, a
preferences file and a preferences.bak file. When I double click the
program.app file, it shows the LabVIEW spashscreen, then asks me to
select a file. If I select the program.app in this file select dialog,
it says that it is an invalid LabVIEW file.
Thanks for your reply,
Mike -
Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3
Hello All,
I am using Oracle JDeveloper 11g Technical Preview 3
I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure.
Now, how can I access that ApplicationModule in my Action Class
BC4JContext bc4jContext = BC4JContext.getContext(request) is not working, returns null everytime,
Can anyone please let me know, how can I achieve this?
Thanks
user625610Hi don't know your name,
if you get null from BC4JContext.getContext(request) you should check you configuration. Check your web.xml file where you should see something like... <servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>mapping</param-name>
<param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
</init-param>
<init-param>
<param-name>BC4JDefinition</param-name>
<param-value>your_model_project_name</param-value>
</init-param>
...The init parameter BC4JDefinition is used to set up the context in the BC4JRequestProcessor class. My guess is that you don't have this parameter in your web.xml (or are pointing to a wrong name). the value should be the name of the cpx file without the .cpx you have in your viewcontroller project.
If you have migrated your project from JDev 10.1.2 you should check the 10.1.2 web.xml against the 11TP3 web.xml after the migration. The servlet part should be identical.
Timo -
Can we run the application developed in 11g on a weblogic server of 10g
Hi all,
I developed an application in Jdeveloper 11.1.1.4.0 version. Can I use the same application
on Weblogic server of 10.3 version with out changing any thing or Do I need to change
something for the deployment? Kindly come up with your help
Thanks,
Phanindra.A bit more info http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
Timo -
Problem running application on JDev on linux machine
i get the following exception when i try to run my application from JDev on my linux machine
oracle.jsp.parse.JspParseException:
/adflib/sdk/templateDefNoForm.jspx: Line # 175, <jsp:directive.include file="/sdk/requiredJavaScript.jspx" xmlns:jsp="http://java.sun.com/JSP/Page"/>
Error: Include file not found: /sdk/requiredJavaScript.jspx
Can I do something to get rid of it?Confirmed:
I'm seeing intermittent IOExceptions with beta1 and beta2. These never happened in Java 1.4.2.
There are no stack traces available on the server (tomcat logs + jnlpDownloadServlet.log).
All the client sees is:
An error occurred while launching/running the application.
Title: ScheduleWorldLocalhost
Vendor: Web Service Solutions, Inc.
Category: Download Error
Unable to load resource: http://localhost/sw/ScheduleWorldLocalhost.jnlp
Exception:
JNLPException[category: Download Error : Exception: java.io.IOException: Stream closed. : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:425)
at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:602)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(DownloadProtocol.java:684)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(LaunchDownload.java:145)
at com.sun.javaws.Launcher.downloadResources(Launcher.java:946)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:335)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:595) -
Getting SSLHandshakeException when trying to login to OCOD using Jdev 11g
Hi,
I used the following code to login to OCOD in JDev 10g and SOA 10g.
public String logon(String wsLocation, String userName, String password)
String sessionString = "FAIL";
try
// create an HTTPS connection to the On Demand webservices
URL wsURL = new URL(wsLocation + "?command=login");
HttpURLConnection wsConnection =
(HttpURLConnection) wsURL.openConnection();
// we don't want any caching to occur
wsConnection.setUseCaches(false);
// we want to send data to the server
// wsConnection.setDoOutput(true);
// set some http headers to indicate the username and passwod we are using to logon
wsConnection.setRequestProperty("UserName", userName);
wsConnection.setRequestProperty("Password", password);
wsConnection.setRequestMethod("GET");
// see if we got a successful response
if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
// get the session id from the cookie setting
sessionString = getCookieFromHeaders(wsConnection);
catch (Exception e)
System.out.println("Logon Exception generated :: " + e);
return sessionString;
However, when I run the same in JDev 11g as a standalone program, I get following error
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
When I run this as embedded java in BPEL code in 11g, I get following error
java.lang.IllegalStateException: Cipher not initialized
I searched for ALL cacerts file in both JDev and Weblogic directories and added the certificate. I used steps described in Invalid SSL Certificate to save the certificate and then used keytool to add the certificate to all the cacerts file. However the problem is persisting.
I added the certificate to cacerts in following directories
C:\Oracle\Middleware\jdev_home\jdk160_18\jre\lib\security
C:\Oracle\Middleware\11g_home\jdk160_18\jre\lib\security
C:\Oracle\Middleware\jdev_home\wlserver_10.3\server\lib
C:\Oracle\Middleware\11g_home\wlserver_10.3\server\lib
C:\Oracle\Middleware\jdev_home\jdk160_18\fastdebug\jre\lib\security
C:\Oracle\Middleware\11g_home\jdk160_18\fastdebug\jre\lib\security
Please help..its very urgent...I will be very grateful.
Rgds,
AmitTry following the direction in from this url
http://www.geocerts.com/install/weblogic_10
it helped us resolve the ssl handshake issue
This other url should help you list out your keystore
Deault password for DemoTrust.jks
HTH -
Jdev 11g application is running very slow.
Hi,
I have deployed the application on Solaris OS, Weblogic 10.3.2 and JDev 11g.
Application is running very slow, means each page is taking time to launch.
Server setup is as follows:
8 cpu's
6gb of memory
8gb swap
15gb /apps
20gb /logs
Please let me know if I need to set any parameters at server level to improve the application performance.
Thanks.Oh, yes, of course, your /logs partition should be 22.25 GB instead of 20 ;) (that was a joke before you run off and ask for more space)
To amplify what Timo said, you've provided actually no information whatsoever that would help anyone even begin to know what is causing the performance problem. Have you looked at the EM screens? Have you turned on logging to see if it's the database perhaps? You need to do much more diagnosis.
John -
Error while running HRFacadeClient of JDev 11g Tutorial
Hi,
I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
Section 19 says to run application under OC4J,
<strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
Default Server - Log
D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Oct 30, 2008 12:39:05 PM AST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Oct 30, 2008 12:39:05 PM AST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Oct 30, 2008 12:39:05 PM AST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Oct 30, 2008 12:39:06 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:06 PM AST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 30, 2008 12:39:06 PM AST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Oct 30, 2008 12:39:08 PM AST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 9953 ms.
DefaultServer started.
[Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
Uploading credentials.
---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
Deploying Application...
<Oct 30, 2008 12:39:17 PM AST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.>
Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
Application Deployed Successfully.
Elapsed time for deployment: 4 seconds
---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
Run startup time: 5063 ms.
[Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
<strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
Now when I run <strong>HRFacadeClient</strong> the log shows following error.
EJBModel.jpr - log
[EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List<oracle.Departments> queryDepartmentsFindAll() in EJB Object
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
at $Proxy11.queryDepartmentsFindAll(Unknown Source)
at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
Process exited with exit code 1.
Please guide me how to solve this error and continue with tutorial...
Regards,
SanthoshHi Heidi,
I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
This message is repeatedly displaying in messages tab:
Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
Any comments will be appreciated.
Thanks again
Esfand
Edited by: user3788199 on Sep 8, 2008 6:50 AM -
Bug in JDev 11g: clicking "Run" button won't run active file
Hi everybody.
If you start a new Application in Oracle JDeveloper 11g and start creating Java classes, at some point you're bound to create a main() function in one of them to ensure everything is working correctly, even if that class is not your application entry point.
The problem is that, once you run it the first time, JDev 11g will always attempt to run that original class instead of the file you're currently working on.
More info:
- This only happens with the "Run" and "Debug" toolbar buttons and menu items, the keyboard shortcuts (Ctrl-F11 and such) work as expected.
- The checkbox labeled "Attempt to Run Active File Before Default" in the Launch Settings is selected (The "Default Run Target" textbox is empty).
I downloaded the JDev 11g version that came WITHOUT a JDK and I'm running Java version 1.6.0_07 on Windows XP.
Thanks in advance for any help.More info on the subject:
Oracle JDev 11g seems to be unable to detect that there is an active file at all! This is evidenced by the fact that all of the External Tools are inactive at all times.
Is it JDev's fault, or is it the installed JDK's? -
JDev 11g :: Error deploying application to Default Server
I have installed the new jDev 11g.
Running through the tutorial http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_22/ccset22_ALL.html I am trying to deploy and run the application.
However I get the following error.............Please help as we are evaluating the potential issues if we migrate from 10g to 11g.
[Running application BrowseEditApp on Server Instance DefaultServer...]
<13-Jul-2009 09:59:45 o'clock BST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application BrowseEditApp is not versioned.>
13-Jul-2009 09:59:45 oracle.mds.internal.lcm.logging.MDSLCMLogger info
INFO: Application ID : BrowseEditApp
13-Jul-2009 09:59:45 oracle.mds.internal.lcm.logging.MDSLCMLogger info
INFO: "Metadata Services: Metadata archive (MAR) not found."
13-Jul-2009 09:59:45 JpsApplicationLifecycleListener Migrate Application Credential Store
WARNING: Overwriting credentials is allowed in application credential store migration with Weblogic server running in Development Mode and system property 'jps.app.credential.overwrite.allowed' set to true
<13-Jul-2009 09:59:46 o'clock BST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\TEMP\JDev11g\system11.1.1.1.33.54.07\o.j2ee\drs\BrowseEditApp\BrowseEditApp-ViewController-webapp. Please make sure that the annotations are valid. The error is null>
13-Jul-2009 09:59:46 oracle.mds.internal.lcm.logging.MDSLCMLogger log
INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=BrowseEditApp deregistered
13-Jul-2009 09:59:46 oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
INFO: ADFApplicationLifecycleListener.postStop
13-Jul-2009 09:59:46 oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<13-Jul-2009 09:59:46 o'clock BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1247475585639' for task '2'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'BrowseEditApp-ViewController-context-root''
weblogic.application.ModuleException: Failed to load webapp: 'BrowseEditApp-ViewController-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:368)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at java.io.FilterInputStream.markSupported(FilterInputStream.java:217)
at weblogic.descriptor.DescriptorCache.computeCRC(DescriptorCache.java:91)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:353)
at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
at weblogic.servlet.internal.War$1.getTldInfo(War.java:382)
Truncated. see log file for complete stacktrace
>
<13-Jul-2009 09:59:46 o'clock BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'BrowseEditApp'.>
<13-Jul-2009 09:59:46 o'clock BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'BrowseEditApp-ViewController-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:368)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at java.io.FilterInputStream.markSupported(FilterInputStream.java:217)
at weblogic.descriptor.DescriptorCache.computeCRC(DescriptorCache.java:91)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:353)
at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
at weblogic.servlet.internal.War$1.getTldInfo(War.java:382)
Truncated. see log file for complete stacktrace
>
[09:59:46 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'BrowseEditApp-ViewController-context-root'
[09:59:46 AM] Caused by: java.lang.NullPointerException:
[09:59:46 AM] See server logs or server console for more details.
[09:59:46 AM] #### Deployment incomplete. ####
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:483)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:332)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:465)
... 12 more
#### Cannot run application BrowseEditApp due to error deploying to DefaultServer.
[Application BrowseEditApp stopped and undeployed from Server Instance DefaultServer]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
[sending request to shutdown server...]
C:\TEMP\JDev11g\system11.1.1.1.33.54.07\DefaultDomain\bin\stopWebLogic.cmd
The system cannot find the path specified.
Stopping Weblogic Server...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Done
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Cheers
Owenre-installed all the sofware which has fixed the problem
Maybe you are looking for
-
Need JSP reassurance with JDB - Please.
Hi there, I have recently taken on a JSP project for a client, during which their technical department withdrew the offer of access to their relational database (oracle). A solution was required in order to keep the project alive. I chose to work wit
-
Path Finder in a 2D Grid Map With Different Terrain Types
I have been thinking for a while on path finding game algoritms and I can up with one idea witch I want to publish. The goal of my project is when I have a 2 dimensional grid map where squares can have different movement cost, like in Civilizati
-
How to remove junk files on iPhone 5s?
First of all, I'm just wondering if it's possible for me to view the junk files on my device (iPhone 5s). If Yes, how? or do I need any software to view and be able to delete it? When I say junk files, I mean those files (takes so much space) which c
-
Is it possible to retrieve files that have been emptied from the trash such
I accidently trashed and emptied my password folder and my itunes library., Is there any wat to recover the info - thank you
-
Cant put any songs on my micro!
I got my player in april and at the start I would just use windows media player to put songs onto it. then media player stopped recognising it so I installed zen media explorer and that kept telling me to plug in my player even tho it was already plu