Can Standalone OC4j 11g TP4 be runned on RedHat Linux  ?

Hi , i have a web application(ADF/ADF Faces) developed with JDev 11g TP4. Iwant to install and run it on Standalone OC4J 11g, under Linux RedHat OS.
In the OC4j release note it's written "Requires SUN JDK 5.0.11". However i want to ensure that the only thing i need is to install a specific JDK version.
Thanks in advance ,
Krasimir

IBM JRE wont work with OC4J. Install Sun JRE1.3. It works fine for us.

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

  • Mapviewer servlet crash on OC4J 11g TP4

    Hi!
    Is it normal or not? If I try to deploy mapviewer.ear (10 or 11 pre) on OC4J 11G TP4 it make exception on
    http://.../mapviewer/faces/home.jspx
    Is it planing compatibility for these Oracle products? And on which release?

    Mapviewer is not supported on OC4J 11g TP4.
    Please note that the going forward position for Oracle Fusion Middleware R11 is that OC4J is being replaced with WebLogic Server.
    -steve-

  • Installing  weblogic plugin in apache running on RedHat Linux WS4

    I want to install weblogic plugin in apache running on redhat Linux WS4. I have read the documentation. In my local weblogic,under this directory C:\bea81SP4\weblogic81\server\lib\linux
    I see the following three folders
    a) i686
    b) ia64
    c) s390.
    I dont know which folder to choose. Please advise.

    Hi,
    according to your processer you have to chose mod_ ..so file
    if you got error with sp4 plug in file use the plug in file from the another version
    plug in files are compatable
    Regards,
    Prasanna Yalam

  • JDev 11g TP4: App running in embedded OC4J fails in Integrated OC4J

    I have a simple application containing a bunch of JSP pages. When I run it on the embedded OC4J everything works fine.
    When I try to run it on the Integrated OC4J I get the following "missing class error":
    Binding web application(s) to site default-web-site begins...
    Binding FloorLocator2-Loc_Model-webapp web-module for application BlazeProj2 to site default-web-site under context root FloorLocator2-Loc_Model-context-root
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
         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:82)
         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)
    Caused by: oracle.oc4j.admin.internal.DeployerException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
         ... 5 more
    Caused by: java.lang.InstantiationException: The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
         at com.evermind.server.Application.getHttpApplication(Application.java:769)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2179)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1716)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1672)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1657)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
         at java.lang.Class.getDeclaredFields(Class.java:1715)
         at com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1133)
         at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:895)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:377)
         at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
         ... 17 more
    #### Deployment incomplete. #### Dec 12, 2008 11:57:07 AM
    oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:598)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1010)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:174)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:417)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:202)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$3$1.run(AdrsStarter.java:1116)
    #### Cannot run application BlazeProj2 due to error deploying to DefaultServer.
    [Application BlazeProj2 stopped and undeployed from Server Instance DefaultServer]
    Process exited.
    The problem is that I want to run the application on the Integrated server because I want to add some SOA components on it.
    Is there any way to get rid of this "missing class" error?
    Thank you in advance for the help.

    Hi, check if you have an existing deployment profile for your project and make sure the google maps jar is been added to the profile. When you use integrated the application gets deployed to the server so it takes all of its libraries and gets them deployed into the server. With embedded everything gets loaded from your application directory.
    If you don't have a deployment profile, create one and manually add the gMaps library and see if this time the integrated server uses your new deployment profile.
    Cheers,
    Juan C.

  • Problem Running SqlDeveloper RedHat Linux AS4

    hi
    I have downloaded latest sqldeveloper release rpm for linux it installs successfully in /opt/sqldeveloper folder but when i try to run sqldeveloper it did not run and shows messages as
    # sh sqldeveloper.sh
    Oracle SQL Developer
    Copyright (c) 2006, 2007, Oracle. All rights reserved.
    Warning: -Xmx512M not understood. Ignoring.
    Warning: -Xverify:none not understood. Ignoring.
    Warning: -XX:JavaPriority10_To_OSPriority=10 not understood. Ignoring.
    Warning: -XX:JavaPriority9_To_OSPriority=9 not understood. Ignoring.
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.ide.boot.Launcher
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/opt/sqldeveloper/sqldeveloper/bin/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at JvRegisterClasses (/opt/sqldeveloper/sqldeveloper/bin/java.version=1.4.2)
    Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:../../ide/lib/ide-boot.jar, file:../../jdev/lib/xmleditor.jar, file:../../ide/lib/oicons.jar, file:../../jlib/jewt4.jar, file:../../jlib/share.jar, file:../../sqldeveloper/lib/jle2.jar, file:../../sqldeveloper/lib/oracle.dbtools.logging.jar, file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    ...9 more
    ===
    Can any body guide me about this problem.
    Thanks in advance
    Ryasat Ali

    It looks as if you are picking up the wrong java version. Most linux distributions come with an out of date gnu implementation of java in /usr/bin.
    what does java -version show?
    what does which java show?
    You need to download a jdk (1.5_006 at least, but 1.6 would do), install it and put it at the beginning of PATH before running sqldeveloper

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

  • 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

  • Can I install Oracle 8.1.6 on RH LINUX 7.1

    Can i Install Oracle 8.1.6 on Redhat Linux 7.1

    Yes, of course. Both versions works but you have to be prepared for lots of RAM.

  • Error while trying to start oc4j 11g in standalone mode

    I get this error while trying to start oc4j 11g (that comes with JDeveloper 11g Technical Preview 2 ) in standone mode. Any ideas ?
    Sep 17, 2007 6:29:21 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: jsf.core.injection.provider_generic_web_configured
    Sep 17, 2007 6:29:23 PM org.apache.myfaces.trinidad.component.UIXComponentBase _createType
    SEVERE: Could not load type properties
    java.lang.NullPointerException
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1491)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1681)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1642)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1393)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:96)
    at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.<init>(DialogRenderer.java:34)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1024)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:505)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:398)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1285)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:856)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:473)
    at com.evermind.server.Application.getHttpApplication(Application.java:753)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1958)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:289)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2747)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1255)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:129)
    at java.lang.Thread.run(Thread.java:595)
    07/09/17 18:29:26 Oracle Containers for J2EE 10g (11.1.1.0.0) initialized
    Thanks
    Ramesh

    Using the OTN2 tech preview build 4684 now available on OTN, I used the JDEVHOME/jdev/bin/start_oc4j script to startup the embedded server in standalone mode and cannot reproduce these errors.
    Can you try with build 4684 from OTN and see if the same issue still reproduces?
    If so, does it occur even before ever deploying any applications of your own to the instance?

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

  • Failing to deploy to external OC4J 11g standalone

    Trying to deploy to external 11g TP4 OC4J standalone is giving following error...
    any ideas?
    thanks in advance..
    -Dhananjay
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
         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:82)
         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)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:557)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:210)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:636)
         at com.evermind.server.Application.setConfig(Application.java:433)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
         ... 7 more
    Caused by: java.lang.InstantiationException: Import was not resolved for PkgConfig.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
         at com.evermind.server.Application.setConfig(Application.java:538)
         ... 10 more
    Caused by: oracle.oc4j.loader.config.ConfigurationException: Import was not resolved for PkgConfig.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at oracle.oc4j.loader.config.ClassLoaderFactory.handleSharedLibraryNotFound(ClassLoaderFactory.java:706)
         at oracle.oc4j.loader.config.ClassLoaderFactory.getSharedLibraryToImport(ClassLoaderFactory.java:651)
         at oracle.oc4j.loader.config.ClassLoaderFactory.getImportedSharedLibraries(ClassLoaderFactory.java:529)
         at oracle.oc4j.loader.config.ClassLoaderFactory.addImportedSharedLibraries(ClassLoaderFactory.java:486)
         at oracle.oc4j.loader.config.ClassLoaderFactory.createApplicationLoader(ClassLoaderFactory.java:458)
         at com.evermind.server.ApplicationStateRunning.createClassLoader(ApplicationStateRunning.java:1353)
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1362)
         ... 12 more
    #### Deployment incomplete. #### Jul 21, 2008 12:15:31 PM
    Deployment Failed

    I overcame this problem by analyzing the embedded oc4j's server.xml and adding to the standalone's server.xml all missing libraries, of course, i had copy all nedded jars as well
    after solving that, i had an OutOfMemory error, which i solved by setting the environment variable OC4J_JVM_ARGS with "-XX:PermSize=256m -XX:MaxPermSize=512m"
    and so far, so good

  • 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

  • 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

  • Has anyone had a WebService running on standalone OC4J 101300 / 101310

    I am trying to run the most basic of webservices on these containers - what was achieved within minutes on IBM WAS 6.0, JBoss 4.0 and WLS 9.1 is just not getting possible with this release of the container!
    Initially thought it was a deployment / code issue - but have been consistently able to take the same WSDL and generate the WebService (and deploy) on other containers except OC4J. The same service runs successfully within JDev embedded OC4J.
    Using JDeveloper, I was able to generate both top-down and bottom-up services. Neither got deployed - either through uploading the EAR file, ANT build file, JDeveloper deploy to connections etc...
    Even tried changed entries in the server.xml and the default-web-site.xml file - but it is of no use.
    No extra libraries were added - same results were obtained even with a fresh install of the container in this environment: WinXP Pro + JDK 1.5.2_09 + OC4J 101300 / 101310.
    All these come back with the same error:
    06/11/16 20:01:15 SEVERE: ProgressObjectImpl.reportError java.lang.ClassCastExce
    ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.a
    dmin.jmx.shared.exceptions.InternalException: java.lang.ClassCastException: com.
    sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(Notif
    icationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastExce
    ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:214)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
    Deployer.java:541)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
    DeferredElementNSImpl
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
    ebServiceEndpoint.java:660)
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
    ceEndpoint.java:616)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
    .java:382)
    at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
    374)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
    es(WebServicesDescriptor.java:447)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
    WebServicesDescriptor.java:426)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
    ig(WebServicesDescriptor.java:401)
    at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
    java:403)
    at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
    494)
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
    (WrapperClassGenerator.java:93)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
    HttpApplication.java:8403)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
    sDeploymentCache(HttpApplication.java:5465)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
    on.java:5394)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
    ion.java:5333)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    645)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
    ationStateRunning.java:428)
    at com.evermind.server.Application.getHttpApplication(Application.java:5
    12)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
    ateHttpApplicationFromReference(HttpSite.java:1975)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
    it>(HttpSite.java:1894)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
    91)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:206)
    ... 8 more
    2006-11-16 20:01:15.642 ERROR java.lang.ClassCastException: com.sun.org.apache.x
    erces.internal.dom.DeferredElementNSImpl
    2006-11-16 20:01:15.764 NOTIFICATION Application UnDeployer for tanfsandbox COMP
    LETES.
    06/11/16 20:01:15 WARNING: DeployerRunnable.run java.lang.ClassCastException: co
    m.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.admin.inte
    rnal.DeployerException: java.lang.ClassCastException: com.sun.org.apache.xerces.
    internal.dom.DeferredElementNSImpl
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:819)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
    DeferredElementNSImpl
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
    ebServiceEndpoint.java:660)
    at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
    ceEndpoint.java:616)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
    .java:382)
    at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
    374)
    at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
    es(WebServicesDescriptor.java:447)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
    WebServicesDescriptor.java:426)
    at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
    ig(WebServicesDescriptor.java:401)
    at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
    java:403)
    at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
    494)
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
    (WrapperClassGenerator.java:93)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
    HttpApplication.java:8403)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
    sDeploymentCache(HttpApplication.java:5465)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
    on.java:5394)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
    ion.java:5333)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    645)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
    ationStateRunning.java:428)
    at com.evermind.server.Application.getHttpApplication(Application.java:5
    12)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
    ateHttpApplicationFromReference(HttpSite.java:1975)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
    it>(HttpSite.java:1894)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
    91)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:206)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
    Deployer.java:541)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache
    .xerces.internal.dom.DeferredElementNSImpl
    BTW, the service interface is added below:
    package botupws;
    public class SayHello {
    public SayHello() {
    public String say(String name) {
    return ("Hello" + name);
    The WSDL file is added below:
    <definitions
    name="MyWebService1"
    targetNamespace="http://botupws/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://botupws/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://botupws/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://botupws/types/"
    elementFormDefault="qualified" xmlns:tns="http://botupws/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <element name="sayElement">
    <complexType>
    <sequence>
    <element name="name" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="sayResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="MyWebService1_say">
    <part name="parameters" element="tns0:sayElement"/>
    </message>
    <message name="MyWebService1_sayResponse">
    <part name="parameters" element="tns0:sayResponseElement"/>
    </message>
    <portType name="MyWebService1">
    <operation name="say">
    <input message="tns:MyWebService1_say"/>
    <output message="tns:MyWebService1_sayResponse"/>
    </operation>
    </portType>
    <binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="say">
    <soap:operation soapAction="http://botupws//say"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="MyWebService1">
    <port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://192.168.5.100:8888/tanfsandbox-BotUpWS-context-root/MyWebService1SoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thanks in advance!

    This doesn't help with your specific issue, but it's an example of a WS being generated in JDeveloper then deployed to a separate standalone OC4J 10.1.3.1.0 instance.
    The WS was created from a simple Java class like yours, then deployed using JDeveloper remote connection to a separate OC4J instance.
    ---- Deployment started. ---- 17/11/2006 12:31:49
    Target platform is Standalone OC4J 10g 10.1.3 (local).
    Wrote WAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\WebServices.war
    Wrote EAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\webservices-simplest-WS.ear
    Uploading file webservices-simplest-WS.ear ...
    Application Deployer for webservices-simplest-WS STARTS.
    Copy the archive to C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear
    Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear begins...
    Unpacking webservices-simplest-WS.ear
    Done unpacking webservices-simplest-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear ends...
    Starting application : webservices-simplest-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 : webservices-simplest-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application webservices-simplest-WS to site default-web-site under context root webservices-simplest-context-root
    Initializing Servlet: oracle.j2ee.ws.server.JAXRPCServlet for web application WebServices
    Binding web application(s) to site default-web-site ends...
    Application Deployer for webservices-simplest-WS COMPLETES. Operation time: 3905 msecs
    Elapsed time for deployment: 7 seconds
    ---- Deployment finished. ---- 17/11/2006 12:31:56
    Here's the WSDL
    <definitions name="HelloWorldService" targetNamespace="http://sab.demo.webservices/">
         <types>
         <schema targetNamespace="http://sab.demo.webservices/types/" elementFormDefault="qualified">
         <element name="sayHelloElement">
         <complexType>
    <sequence/>
    </complexType>
    </element>
         <element name="sayHelloResponseElement">
         <complexType>
         <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
         <message name="HelloWorldService_sayHello">
    <part name="parameters" element="tns0:sayHelloElement"/>
    </message>
         <message name="HelloWorldService_sayHelloResponse">
    <part name="parameters" element="tns0:sayHelloResponseElement"/>
    </message>
         <portType name="HelloWorldService">
         <operation name="sayHello">
    <input message="tns:HelloWorldService_sayHello"/>
    <output message="tns:HelloWorldService_sayHelloResponse"/>
    </operation>
    </portType>
         <binding name="HelloWorldServiceSoapHttp" type="tns:HelloWorldService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="sayHello">
    <soap:operation soapAction="http://sab.demo.webservices//sayHello"/>
         <input>
    <soap:body use="literal"/>
    </input>
         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
         <service name="HelloWorldService">
         <port name="HelloWorldServiceSoapHttpPort" binding="tns:HelloWorldServiceSoapHttp">
    <soap:address location="http://localhost:8888/webservices-simplest-context-root/HelloWorldServiceSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    So it does work. What the specific problem is with your situation, one of our WS PMs most likely be able to help with.
    The error you have:
    2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
    Is strange -- can you check your WAR file and see if there are other libraries in the WEB-INF/lib that may be being loaded?
    Do you have xerces-impl.jar or anything like that in the JRE/lib directory of your JDK?
    cheers
    -steve-

Maybe you are looking for