Standalone OC4J fails

I have deployed my app to the standalone OC4J instance installed in Jdeveloper 9.0.3. I have done java -jar oc4j.jar -install and set my password. The deployment went without fail.
I can enter http://<name>:8888 and I get the OC4J instance welcome page.
When I enter http://<name>:8888/<app_dir>/<app_name).jsp
I get a "Page cannot be displayed" and this is my application.log:
5/13/03 12:42 PM Started
5/13/03 12:42 PM Started
5/13/03 12:42 PM cydcorweb: jsp: init
5/13/03 12:42 PM cydcorweb: 9.0.3.0.0 Started
5/13/03 12:43 PM cydcorweb: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 2, <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
Error: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI
What does this mean?
BTW, I have done this exact deployment procedure on my laptop and the app runs there.
TIA,
Ed.

Never mind. I de-installed 9.0.3.1 and re-installed it and now the app runs fine. I must have messed up something in my preivous config.

Similar Messages

  • Urgent :deployment to Standalone OC4J failed

    Hi,
    I am posting this problem for second time.
    It is of utmost importance for me to solve the problem b'coz the whole progress of my project/application depends on successfully working of the application on Standalone OC4J.So can anybody plz help me.
    1)I have developed an application using Struts framework(For the View and controller part ) and EJBs. When I run this application using the Embedded OC4J provided with JDeveloper,it runs fine.But when I try to deploy the same to the StandAlone OC4J(which I downloaded from OTN) or to the Application Server,I get the following error
    --503 Service Unavailable,Servlet error: Parsing error processing resource path ---
    2)The StandAlone OC4J version is 9.0.4.0.0 and I used JDK 1.4.
    3)The same application runs fine when deployed to StandAlone OC4J when I developed it using only JSPs and EJB.
    4)I even added the different libs for Struts inside WEB-XML folder under my Application Folder Structure.
    5)The StandAlone OC4J Server runs fine and displays the First Page when it is started.
    6)I even installed a totally new StandAlone OC4J and deployed all my previous applications to this new server.All the applications except where I used Struts Framework ran fine.
    The Error Message is
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication.ear... done.
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear ends...
    04/11/01 10:36:44 Notification ==> Initialize EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication\EJBDEMOwar.war... done.
    04/11/01 10:36:45 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication/META-INF/orion-application.xml
    to deployment directory C:\OC4J\New Folder\j2ee\home\application-deployments\EJB
    application...
    04/11/01 10:36:45 Notification ==> Initialize EJBapplication.ear ends...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar begins...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar ends...
    04/11/01 10:36:46 ArchiveContext: containsDirectory(META-INF) plus '/' found in
    C:\OC4J\New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar in entry
    META-INF/MANIFEST.MF
    04/11/01 10:36:46 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar/META-INF/orion-e
    jb-jar.xml to deployment directory C:\OC4J\New Folder\j2ee\home\application-depl
    oyments\EJBapplication\EJBDEMOear.jar...
    04/11/01 10:36:46 Auto-deploying - EJBDEMOear.jar (No previous deployment found)
    04/11/01 10:36:49 Auto-deploying - compiling and loading...
    04/11/01 10:37:00 done.
    04/11/01 10:37:00 Notification ==> Application Deployer for EJBapplication COMPL
    ETES [ 2004-11-01T10:37:00.405IST ]
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:37:04 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    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:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 40 more
    Nov 1, 2004 10:37:04 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    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:192)
    at java.lang.Thread.run(Thread.java:534)
    Nov 1, 2004 10:38:25 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:38:25 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 29 more
    Nov 1, 2004 10:38:25 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    Add to WEB-INF/lib
    struts.jar
    tiles.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar

  • Unable to deploy a simple WAR / EAR file on Standalone OC4J instance

    All,
    This issue is baffling me since yesterday and while I continue to look for options , would appreciate if anyone of you has run into something similar and give me some hints on how to proceed on this ..
    I downloaded the Standalone OC4J ( 10.1.3 ) from otn.oracle.com and also downloaded JDK 1.5 Update 12 from the Sun Website and installed it on my local
    Windows XP machine. Everything works well and the application gets deployed.
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already
    has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    However when trying to deploy even a simple HelloWorld.jsp file packaged as an EAR or WAR , we get these errors..
    [Aug 8, 2008 9:40:27 AM] Application Deployer for CISS STARTS.
    [Aug 8, 2008 9:40:27 AM] Copy the archive to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    [Aug 8, 2008 9:40:28 AM] Initialize /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear begins...
    [Aug 8, 2008 9:40:28 AM] Unpacking CISS.ear
    [Aug 8, 2008 9:40:28 AM] Error while unpacking CISS.ear java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:203) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:97) at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309) at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488) at com.evermind.server.deployment.EnterpriseArchive.(EnterpriseArchive.java:234) at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:412) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:187) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
    [Aug 8, 2008 9:40:28 AM] Operation failed with error: Unable to find/read file META-INF/application.xml in /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS (META-INF/application.xml)
    Using the above error messages , I certainly do not find the CISS.ear file getting copied to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    which explains the rest of the messages.
    I have tried placing the EAR file both remote and local on the Application Server box but the results remain the same. Assuming it might be a permissions issue , we have opened up all the permissions on this OC4J home ( recursively )
    to everyone ..
    Is there a specific version of tar / unzip / jar required to deploy EARs / WARs on Solaris 5.9 running JDK 1.5 Update 12.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    Also looked at Bug:6330834 but am not very sure if this applies to our case because all these drives are local to the Sun box.
    Other than attempting a reinstall and opening an Service Request with Oracle , I am running out of ideas at this time ..
    So any ideas / hints would be gladly accepted :)
    Vishwa

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • What's Wrong about deploy ADF BC to Standalone OC4J(10.1.3) as SessionEJB

    I feel very very angry !
    pls save me
    i have ever test an empty AppModule without any vo ,it works well. Then i added one VO into it ,it still work well. when i add another vo into it ,it does not work.
    all my appmodule deployed onto standalone oc4j occur the following errror.
    My Jdev is the newest version with service update 3.
    oc4j is 10.1.3
    external jdk is 1.5.0_06
    JBO-30003: The application pool (.10B6BBC3C78) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         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.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 1: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         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.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 2: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         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.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 3: DETAIL 0 -----
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         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.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ----- LEVEL 4: DETAIL 0 -----
    oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
         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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
         at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
         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.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)

    i found it will be failure when AM contains a VO with ViewLink , whereas it will be all right when AM contains VO without ViewLink.
    the err information is ,
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10B6EC36198) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.ApplicationModuleCreateException) JBO-25222: Unable to create application module.
    ----- LEVEL 4: DETAIL 0 -----
    (oracle.jbo.CustomClassNotFoundException) JBO-26023: Custom class com.kunteng.fabric.model.base.dataobjects.BaseTabCustomerFabricImpl is not assignable to oracle.jbo.server.EntityImpl

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Toplink app works without oc4j,fails with security excp. in oc4j[SOLVED]

    OS: Windows XP
    jdk version: 1.5.0.04 (installed normally with windows installer, no tampering)
    JDeveloper version: 10.1.3.2.0 (base installation)
    I'm new to JDeveloper and I'm working on SRDemo application from online ADF tutorial under JDeveloper. After 6th chapter I tried to run the app with embedded oc4j. After a login to app i got a toplink exception caused by a security exception. I've tried toplink part of the application with a standalone client it works without this strange problem. Also other toplink tutorials that i have work without oc4j.
    The exception is this:
    Note: some messages were in Turkish, so I (partly) translated them, they may not match original english messages
    [TopLink Info]: 2007.07.06 10:52:31.312--ServerSession(29560314)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--TopLink, sürüm: Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)
    [TopLink Config]: 2007.07.06 10:52:31.328--ServerSession(29560314)--Connection(27524709)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--connected(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> "SRDEMO"
         data source url=> "jdbc:oracle:thin:@localhost:1521:XE"
    [TopLink Severe]: 2007.07.06 10:52:31.343--ServerSession(29560314)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Local Exception Stack:
    Exception[TOPLINK-7107] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
    Exception message: Error in decrypting .....
    Caused by: java.security.NoSuchAlgorithmException: Algorithm DES not available      at oracle.toplink.exceptions.ValidationException.errorDecryptingPassword(ValidationException.java:587)
         at oracle.toplink.internal.security.JCEEncryptor.decryptPassword(JCEEncryptor.java:94)
         at oracle.toplink.sessions.DatasourceLogin.prepareProperties(DatasourceLogin.java:296)
         at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
         at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
    ...(the stack goes on followed by below causes)
    Caused by: java.security.NoSuchAlgorithmException: Algorithm DES not available
         at javax.crypto.SunJCE_b.a(DashoA12275)
         at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
         at oracle.toplink.internal.security.JCEEncryptor$Synergizer.getMultitasker(JCEEncryptor.java:104)
         at oracle.toplink.internal.security.JCEEncryptor.decryptPassword(JCEEncryptor.java:74)
         ... 117 more
    Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: DES, provider: SunJCE, class: com.sun.crypto.provider.DESKeyFactory)
         at java.security.Provider$Service.newInstance(Provider.java:1155)
         at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
         ... 121 more
    Caused by: java.lang.SecurityException: class "com.sun.crypto.provider.DESKeyFactory"'s signer information does not match signer information of other classes in the same package
         at java.lang.ClassLoader.checkCerts(ClassLoader.java:775)
         at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2241)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.security.Provider$Service.getImplClass(Provider.java:1172)
         at java.security.Provider$Service.newInstance(Provider.java:1129)
         ... 122 more
    This happens when i run toplink project inside oc4j, with a normal java client outside oc4j it works.
    The strange thing is the root cause of the problem (the exception complaining about signer) . If the root cause of this problem was really correct system wide, neither security code samples nor the standalone client that i tried would have worked.
    Only similiar issue I've found on the net is a problem that occured under eclipse due to a bug in previous versions of jce, but it seems this is no longer an issue.
    No one other than me seems to have this problem, so this implies a problem with my system, but the root exception about signer information (which is not correct) says there is something wrong with toplink/oc4j runtime or there is some subtle bug.
    I am trying to download another jdk1.5 version to see if this is a subtle bug of java-1.5.0.04 and oc4j, but either sun servers or my isp has a problem because the download is in the order of bytes and fails all the time.
    I think there can be a problem with the java2.policy file under oc4j config dir, but i don't know if it is really used and necessary or not.
    I don't know much about oc4j config so i need some help to proceed. thanks in advance
    Message was edited by:
    identityunknown

    Sorry, I tried something that I should have tried before posting, that gives another information about my problem.
    when i use standalone oc4j using start_oc4j.bat under jdev/bin, I also get the same security exception stack (nothing deployed to server) during server initialization. the default java command in start_oc4j.bat is this:
    OC4J_OPTS=
    VM_OPTS=-XX:MaxPermSize=256m
    JAVA_COMMAND="%JAVA_HOME%\bin\java.exe" %VM_OPTS% -jar oc4j.jar %OC4J_OPTS%
    if I change the command to this:
    OC4J_OPTS=
    VM_OPTS=-XX:MaxPermSize=256m -Xbootclasspath/p:"%JAVA_HOME%\jre\lib\ext\sunjce_provider.jar"
    JAVA_COMMAND="%JAVA_HOME%\bin\java.exe" %VM_OPTS% -jar oc4j.jar %OC4J_OPTS%
    and put sunjce_provider.jar on boot classpath I don't get that exception and oc4j initializes normally. My new questions are:
    1. what is the reason for this behavior
    2. how can I specify boot classpath option for embedded oc4j and/or JDeveloper

  • Unable to shut Standalone OC4J 10.1.3.1.0

    Hi,
    I want to shut down the standalone OC4J 10.1.3.1.0
    I issued following command (We are using the port 23792) to stop this
    => java -jar admin.jar ormi://localhost:23792 oc4jadmin password -shutdown force
    But it does not responds.
    Also now I am not able to start the server. When I try to do this Following error is thrown
    2007-02-07 17:06:06.175 ERROR ServerFile[PersistentMap,/app3/OC4J_10130/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    07/02/07 17:06:06 *** (SEVERE) ServerFile[PersistentMap,/app3/OC4J_10130/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    2007-02-07 17:06:06.191 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
    07/02/07 17:06:06 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
    2007-02-07 17:06:06.195 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
    2007-02-07 17:06:06.333 ERROR J2EE RMI-00002 Error starting ORMI server <servername> port 23,792: Address already in use
    2007-02-07 17:06:06.339 ERROR java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
    at java.net.ServerSocket.bind(ServerSocket.java:318)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2372)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:960)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:534)
    Is there some way in which I can stop the OC4J so that I can start it again.
    Thanks
    Sanjay

    kill the thread

  • 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.

  • Standalone OC4J 9.0.4 - Loading sapsoext.dll - Unsatisfied Link Error

    Hi,
    I was trying web based ssosample.jsp in a Standalone OC4J 9.0.4.
    The problem i am facing is java.lang.UnsatisfiedLinkError:getVersion()
    The call to load sapsoext.dll via System.loadLibrary() is successful. However when I attempt to call any method on it, it fails with UnsatisfiedLinkError.
    So why is it that the call to loadLibrary is successful but the call to actual function is failing?
    This works fine when i run the satndalone ssosample from the command line. but the problem occuring when i deploy and runĀ  jsp sample using OC4J.
    Is this a path problem, if so how do I configure it in OC4J standalone.
    I have tried setting Variables like PATH, java.library.path, LD_LIBRARY_PATH none of them seem to have any effect on this.
    I tried debugging using a windows file monitor. The library DLL1 is being read from the correct path and is being opened successfully.
    Platform Windows 2000, JDK 1.4.2
    Any suggestions will be greatly appreciated.
    Karunya.

    Finally We could able to find what was the issue.
    >>call to loadLibrary is successful but the call to
    >> actual function is failing
    This is because assigning a package structure to the SSO2Ticket and trying to call its native methods.
    So, the JNI calls resulting with UnsatisfiedLinkError as the JNI export functions bound to this class
    would be of the name JAVA_SSO2Ticket_<FUNCTION> instead of JAVA_<PACKAGE>_SSO2Ticket_<FUNCTION>
    In Actual SSO2Filter sample the class SSO2Ticket present in the default package (a class which is not associated with any package).
    The approach i have followed to load this SSO2Ticket class which doesn't have package structure is
    Loading the class using class.forname() and then used reflection api to invoke methods on it.
    i) What are the other approaches ? How other people are using SSO2Ticket.java when calling from a another Java file?
    ii) In the Latest versions of sample, Is SSO2Ticket available with package structure?
    Any body have an idea?

  • 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.

  • Error deploying J2EE Application (EAR) to standalone OC4J

    Hi
    I'm invoking the admin_client.jar utility to deploy a webservice on a standalone OC4J, here is the command:
    java -jar %OC4J_HOME%\j2EE\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin test -deploy -file C:\10GIDS\BIN\johnTestWS.ear -deploymentname johnsws -bindAllWebApps default-web-site -contextRoot johnsws
    I get the following error:
    Deploy error: Deploy error: Operation failed with error:Error compiling :C:\JDeveloper_10g\j2ee\home\applications\johnsws\johnTestWS-web: Syntax error in source or compilation failed in: C:\JDeveloper_10g\j2ee\home\application-deployments\johnsws\johnTestWS-web\oracle\generated\runtime\XmlreturnBase__SOAPSerializer.java java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main"
    The java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main" error string (from my limited understanding) would mean there is a jar file missing from the CLASSPATH or something, yet, because the '-jar' option is selected when running the java command I don't have the option to include any classpath in the command string. What am I doing wrong?
    I've been trying to assemble and deploy this web service for ages now and I think I'm very close to the end, can someone please show me that I'm doing something very simple wrong....?

    smydo,
    I see you answered yourself in the other forum where you posted the same question:
    Problems deploying Web Service to standalone OC4J from Windows command line
    Good Luck,
    Avi.

  • 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

  • Deploy standalone OC4J problem

    I'm pretty new Jdeveloper So Please help me.
    I'm very strange about my deploy.
    I downloaded OC4J in c:/Oc4J, and I did ADF Runtime Installer for Standalone OC4J.
    I can deploy my local host sucessfully.
    So now I tyied to deploy to our compuany server.
    I created application server, I put company's hostname at hostname when I created application server.
    And I tried to deploy my application to the application server.
    I got error.
    This is very strange for me.
    I downloaded OC4J at C:\OC4J_home, and I put OC4J_HOME for Oc4J root directory.
    But this is working with D drive like below whenere I try to deploy my application.
    What should I do?
    Can I change this directory?
    ---- Deployment started. ---- Dec 11, 2006 11:43:08 AM
    Target platform is Standalone OC4J 10g 10.1.3 (dev).
    Running dependency analysis...
    Wrote JAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\Model\deploy\ModelArchive.jar
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.ear
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Application Deployer for CustomerMaintenance STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear
    Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear begins...
    Unpacking CustomerMaintenance.ear
    Done unpacking CustomerMaintenance.ear
    Unpacking CustomerMaintenance.war
    Done unpacking CustomerMaintenance.war
    Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear ends...
    Starting application : CustomerMaintenance
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize CustomerMaintenance begins...
    Initialize CustomerMaintenance ends...
    Started application : CustomerMaintenance
    Binding web application(s) to site default-web-site begins...
    Binding CustomerMaintenance web-module for application CustomerMaintenance to site default-web-site under context root customerMain
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    Deployment failed
    Elapsed time for deployment: 1 minute, 18 seconds
    #### Deployment incomplete. #### Dec 11, 2006 11:44:24 AM

    S,
    Yes, causes a bit of a problem, the fact that all Oracle products tend to rely on the ORACLE_HOME environment variable.
    In any case, this issue has been discussed previously in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • Standalone OC4J 10.1.3 installation

    Dear all,
    I am a newbie in using OC4j and I encounter some setup problem when using standalone oc4j when deploying web service.
    I listed what I did in the following:
    1. Set up environment variables
    J2EE_HOME="C:\Program Files\Oracle\j2ee\home"
    JAVA_HOME="C:\Program Files\Oracle\jdk"
    ORACLE_HOME ="C:\Program Files\Oracle"
    PATH=%PATH%;C:\Program Files\Oracle\jdk\bin;
    2. I also install jdk 1.5.0.02
    The oc4j run sample jsp and servlet successfully. However, when I deploy sample web service, I keep encounter a problem that the standalone oc4j server is looking for javac to compile under jre directory under jdk 1.5.0.02. Can some please kindly help me provide some information for me to look up and fix the problem?
    Many Thanks!

    Thanks Abrami, let me clarify my question.
    Actually, I use the jdk that come with the Jdeveloper. The oc4j startup successfully and it can run the Sample JSP and Servlet. However, when I deploy the web service, I encounter the following error:
    06/01/17 12:00:44 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling :C:\Program Files\Oracle\j2ee\home\applications\GpCms-LoginService-WS\WebServices: Error instantiating compiler: webservice artifact generation failed :java.lang.InstantiationException : service endpoint implementation class: 'ea.gp.services.TestSer_Impl' not found
    It seems that the standalone oc4j cannot instaniating the compiler. Actually, Do we need to install JDP1.4 or 1.5 instead of using the one came with jdeveloper?

  • Standalone OC4J 9.0.4 - Loading Native Libraries - Unsatisfied Link Error

    Hello,
    I incidentally happen to have a similar problem as has been described in several posts in this forum. The problem is that of loading Native libraries in OC4J.
    The scenario is
    1) Environment is Standalone OC4J 9.0.4, Windows 2000, JDK 1.4.2
    2) A Java wrapper loads DLL1 which internally loads DLL2.
    (To be more specific the DLL1 is a SAPSSOEXT.DLL and the DLL2 is SAPSECU.DLL. These are used for establishing SSO with SAP portal)
    The phase-1 of Java wrapper loading DLL1 is achieved by setting either the PATH or the java.library.path variables.
    The phase-2 of DLL1 loading DLL2 is what is failing with an Unsatisfied Link Error.
    Since I am using a standalone version and not a OC4J app-server, the OPMN related configuration for specified PATH variables will not be relevant here. Is there any other place where I can configure these.
    regards
    Shivaram

    A small correction to my observation above.
    The call to load DLL1 via System.loadLibrary() is successful. However when I attempt to call any method on it it fails with UnsatisfiedLinkError.
    Contrary to what was written above the error occured even before DLL1 attempted to load DLL2.
    So why is it that the call to loadLibrary is successful but the call to actual function is failing? (This works flawlessly on the command line)
    Is this a path problem, if so how do I configure it in OC4J standalone. Variables PATH, java.library.path, LD_LIBRARY_PATH none of them seem to have any effect on this.
    I tried debugging using a windows file monitor. The library DLL1 is being read from the correct path and is being opened successfully.
    Any suggestions will be greatly appreciated.

Maybe you are looking for

  • My Contacts, Calendars are NOT syncing on a Clean Install of Lion

    I did a Clean Install of Lion Yesterday and for some reason, my Contacts and Calendars are NOT syncing into my laptop. Am I missing a setting somewhere?

  • Ipod will charge but wont update?

    I have a 30 GB Video, and it usually updates but i cant get it to anymore. I think it might have somehing to do with my sistser having an ipod on the same computer, on a different user name and folder. it usually will let me update when shes not logg

  • An Error Has Occurred when downloading OS X Mountain Lion

    It has repeatedly occured over the past month, the download gets to around 51MB says calculating and after a while returns in red writing 'an error has occured' Any suggestions as to a solution..?

  • Help! Can't install CC PS after removing the tryout.

    Help! - Downloaded and installed CC PS tryout a week ago. - Then joided CC. - Then removed CC PS tryout. -Then accidentally downloaded the update for tryout CC PS (which I didn't do while the tryout was on my Mac). -Now I can't download PS. Can't see

  • Acrobat hyperlink to PPS?

    Hi, new to Acrobat; in the meantime while learning Flash: I`m assembling an Acrobat Portfolio of text, films, images noise; so I suppose a simulacrum of a click/point display: is there any way to create a hyperlink from an Acrobat text-page to a Powe