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?

Similar Messages

  • Deploy ADF application to standalone OC4J 11g

    Hi people!
    I found some threads into the forums that deal with the subject but I did not find any solution, so I post a new thread...
    In fact, I'd like to deploy a "war" on a standalone oc4j 11g.
    The application was built with jdev 11g TP4.
    I can't use the ADF runtime Installer of jdev, so I have to copy all the files by myself, but the problem is that I do not find the files in jdev11/BC4J/lib/ that I have to copy in oc4j/BC4J/lib...
    There is no adfcm.jar, bc4jdomorcl.jar, etc ...
    Is it normal ? Could someone indicate me how to configure the standalone oc4j 11g in order to deploy my "war" ?
    Thanks a lot,
    romain.
    Edited by: Romain Testu on 24 sept. 2008 09:28

    Hi,
    TP4 doesn't have a standalone OC4J.
    Try to start embedded oc4j from jdeveloper in standalone mode.
    see e.g. Re: Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
    BTW: The production release 11g is announced within next week and this release will contain Weblogic Server 10gR3 instead of OC4J.
    JDeveloper 11g release this month?
    regards
    Peter

  • JVM termination with standalone oc4j

    Hi,
    We have several (around 15) standalone oc4j instances running on a Sun machine, the details are as follows:
    Machine: SunFire V1280 with 8 processors (sun4u sparc) and 24 GB RAM
    OS: SunOS 5.9 Generic_117171-02
    oc4j version: 9.0.4.0.0
    There is also a 10g installation on this machine.
    We are finding that quite regularly one or more of the oc4j instances shuts down without warning. the only information in the log files (jms.log, rmi.log etc) is a "Stopped (JVM termination)" message. I cannot find any other logs on the machine which can help me with this error.
    I am after one of two things:
    1. Potential reasons for this happening (preferably with solutions!)
    2. A possible for a log file created by the JVM detailing why it is terminating.
    Can anyone help?
    Thanks

    http://blogs.oracle.com/shay/2005/10/24#a55

  • Problems deploying PL/SQL Web Service example to standalone OC4J

    I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
    at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
    at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
    I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
    Any assistance would be appreciated
    Regards
    Michael

    You have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.

  • Unable to connect to standalone oc4j 10.1.3 DP4 with JDeveloper 10.1.3

    Hi all,
    I'm having problems to establish a connection to standalone oc4j 10.1.3 DP4 in JDeveloper 10.1.3 studio release.
    I'm using the default settings for my OC4J installation and I tested it with http://localhost:8888.
    I also set the host in the configuration panel to localhost and left the url-path empty as default.
    The username/password combination I filled in is correct.
    I'm getting the following error when I ty to test te connection in Jdeveloper:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters; nested exception is:
         javax.naming.CommunicationException: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
    oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
    oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
    oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
    com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
    com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
    com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
    oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
    com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
    oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    javax.naming.InitialContext.init(InitialContext.java:223)
    javax.naming.InitialContext.<init>(InitialContext.java:197)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
    oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
    oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
    oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
    oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
    oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
    oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
    oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
    oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
    oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
    oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
    oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    java.lang.Thread.run(Thread.java:595)
    caused by: Incompatible parameters [Root exception is oracle.oc4j.security.KeyExchange$KeyExchangeException]
    Can anyone help me with this problem??
    Thanks in advance.
    -Tom

    Ok, I have installed the production release. But when I login to the application console I'm getting the following error:
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance null on Application Server null is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
    Probably I have to configure more things here. Do you now what, before I delve into the manuals myself..;)

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • Deploy on Standalone OC4J

    Hi everyone,
    We are developing application on JDeveloper11 TP2. Now I am trying to run it on the latest OC4J TP4. Following instructions from: http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    and modifying default-web-site.xml I succeeded to deploy and run simple "Hello World" application and with it everything is fine. Our application that we are developing is much more complex (ADF Faces, ADF BC). I have deployed it and started it with success but when I try to access it from browser I receive internal server error with following server log:
    08/07/03 11:35:29 ADFc: BindingContext is not present, not using ADFm APIs for DataControlFrames.
    08/07/03 11:35:29 ADFc: Controller caching of MDS metadata resources ENABLED.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 WARNING: ADFc: Duplicate bootstrap configuration file specified:'/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:50 WARNING: tee: Servlet error java.lang.ClassCastException:oracle.adf.share.security.providers.jazn.JAZNSecurityContext
    at oracle.adf.share.ADFContext.getSecurityContext(ADFContext.java:276)
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:357)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:333)
    at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:60)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:170)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    What can be the reason for this and how can I solve it.
    Thanks!!!

    Hi again,
    as you suggested I tried with TP4 and it ended with success. I haven't used standalone oc4j because TP4 doesn't have adf runtime installer. Instead I have used embedded oc4j in standalone mode. First after deploying app I got missing class error which I solved with Missing library error while deploying the ADFBC application
    After that application pages are accessible but it is TP4 version of app and lot of things don't work as should.

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

  • Problems running deployed JHeadstart Application on Standalone OC4J

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

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

  • Javax.nameing.NameNotFoundException when connection to Standalone OC4J

    I have installed a standalone OC4J 10.1.3 for a testing purposes.
    It is an out-of-the-zip-file installation, so I have not configured anything except for the administrator password.
    I can start/stop the serveren and access the Oracle Enterprise Manager from both the local server and remote PC's. I can browse the instance as expected and everything seems to work.
    When creating a testing a connection from JDeveloper on a remote PC I receive the following exception:
    Error while getting remote MBeanServer for url: ormi://<the correct server name>:23791/default
    Error reading application-client descriptor: Error communication with server oc4j:internal/ResourceFinder not found; nested exception is:
    javax.nameing.NameNotFoundException: oc4j:internal/ResourceFinder not found
    -- Regards Flemming

    I have installed a standalone OC4J 10.1.3 for a testing purposes.
    It is an out-of-the-zip-file installation, so I have not configured anything except for the administrator password.
    I can start/stop the serveren and access the Oracle Enterprise Manager from both the local server and remote PC's. I can browse the instance as expected and everything seems to work.
    When creating a testing a connection from JDeveloper on a remote PC I receive the following exception:
    Error while getting remote MBeanServer for url: ormi://<the correct server name>:23791/default
    Error reading application-client descriptor: Error communication with server oc4j:internal/ResourceFinder not found; nested exception is:
    javax.nameing.NameNotFoundException: oc4j:internal/ResourceFinder not found
    -- Regards Flemming

  • Jdev 10.1.3.2 and Standalone OC4J 10.1.2

    Hi,
    I am trying to create an application server connection to a standalone OC4J (10.1.2) in JDeveloper 10.1.3.2.
    In step 1 of the Create App Server connection I select Standalone OC4J 10.1.3. (Thinking that OC4J version 10.1.2 is configured similarly).
    I fill in the required information in the remaining steps
    (username and password, hostname etc..) but when I go to test the connection, the Testing Connection Status window just hangs, it appears no connection is being made and it just remains that way.
    My standalone OC4J is up and running. It was started using the command java -jar oc4j.jar
    Anyone have any ideas as to what is wrong ?
    Are there any log files I can look at to try and resolve the problem ?
    Thanks,

    You can create EAR/WAR file from JDeveloper and then use the OC4J 10.1.2 managment console to deploy them to the server, there is no one-click-deploy support from JDev 10.1.3 to OC4J stand-alone 10.1.2

  • Error while running Create page in standalone-oc4j

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

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

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

  • Can't find Enterprise Manager for standalone OC4J 10.1.2.0.2

    Hi
    I downloaded standalone OC4J 10.1.2.0.2 from here so I could experiment deploying webservices to it
    http://download.oracle.com/otn/java/oc4j/1012/oc4j_extended.zip
    It installed successfully and I managed to start it ok. When I point my browser at it the home page displays but there does not seem to be an enterprise manager page. I have a jdeveloper 10.1.3 install and when I run the OC4J supplied with that I can navigate to an enterprise manager page and view applications and webservices.
    This is the home page for the 10.1.2.0.2 install
    http://img405.imageshack.us/my.php?image=oc4j101202homepagecq8.jpg
    This is the homepage of the 10.1.3 install supplied with jdeveloper
    http://img399.imageshack.us/my.php?image=oc4j1013homepagegb6.jpg
    (click the images to see their full size)
    In the 10.1.3 screenshot you can see a link to "launch application Server Control". This is missing on the 10.1.2.0.2 homepage. Should it be there for both versions?
    thanks
    paul
    Message was edited by:
    [email protected]

    Hi,
    Enterprise Manager for stand alone OC4J was introduced in 10.1.3. 10.12 does not have this feature
    Frank

  • Help help me!What's Wrong about deploy ADF BC to Standalone OC4J(10.1.3)???

    in jdeveloper 10.1.3 entironment ,this work well,But deploy to Standalone OC4J occur the following errror.::
    please help me !
    thanks!
    JBO-30003: ?????????, ????? (com.test.model.testServiceLocal) ???????????:
    oracle.jbo.JboException: JBO-29000: JBO-29000: oracle/jbo/dt/objects/JboException
         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.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: oracle/jbo/dt/objects/JboException
         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.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NoClassDefFoundError: oracle/jbo/dt/objects/JboException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:177)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2450)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2275)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:523)
         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.EntityDefImpl.findDefObject(EntityDefImpl.java:339)
         at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:2889)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2959)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2148)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1959)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:527)
         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.ViewDefImpl.findDefObject(ViewDefImpl.java:392)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:410)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         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.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:465)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:491)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:155)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleError(PageLifecycleImpl.java:504)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:495)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:76)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:430)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:84)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Message was edited by:
    zcjsh

    I wouldn't expect to see the oracle.jbo.dt.objects.JboException class referenced by anything at runtime. The oracle.jbo.dt.* packages are for use by ADF BC design time extensions to JDevelopers, but not used for any runtime of your applications.
    This class appears in your stack trace.
    Instead, at runtime the class oracle.jbo.JboException (NOTE: no extra ".dt.objects." packages in there).
    Since the stack trace is occurring when entity object XML is being loaded, and the entity object row class is being set (based on the metadata found for the RowClass="xxx" property in the XML file), it is possible that you somehow accidentally included an import in your entity object class of the "oracle.jbo.dt.objects.JboException" class instead of the base oracle.jbo.JboException class?

Maybe you are looking for