Deploy app on standalone OC4J running on jdk1.6.0_04

Hi all!
I am trying to deploy an application on standalone OC4J running on jdk1.6.0_04. The application runs well when started on embedded oc4j (which is running on java 1.6). I know that jdk1.6 is not supported, but the application works smoother and faster on 1.6 and I want to try and find the reason why it won't work on standalone oc4j. When I start the server (start_oc4j.bat with JAVA_HOME set to c:\Program Files\Java\jdk1.6.0_04) I get these messages:
Starting OC4J with command: "c:\Program Files\Java\jdk1.6.0_04\bin\java.exe" -XX
:MaxPermSize=256m -Xmx512m -XX:+DisableExplicitGC -XX:+UseParallelGC -Xss128k -j
ar oc4j.jar
Jan 28, 2008 4:55:26 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Jan 28, 2008 4:55:26 PM oracle.oc4j.util.SystemLog logNoStack
WARNING: Could not initialize thread locals accessor: java.lang.ThreadLocal$Thre
adLocalMap.get(java.lang.ThreadLocal)
08/01/28 16:55:31 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
ternate DocumentChangeNotifier in use!
08/01/28 16:55:32 JMS server will listen on port 9127.
08/01/28 16:55:33 oracle.j2ee.jms.oc4j.JMSServer startup complete
08/01/28 16:55:35 Don't know how to map non-serializable type: interface javax.m
anagement.j2ee.statistics.Stats to Open MBean Type.
08/01/28 16:55:36 WARNING: J2EE JNDI-00002
08/01/28 16:55:36 WARNING: No javax.jms.ConnectionFactory found at null
08/01/28 16:55:38 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
n, {0}, does not exist
08/01/28 16:55:39 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
When I try to deploy the application, I get the following error:
Operation failed with error:
oracle.oc4j.admin.deploy.spi.exceptions.DeploymentRuntimeException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
; nested exception is:
     oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:328)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
     at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
     at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
Caused by: oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
; nested exception is:
     oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
     at __Proxy2.invoke(Unknown Source)
     at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
     at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
     ... 3 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
     at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2134)
     at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1699)
     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1655)
     at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1640)
     at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader(ClassLoaderQuery.java:613)
     at com.evermind.util.ClassUtils.findClass(ClassUtils.java:298)
     at oracle.oc4j.rmi.MethodSpecification.getMethod(MethodSpecification.java:69)
     at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification(ServerRmiMethodCache.java:101)
     at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec(ServerRmiMethodCache.java:70)
     at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod(ServerRmiMethodCache.java:44)
     at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:591)
     at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:339)
     at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:302)
     at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:169)
     at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:150)
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
     at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands(RMIServerConnection.java:235)
     at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
     at java.lang.Thread.run(Thread.java:619)
     at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:112)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:136)
     ... 13 more
oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
     at __Proxy2.invoke(Unknown Source)
     at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
     at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
     at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
     at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
     at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
     Nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
     Missing class: [Ljava.io.Serializable;
     Dependent class: oracle.classloader.ClassLoaderQuery
     Loader: sun.misc.Launcher$AppClassLoader@28980466
     Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
     Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2124) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1699) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1655) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1640) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
     at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader (ClassLoaderQuery.java:613) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
     at com.evermind.util.ClassUtils.findClass (ClassUtils.java:298) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at oracle.oc4j.rmi.MethodSpecification.getMethod (MethodSpecification.java:69) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification (ServerRmiMethodCache.java:101) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec (ServerRmiMethodCache.java:70) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod (ServerRmiMethodCache.java:44) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:591) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:339) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:302) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:169) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:150) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:126) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:235) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:105) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) [jre bootstrap, by jre.bootstrap:1.6.0_04]
     at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) [jre bootstrap, by jre.bootstrap:1.6.0_04]
     at java.lang.Thread.run (Thread.java:619) [jre bootstrap, by jre.bootstrap:1.6.0_04]
#### Deployment incomplete. #### Jan 28, 2008 5:08:47 PM
Deployment Failed
Can anyone help me, am I doing something wrong?
Thanks,
Pedja

Running into the same issues; been juggling between JDK 5/6, Embedded and Standalone OC4J on various platforms; still no answer...
Here's what I do know:
OC4J on TN is for TP1 only, JDeveloper is for TP3 or later, so you must use the bundled OC4J with JDeveloper cross platform as well - including all patches like SOA and friends.
JDK 6u4 is very bad; use anything but that; u5 seems good.
A good start might be to go with the Emedded OC4J, take a look at the classpath and startup commands given by the IDE for the server in the logs and simply match with some bat file if you can - from the looks of it the Standalone OC4J is behind thus the reason it's only released for TP1.
I'm not bothering with this till they pair a release with a Standalone OC4J.

Similar Messages

  • Exception when running deployed app in standalone WLS

    When running the deployed app in a standalone WLS, I get the following exception, and nothing gets shown in the browser. Running in jdev/integratedWebLogicServer is fine though. I deployed the app in jdev to the standalone WLS.
    ]] Root cause of ServletException.
    javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.oracle.pm.eai.supporttool.ui.bean.SupportToolBean'
         at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:192)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:180)
         at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:860)
         at oracle.adfinternal.controller.application.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:112)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:251)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)Following are the WLS and Jdeveloper versions I used.
    WebLogic 10.3.3.0
    Jdeveloper 11.1.1.3.0

    some problem here
    ADFC-10001: cannot instantiate class 'com.oracle.pm.eai.supporttool.ui.bean.SupportToolBean'is this your owned bean?.. try to debug and see whts the problem..
    make sure the class is ientified.. while running.. if not clean and rebuild the project and try..

  • Unable to deploy portlet into standalone oc4j

    Hi,
    I am very new to the portal development and I have been following the portal development/deployment instructions given on oracle for developing a Struts based portlet.
    I have created the a new application server connection to the standalone oc4j 10g 10.1.3 and I have also created the deployment profile.
    But when I try to deploy my application to this standalone connection I always receive the following error. Please help me find a solution for this as I have no idea why this is happening:
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:194)
         at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
         at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
         at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
         at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/Oc4jJmsExceptionQueue'. Skipping this entry.
    java.io.IOException: The process cannot access the file because another process has locked a portion of the file
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:194)
         at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
         at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
         at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
         at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/jms.state'. Skipping this entry.

    Can anyone please help me? I have tried everything but I am unable to resolve this problem...

  • Deploying OW4J to standalone oc4j

    Hi,
    I am trying to deploy the requisition demo for standalone oc4j server. I am using oc4j provided in the jdev905 preview. At step 3: run deploy.bat, in README-OW4JPreview.html first I had to edit oc4j_home/config/datasource.xml and add the data-source tag (below) to get around the problem described in post:
    Re: OW4J Documentaion
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="OW4JDS"
    location="jdbc/OW4JCoreDS"
    xa-location="jdbc/xa/OW4JXADS"
    ejb-location="jdbc/OW4JDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="dbuser"
    password="dbpwd"
    url="jdbc:oracle:thin:@dbmachine:dbport:sid"
    inactivity-timeout="30"
    />
    But now I get the error message below. How do I get around this?
    03/12/26 14:40:05 Notification ==> Application Deployer for ow4jdemo STARTS [ 20
    03-12-26T14:40:05.154CET ]
    03/12/26 14:40:05 Notification ==> Undeploy previous deployment
    03/12/26 14:40:05 Notification ==> Copy the archive to C:\jdev905\j2ee\home\appl
    ications\ow4jdemo.ear
    03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear begins...
    03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo.ear.
    .. done.
    03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear ends...
    03/12/26 14:40:05 Notification ==> Initialize ow4jdemo.ear begins...
    03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo\ow4j
    demo.war... done.
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo.ear ends...
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo begins...
    03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
    05\j2ee\home\applications\ow4jdemo\ow4jdemo/WEB-INF/orion-web.xml to deployment
    directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\ow4jdemo...
    03/12/26 14:40:06 Notification ==> Initialize ow4jdemo ends...
    03/12/26 14:40:06 ArchiveContext: containsDirectory(META-INF) plus '/' found in
    C:\jdev905\j2ee\home\applications\ow4jdemo\demoejb.jar in entry META-INF/MANIFES
    T.MF
    03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
    05\j2ee\home\applications\ow4jdemo\demoejb.jar/META-INF/orion-ejb-jar.xml to dep
    loyment directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\demoejb.
    jar...
    03/12/26 14:40:06 Auto-deploying - demoejb.jar (No previous deployment found)...
    03/12/26 14:40:15 Auto-deploying - compiling and loading...
    Error deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar hom
    es: No javax.jms.Destination found at the specified destination-location (jms/No
    tificationQueue) for MessageDrivenBean NotificationMDB
    Error in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/ho
    me/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home
    /applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the
    specified destination-location (jms/NotificationQueue) for MessageDrivenBean Not
    ificationMDB
    03/12/26 14:40:21 done.
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exc
    eption Error in application ow4jdemo: Error loading package at file:/C:/jdev905/
    j2ee/home/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2
    ee/home/applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found
    at the specified destination-location (jms/NotificationQueue) for MessageDrivenB
    ean NotificationMDB
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:411)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:127)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:484)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error
    in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/home/ap
    plications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home/appl
    ications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the speci
    fied destination-location (jms/NotificationQueue) for MessageDrivenBean Notifica
    tionMDB
    at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBC
    ontainer.java:2424)
    at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:
    2408)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2191)
    at com.evermind.server.Application.postInit(Application.java:553)
    at com.evermind.server.Application.setConfig(Application.java:170)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1924)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:407)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:127)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.deploy(DefaultApplicationServerAdministrator.java:278)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:484)
    03/12/26 14:40:21 Notification ==> Application Deployer for ow4jdemo FAILED: Err
    or initializing ejb-module; Exception Error in application ow4jdemo: Error loadi
    ng package at file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar, Erro
    r deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar homes:
    No javax.jms.Destination found at the specified destination-location (jms/Notifi
    cationQueue) for MessageDrivenBean NotificationMDB [ 2003-12-26T14:40:21.748CET
    03/12/26 14:40:21 Notification ==> Application UnDeployer for ow4jdemo STARTS [
    Fri Dec 26 14:40:21 CET 2003 ]
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.util.LocalStrings', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
    pache.struts.action.ActionResources', returnNull=true
    03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
    ApplicationResources', returnNull=true
    03/12/26 14:40:25 Notification ==> Application UnDeployer for ow4jdemo COMPLETES
    [ Fri Dec 26 14:40:25 CET 2003 ]

    Hi Jasmina,
    Looks like the JMS topics have not been set up. Please follow the instructions as mentioned in "3. Set up In-memory JMS Topics" of the README.
    Cheers,
    Raja

  • Deployment to standalone OC4J

    Please Help!
    This app works well in Embedded OC4J but anytime I deploy it to standalone OC4J, I get the below error:
    Thanks
    ---- Deployment started. ---- Mar 5, 2005 1:31:09 PM
    Target platform is Standalone OC4J (AppServerConnection1).
    Wrote EJB JAR file to D:\Ora\jdev\mywork\App3\Model\deploy\ejb1.jar
    Wrote WAR file to D:\Ora\jdev\mywork\App3\ViewController\deploy\webapp1.war
    Wrote EAR file to D:\Ora\jdev\mywork\App3\ViewController\deploy\alashoofi.ear
    Invoking OC4J admin tool...
    D:\Ora\jdk\jre\bin\javaw.exe -jar D:\Ora\oc4j\j2ee\home\admin.jar ormi://Princeton/ admin **** -deploy -file D:\Ora\jdev\mywork\App3\ViewController\deploy\alashoofi.ear -deploymentName alashoofi
    Error: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1527)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1480)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)
         at com.evermind.server.Application.postInit(Application.java:553)
         at com.evermind.server.Application.setConfig(Application.java:170)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)
         at com.evermind.server.Application.postInit(Application.java:553)
         at com.evermind.server.Application.setConfig(Application.java:170)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 34 seconds
    #### Deployment incomplete. #### Mar 5, 2005 1:31:43 PM

    you should deploy it in deploy file.
    example:
    1,start_oc4j in cmd.exe or .sh
    2,use run =====>deploy to===>new deploy
    3,input you information.
    4,right click the deploy file and click the deploy to .....

  • Cannot connect RMI-IIOP client to standalone OC4J (10.1.3)

    [PROBLEM]
    I am trying to access an EJB session bean from a simple remote java client.
    The EJB is deployed to a standalone OC4J server.
    Using the RMI-over-IIOP protocol for client-server communication.
    The client and server run in separate JVMs (but on the same machine).
    This is a simple java client program, not a J2EE application client.
    The InitialContext creation fails with the errors shown below.
    I searched around on the web, and found other people with the same issue, but no solution:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4995985
    Maybe I'm missing something in my configuration, deployment, client invocation?
    Any help will be greatly appreciated!
    [SETUP]
    I generated the iiop stubs during deployment (-DGenerateIIOP=true) to the server. Added the generated IIOPClient jar file to my client classpath.
    Also specified -enableIIOP and remote=true for the EJB deployment.
    As per the 10.1.3 documentation, I also specified the following command line arguments:
    -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
    -Dcom.oracle.CORBA.OrbManager=com.oracle.corba.ee.impl.orb.ORBManagerImpl
    -Dorg.omg.CORBA.ORBInitialHost=testpc1
    -Dorg.omg.CORBA.ORBInitialPort=5555
    Verified in Oracle Enterprise Manager 10g (Application Server Control) that the application was deployed successfully, and a Stateful Session Bean is visible in the EJB pane.
    Also verified that the iiop port (5555) is functioning (netstat).
    internal-settings.xml file:
    <server-extension-provider name="IIOP" class="com.oracle.iiop.server.IIOPServerExtensionProvider">
         <sep-property name="port" value="5555"/>
         <sep-property name="host" value="localhost"/>
         <sep-property name="ssl" value="false"/>
         <sep-property name="ssl-port" value="5556"/>
         <sep-property name="ssl-client-server-auth-port" value="5557"/>
         <sep-property name="trusted-clients" value="*"/>
    </server-extension-provider>
    server.xml file contains this entry:
    <sep-config path="./internal-settings.xml"/>
    [Versions]
    Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277)
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
    [ERROR]
    com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl <init>
    WARNING: ORBUTIL.invalidEndPointInfoType
    org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 281 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.invalidEndPointInfoType(ORBUtilSystemException.java:5084)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.invalidEndPointInfoType(ORBUtilSystemException.java:5106)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.<init>(SocketFactoryContactInfoImpl.java:62)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoListIteratorImpl.next(SocketFactoryContactInfoListIteratorImpl.java:59)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:114)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
    at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
    at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
    at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
    at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at ejbremoteclient.Main.getContext(Main.java:80)
    at ejbremoteclient.Main.main(Main.java:87)
    javax.naming.NamingException
    at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:86)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at ejbremoteclient.Main.getContext(Main.java:80)
    at ejbremoteclient.Main.main(Main.java:87)
    ClientIIOPSSLSocketFactory.getEndpointInfo: iopprofile is not an instance of IIOPProfileTemplate
    [CLIENT CODE]
    // get context
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "corbaname::testpc1:5555#DME3");
    env.put("java.naming.factory.initial", "oracle.j2ee.iiop.IIOPInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext(env); <---FAILS HERE

    Hello Deepak
    I've been doing some other stuff and then back to RMI/IIOP tests wih my app...
    Finally I passed the previous errors, it all ended up being misconfigurations on the server and client side.
    Now I'm striving with this one ...
    java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
         org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
         at oracle.oc4j.corba.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:354)
         at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
         at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:505)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:429)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:191)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
         at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
         at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:204)
         at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
         at com.x.tools.login.ejb._LoginHome_Stub.create(Unknown Source)
         at com.x.tools.login.clientside.model.Facade.<init>(Facade.java:168)
         at com.x.tools.login.clientside.model.Facade.getInstance(Facade.java:122)
         at com.x.tools.login.clientside.LoginApp.doLogin(LoginApp.java:169)
         at com.x.tools.login.clientside.Login.getInstance(Login.java:83)
         at com.x.caracas.AdminApp.clientside.MainAdminApp.<init>(MainAdminApp.java:30)
         at com.x.caracas.AdminApp.clientside.MainAdminApp.main(MainAdminApp.java:81)
         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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
         at oracle.oc4j.corba.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:354)
         at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
         at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:505)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:429)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:191)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
         at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
         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 com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:791)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:97)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:546)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         ... 18 more
    Hope it's easy to solve ... I'm not using JAAS .. my jndi.properties looks like this:
         java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=welcome javax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
    com.oracle.CORBA.OrbManager=com.oracle.corba.ee.impl.orb.ORBManagerImpl
    java.naming.factory.initial=oracle.j2ee.iiop.IIOPInitialContextFactory
    java.naming.provider.url=corbaname::serverhost:13321#/MyApp

  • Discussion Forum Portlet not working on standalone OC4J

    Hi,
    I'm testing the Discussion Forum Portlet.
    I imported the portlet to jedeveloper in order to make changes to it.
    I deployed it to a standalone OC4J (without doing any changes yet) and succesfully registered a provider, but when I put the portlet to a Portal-Page I get the following error:
    "Unable to perform the operation: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file config\common\bc4j.xcfg in the classpath"
    Deploying to the OC4J_Portal Instance on the Application Server and
    registering the provider with this URL is working.
    I'm using Portal 10.1.2.0.2.
    I tested with OC4J standalone versions 9.0.4.0.0 and 10.1.2.0.2.
    What could cause the fact that the Portlet isn't working when it is deployed to an standalone OC4J?
    Regards,
    Mario

    I'd recommend asking the Portal/Portlet people -- I think exposure to this sample will be required to give you any assistance.
    One thing to be aware of though is that the libraries for BC4J (which this sample seems to use based on that error) aren't installed by default with OC4J standalone. Whereas for OracleAS 10.1.2 they are. So that might be something to chase down.
    cheers
    -steve-

  • Error deploying to standalone OC4J app server

    Hey all,
    I created a web app with jdeveloper 10.1.3.3 using OC4J 10.1.3.3 as well. I'm using EJB and session beans to communicate with a database. nothing particularly fancy about it, i just read tables from the db. however, when i try and deploy through jdev to the standalone OC4J i get an error. here's the last part of the deployment log when it fails:
    Deployment Log:
    Binding ibmswauth web-module for application ibmswauth to site default-web-site under context root ibmswauth
    Operation failed with error:
    [ibmswauth:ibmswauth] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit WD_WORK.
    The only thing in my Persistence.xml file is the <persistence-unit> tag with name "WD_WORK", and in that a <jta-data-source> tag.
    Also, it runs fine on the local embedded server, it's only when i try and deploy that it gives this error. I even deployed my app to an EAR file and tried uploading it manually to the app server, still same error.
    any ideas?

    If you have a model project that has objects referenced by the view controller/UI project then you need to explicitly include them in the deployment. Unlike in embedded OC4J they wont be automatically included.
    Create an ADF library deployment profile in the model project and include the generated library in your UI project war file. You can add this jar to the project Libraries/Classpath then make sure it is included in the WEB-INF/lib Contributors list.

  • Problems running deployed JHeadstart Application on Standalone OC4J

    Hi everybody,
    I'm trying to testing my app made on JHeadStart in a Standalone OC4J AS (10.1.2). I could deploy the application, but now I'm receiving the error when I try to access it: (http://server:port/app/Startapp.do)
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/ord/im/OrdHttpUploadFile     at oracle.jheadstart.controller.strutsadf.action.JhsStrutsPageLifecycleFactory.getJSPLifeCycle(JhsStrutsPageLifecycleFactory.java:83)     at oracle.jheadstart.controller.strutsadf.action.JSPLifecycleFactory.getPageLifecycle(JSPLifecycleFactory.java:40)     at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)     at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)     at javax.servlet.GenericServlet.init(GenericServlet.java:258)     at oracle.jheadstart.controller.strutsadf.JhsActionServlet.init(JhsActionServlet.java:195)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2141)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4582)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2608)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Unknown Source)
    Is something missing in my Standalone OC4J installation regarding JHeadstart that I missed?
    Thanks,

    Hi!
    I have a same problem.
    I use Standalone OC4J AS (9.0.4), Jdev 10.1.2.0.0, j2sdk1.4.2._07, Oracle db 10.1.0
    After install and startup oc4j i run jdev ADF runinstaller (was succesefull)
    After deploy my and run my-app in browser i see my fist page and when i try to login in db i see that
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/ord/im/OrdHttpUploadFile
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getJSPLifeCycle(DefaultStrutsPageLifecycleFactory.java:34)
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getPageLifecycle(DefaultStrutsPageLifecycleFactory.java:27)
         at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
         at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    In embeded of jdev my app is worked.
    I have red above topic but i understand how do it
    Help me anybody
    Message was edited by:
    user471907
    Message was edited by:
    user471907

  • JspParse Error when trying to run jsp/jspx page deployed on standalone OC4J

    I have ADF Faces Application, which is developed with JDev 11 TP3.
    I have deployed the application to Standalone OC4J Server, packed within JDeveloper 11 TP3.
    The problem comes, when i try to acess my login jsp or other JSPX page,then i receive the following error on the standalone OC4J Server console:
    for the JSP:
    JSP Servlet Error: Internal Error, registered Directive handlers MUST descend from JspDirective
    oracle.jsp.parse.JspParseException: /login.jsp : Line 4,
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    The content of my JSP page (login.jsp) is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1251"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    for JSPX:
    Directive handlers must descend from JSP Directive..
    But i have:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1251"/>
    That works fine with JDev embedded OC4J.
    Thank you in advance,
    Krasimir
    Message was edited by:
    K.Penev

    Same trouble. Anyone have solution?
    JDeveloper 11 TP4
    OC4J 11 TP4 from this http://www.oracle.com/technology/tech/java/oc4j/index.html
    Do this instruction http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    Nothing to change.
    Message was edited by:
    user644372

  • How to deploy an application in OC4J standalone?

    I'm trying to deploy Jspell 2004 in a standalone OC4J 10g. All my attempts have failed thus far, as I admit, I don't really know what I am doing.
    I've found several articles, including those from Jspell, and they all start with 'deploy the war file' but how?
    I don't know where I should deploy the WAR file or exaclty which config files I need to modify. I've tried under OH/j2ee/home/applications, OH/j2ee/DevSuite/application-deployments and always get the 'Error instantiating web-application' no application found on server.'
    I'm using the OC4J strictly for forms/reports running on port 8889 and that all works fine. When I start the OC4J, it is referencing the server.xml file in the DevSuite/config folder.
    Any ideas?

    Please look at the OC4J FAQ
    http://www.oracle.com/technology/tech/java/oc4j/904/collateral/oc4j-faq-904.html#oc4j_deploy
    Yes. If you wish to deploy only a Web module then you can utilize the default application OC4J is configured with. This is a two step task:
    First, tell the container about the WAR file to be deployed. Open the <J2EE_HOME>/config/application.xml file in an editor. Add a new <web-module> tag and specify the attributes for your WAR file.
    <web-module id="HRWebModule" path="<PATH-TO-WAR-FILE>"/>
    Secondly, tell the OC4J HTTP server about the new WAR file and provide a URL to access it. Open the <J2EE_HOME>/config/http-web-site.xml file in an editor. Add a new <web-app> tag and specify the attributes for your new Web module. It's important to note that the application attribute must specified as "default" since you have deployed your Web module to the default application. The name attribute should match the ID attribute you specified for the Web module.
    <web-app application="default" name="HRWebModule" root="/hrweb" />
    The WAR file will now be deployed by OC4J and accessible using a URL of /hrweb.
    -Debu
    http://debupanda.com

  • Error while running Create page in standalone-oc4j

    I have an ADF Create page (CreateAppt.jsp) that works fine through jdeveloper 10.1.3, but does not work when i deploy and run it on a standalone-oc4j. Appreciate your ideas on what may cause this or debugging tips..
    My ADF application flows through two pages:
    a List page (ListAppts.jsp has a Create button) -> a Create Page (CreateAppt.jsp)
    When I click on the Create button on the List page, I arrive at the Create Page.
    When I run through jdeveloper, I see that all input fields in the Create page are empty, which is what I expect. However, when I open the same page on standalone-oc4j, all the input fields are populated with the first row in the List Page, and there is an error:
    JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:oc4jadmin
    For input string: "o"
    I designed the Create page using the generic Data Control Palette, by dragging the VO and dropping it with this option: Create->Forms->ADF Creation Form
    When running through standalone-oc4j, why is the Create page populated? and how is the standalone-oc4j login string, "oc4jadmin", used in the create?
    Thanks,
    Ou-Dan

    Hi,
    this sounds strange and cannot be diagnosed from remote. If it works in JDeveloper with the embedded OC4J then is works the same in stand alone OC4J. Having "oc4jadmin" showing seems that you look up a value from the request and assign it to the application. Note that you don't need to be logged in to OC4J to see ADF faces apps running.
    The problem seems to be in your application. Can you reproduce this with a simple testcase?
    Frank

  • Problem in deploying to standalone oc4j 11TP4

    I developed standard web app in Jdeveloper 11g which contains web module and one ejb jar. App runs successfully on embedded oc4j in Jdev. Then I made EAR which packed this project and deployed it to standalone oc4j11 TP4. Deployment passed successfully, but when I tried to open my page I get following error:
    JspServlet error: Servlet unable to dispatch to the following requsted page: The following exception occurred:java.io.FileNotFoundException: C:\JAVA\jdevstudio1111\j2ee\home\default-web-app\App1-web\faces\login.jspx (The system cannot find the path specified)
    Now, I know this is a typical error when the location is wrong or we request non existing page. But this confused me a bit:
    \default-web-app\App1-web\
    I checked on file system and, of course, my app is not in default-web-app directory, but in applications diretctory. As I said, deployment went OK. Why is OC4J looking my app in default-web-app?
    Application was deployed using command line:
    java -jar C:\JAVA\jdevstudio1111\j2ee\home\admin_client.jar deployer:oc4j:makor:23791 fmwadmin adminadmin -deploy -file c:\TEMP\App1.ear -deploymentName App1
    I have noticed one more thing. After deployment I get following error oc oc4j console:
    SEVERE: XMLApplicationServerConfig.store application configuration parsing is failed. please correct the problem and restart oc4j.
    The same thing happens when I deploy another test web application which contains only web module.
    So, what is this supposed to mean? I haven't done anything with config files, I just used out of the box config from Jdev. Where should I look?

    Can you try and see if the following parameters for the command line help:
    -deploy -file c:\TEMP\App1.ear -deploymentName App1 -bindAllWebApps default-web-site

  • JDeveloper won't deploy to standalone OC4J

    Hello:
    I have installed OC4J 10.1.3 and I want to get JDeveloper 10.1.3.3 to deploy to it. I completed to Application Server wizard using localhost and port 8888 as my settings. When I try to deploy a web app, the deployment pauses indefinitely with just the messages:
    ---- Deployment started. ---- Feb 18, 2008 11:20:54 AM
    Target platform is Standalone OC4J 10g 10.1.3 (OC4J101300).
    Wrote WAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.war
    Wrote EAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.ear
    I when I test the connection in the App Server properties it runs forever, too. I tried reading the online documentation to no avail. Is it the localhost and/or port 8888 causing the trouble? How can I find out the correct settings?
    Thanks.
    Eric

    hi Eric
    Did you use port 8888 in the connection your Application Server connection you defined?
    Typically that would be the HTTP port for the standalone OC4J, while you need the RMI port.
    I don't think it is possible to find the RMI port using the Oracle EM 10g Application Server Control for a standalone OC4J 10.1.3 (that is using "http://localhost:8888/em").
    You can find the RMI port in the file "<your-oc4j-1013-dir>\j2ee\home\config\rmi.xml" as the "port" attribute for the "rmi-server" element.
    Mine has the value "23791".
    success
    Jan Vervecken

  • Standalone OC4J deployment problem

    Hi all,
    I am experience an issue while trying to start OC4J.
    I installed the Java EE 5.0 SDK on my machine and trying to run the oc4j, it is giving me the following error message
    E:\OC4J\j2ee\home>java -jar oc4j.jar
    Sep 15, 2009 1:10:23 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    09/09/15 13:10:30 WARNING: EJBContainer.postInit Error generating wrappers for f
    ile:/E:/OC4J/j2ee/home/applications/admin_ejb.jarjava.lang.InstantiationExceptio
    n: javac.exe not found under C:\Program Files\Java\jre1.5.0_04, please use a val
    id jdk or specify the location of your java compiler in server.xml using the <ja
    va-compiler .../> tag
    at com.evermind.compiler.ExternalJavac.getJdkExecutable(ExternalJavac.ja
    va:359)
    at com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java
    :392)
    at com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.ja
    va:248)
    at com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:7
    36)
    at com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.j
    ava:2589)
    at com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.ja
    va:155)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:889)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(App
    licationStateRunning.java:235)
    at com.evermind.server.Application.setConfig(Application.java:460)
    at com.evermind.server.Application.setConfig(Application.java:361)
    at com.evermind.server.ApplicationServer.initializeSystemApplication(App
    licationServer.java:1612)
    at com.evermind.server.ApplicationServer.initializeAutoDeployedApplicati
    ons(ApplicationServer.java:1599)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
    a:1034)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
    uncher.java:131)
    at java.lang.Thread.run(Unknown Source)
    2009-09-15 13:10:30.296 ERROR J2EE EJB-03027 [system] An error occured deploying
    EJB module: java.lang.InstantiationException: Error generating wrappers for fil
    e:/E:/OC4J/j2ee/home/applications/admin_ejb.jar: javac.exe not found under C:\Pr
    ogram Files\Java\jre1.5.0_04, please use a valid jdk or specify the location of
    your java compiler in server.xml using the <java-compiler .../> tag
    09/09/15 13:10:30 WARNING: Application.setConfig Application: system is in faile
    d state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: Error generati
    ng wrappers for file:/E:/OC4J/j2ee/home/applications/admin_ejb.jar: javac.exe no
    t found under C:\Program Files\Java\jre1.5.0_04, please use a valid jdk or speci
    fy the location of your java compiler in server.xml using the <java-compiler ...
    /> tag
    09/09/15 13:10:30 Error initializing server: Application: system is in failed st
    ate as initialization failed
    09/09/15 13:10:31 Fatal error: server exiting
    I found a thread with the same issue but, I could not figure out the issue.
    Here the environmental variable that are exisiting in the system properties:
    Under User Variables for Administrator:
    PATH: C:\Sun\SDK\jdk\bin (SUN is the folder where I installed Java EE 5.0 SDK)
    Under System Variables:
    ODI_JAVA_HOME: E:\OraHome_1\jre\1.4.2
    ORACLE_HOME: E:\OC4J ( This is where I extracted the oc4j_extended_101350.zip folder)
    JAVA_HOME: C:\Sun\SDK\jdk\bin (Again, this is where I have installed the Java EE 5 SDK )
    This is the first time I am installing a Java software and finding it difficult in figuring this out. Please help me out

    hi user11180938
    This is what I have in a start-oc4j-101340.bat file to start a standalone OC4J:
    title OC4J 10.1.3.4.0
    set ORACLE_HOME=D:\oracle\oc4j_101340
    set JAVA_HOME=D:\oracle\jdevstudio10134\jdk
    set OC4J_JVM_ARGS=-XX:PermSize=256m -XX:MaxPermSize=512m
    %ORACLE_HOME%\bin\oc4j.cmd -startIt uses "oc4j.cmd -start" and sets some environment variable to what I need them to be.
    Maybe this can help.
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    success
    Jan Vervecken

Maybe you are looking for