Starting OC4J - Why?
We are a bit confused. We have installed 9ias v9.0.3 and immediately began deploying EJB and web applications using the OEM website and everything works just fine.
Now, we wrote an automated deployment script using ANT and the admin.jar functionality for deployment and it did not work. We got a connection refused message. After searching the discussion groups we found that we had to start the oc4j container (using "java -jar oc4j.jar" in the j2ee/home folder). After we did that all worked just fine. So, the question is...why do we need to start yet another service for this? Does this service need to be running during normal operation or just for remote deployment needs??
Are we confused or are there many ways to deploy and maintain 9ias (i.e. OEM Website, DCM, admin.jar, etc.)? A clear vision on this subject from Oracle (or anyone else) would be very helpful.
Thanks in advance for any input regarding these issues.
Matt
Matt,
OC4J standalone is a light weight J2EE container intended for developers and very small scale deployments.
When using OC4J standalone , you will use admin.jar to deploy.
Oracle9iAS is an enterprise level application server with
can scale to thousands of users with capabilities for hi-Av, integration with other App server components, management support, portal integration, etc..
[more info can be found at the oracle9iAS page
http://otn.oracle.com/products/ias/content.html]
When using Oracle9iAS use EM or dcmctl(command line tool)
to deploy to Oracle9iAS. Do not use admin.jar in case of Oracle9iAS.
more info can be found in at
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a92171/deploy.htm#1051146
-Prasad
Similar Messages
-
When Starting OC4J, why the report server doesn't start automatically? !!
Dear All,
I have DS 10g on my system and I start the OC4J when I have to run either forms or reports.
But when I attend to start the do the following command from the form:
WEB.SHOWDOCUMENT(..../getjobid<jobid>?server=<servername>...), I have an error: FRM-41213: Unable to connect to the report server <servername>.
I noticed that if I run the following URL:http://<server>:.../reports/rwservlet, it gives me a list of command, but the server still not running..But if I add any command to the above URL like for example "getserverinfo" or "showjobs" then the server is started. Now, and after the command, if we return back and we run the report from the form, the report will run successfully.
The question WHY??
Regards,
Joe
Message was edited by: Joe
Joe FarahHello,
That's the way it works ...
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_strt.htm
2.1.3.1 Starting the In-process Server (Windows and UNIX)
If you are using Reports Server as an in-process server (the default configuration), sending a run report request starts the in-process server; however, if you are sending a request through a command line, the servlet must be invoked first using either the run report URL or the Web command URL. When you have successfully started the servlet, this also means you have successfully started the in-process server.
If you use "Oracle Application Server", the "in-process" reports server will be started automatically by opmn ...
Regards -
Problems when starting OC4J J2EE 10.1.3 standalone container
Hi,
For month's now my OC4J standalone container functioned without any problems..
Suddenly, it does not start anymore and I'm getting the following error:
Starting OC4J from c:\oracle\oc4j_1013\j2ee\home ...
2006-07-19 21:45:23.046 ERROR Failed to set the internal configuration of the OC
4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/confi
g/jms.xml]
06/07/19 21:45:23 *** (SEVERE) Failed to set the internal configuration of the O
C4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/conf
ig/jms.xml]
2006-07-19 21:45:23.062 ERROR J2EE OJR0011 Exception starting JMS server: Failed
to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
ig[file:/C:/oracle/oc4j_1013/j2ee/home/config/jms.xml]
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/store not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 ERROR J2EE EJB3027 [default] An error occured deploying
EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
r MessageDrivenBean event during endpoint activation: failure looking up Connect
ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
NotFoundException: jms/XAQueueConnectionFactory not found
06/07/19 21:45:25 WARNING: Application.setConfig Application: default is in fail
ed state as initialization failedjava.lang.InstantiationException: Error initial
izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
eueConnectionFactory not found
Jul 19, 2006 9:45:25 PM com.evermind.server.Application setConfig
WARNING: Application: default is in failed state as initialization failedjava.la
ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
.ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
2006-07-19 21:45:25.250 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
flow.MessageEndpointFactoryImpl@159d450.
06/07/19 21:45:25 Error initializing server: Error initializing ejb-modules: Res
ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
ot found
2006-07-19 21:45:26.093 WARNING J2EE JTA RecoveryManager is null during shut
down
06/07/19 21:45:26 Fatal error: server exiting
The version of the OC4J J2EE container is:
Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277)
Does anyone has any suggestions why this error happens, I did not changes anything in my installation and also did not deploy any new apps
Thanks for your helpI still have this problem when I try to login to the EM:
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 home on Application Server assoa.locahost 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
Can you help me here? -
Hi,
I am trying to wrap the OC4J into NT service, when I start the service, the oc4j starts and exit with the following error message. Does anyone have any idea about this? The build number is 050812.1879. Thx.
06/02/26 23:18:16 javax.xml.parsers.FactoryConfigurationError: java.lang.NullPointerException
06/02/26 23:18:16 at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
06/02/26 23:18:16 at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:23)
06/02/26 23:18:16 at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
06/02/26 23:18:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
06/02/26 23:18:16 at com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
06/02/26 23:18:16 at com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:2064)
06/02/26 23:18:16 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
06/02/26 23:18:16 at java.lang.Thread.run(Thread.java:534)Hi,
It seems that the xml parser configuration is not working well in your situation. As a workaround, try adding the following option -Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory to the java command that starts oc4j in your NT service and make sure that ORACLE_HOME/lib/xmlparserv2.jar is available in the classpath if you are not using "-jar oc4j.jar" to start oc4j.
Just in case you have not heard, why not try oc4j 10.1.3 production release that is available for download now? -
I want to start
oc4j -start //192.168.104.3
My purpose it will like command above, It can??
Thanks.
in advancetell me why ??
mauro_4race From Italian site, when you try to download Flash Player entire installation file for an other PC, it's not possible and the site suggests only and ever the link to the "online" installer.
hey you rulse ,did you CLUD not tell before, and tell me why. i'M UNDERSTAND BUT YOU GO AWAY FOR YOU WANT to help OK
DON'T AGAIN -
Error message when starting OC4J in JDeveloper 10.1.3.1
Hello,
I am new to Java Server Pages and OC4J. When I try to run a simple JSP page in JDeveloper 10.1.3.1, I get the following error message (edited):
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
...\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
[waiting for the server to complete its initialization...]
Error parsing internal-settings.xml: server-extension-provider class 'oracle.j2ee.ws.server.mgmt.runtime.InterceptorContainerExtension' not found
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.j2ee.ws.server.codegen.ServerArtifactGenerator
Depending class: com.evermind.server.ejb.compilation.Compilation
Loader: oc4j:10.1.3
Code-Source: ./j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar
Diese Load wurde um system.root:0.0.0 mit der Methode Class.forName() eingeleitet.
Die fehlende Klasse ist in keiner Code-Source oder keinem Loader in dem System verfügbar.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.server.ejb.compilation.Compilation.generateWebServiceRefs (Compilation.java:1541) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.compilation.Compilation.compile (Compilation.java:189) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.compilation.Compilation.doGenerateCode (Compilation.java:264) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:898) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:217) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:413) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:314) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1557) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1544) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:974) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:131) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]
Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
Any idea, what's wrong with my configuration?
Thanks,
WolfgangTested JSP page in JDeveloper 10.1.3.1; JSP page does not generate an error.
Reinstall JDeveloper. -
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
RameshUsing 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? -
Error whenever starting OC4J - 10.1.3 EA
I get the following error whenever I start my local OC4J server when I'm trying to run a ADF BC - based JSF/JSP in a new application:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
\j2sdk1.4.2_01\bin\javaw.exe -ojvm -classpath C:\jdev10.1.3EA\j2ee\home\oc4j.jar;C:\jdev10.1.3EA\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
06/01/05 14:53:14 oracle.classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Loader: system.root:0.0.0
Code-Source: /C:/jdev10.1.3EA/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
Configuration: <ejb> in wrappers
Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar
06/01/05 14:53:14 at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:165) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.SearchSequence.getClass (SearchSequence.java:92) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1676) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre bootstrap, by jre.bootstrap]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.bootstrap]
at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeInstance (SessionBeanDescriptor.java:407) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJBPackageDeployment.java:1048) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPackageDeployment.java:1101) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPackageDeployment.java:500) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDeployment.java:401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1015) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:206) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:392) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:310) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1418) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:896) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstrap]
In searching the forum I've only found a couple of things that look similar and they suggest the problem is caused when a project is upgraded. The suggested solution is running the project in JDK 1.5. (see Error Attempting to Run JSP with 10.1.3.0.3.3412
However, my project is a new project, created in 10.1.3, and in the project properties --> compiler settings, I've got the source and target set to 1.4. There hasn't been any upgrade to speak of, and my production environment is JDK 1.4.
I get the same error upon creating a new web application, creating a JSF, placing some Output Text on the page and then attempting to run it.
Does anyone have any idea how to fix this? If I can't run new applications, I'm in trouble...
Thanks,
AndyThanks for the response, Shay.
I was able to get the server to start up by changing the setting in Project Properties --> Libraries --> J2SE Version to 1.5.
Are you saying, then, that regardless of which version of JDK you use to compile your project (Project Properties --> Compiler --> Source & Target, both 1.4 in my case), in order to run it on the embedded OC4J server you have to use 1.5 in the setting above? I just want to understand this so that I can be sure that my app will run on my production app server, which runs JDK 1.4. That's what I was referring to as "my production environment" in my original post.
Thanks again,
Andy -
Error message when starting OC4J after deploying
Hi, I hope someone can help me. I've been developing a J2EE project in JBuilder9 and OC4J 9.0.3. The problem occurs when starting OC4J after the application has been deployed. I'm using two MDBs and two Session Beans, one Stateless and the other one stateful. I'm using two topics with OJMS. I can access these topics from a standalone application, but when I try to lookup JNDI names from inside EJBs, I get a NamingException (name not found) Please I need some help
OC4J error:
D:\oc4j\j2ee\home>java -jar oc4j.jar
Node started with id=678845146
Error deploying file:/D:/oc4j/j2ee/home/applications/LogicaNegocio/LogicaNegocio
.jar homes: Topic has empty subscription name
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Error when executing standalone application client using EJBs:
javax.naming.NameNotFoundException: No resource named 'TopicConnecionFactories/TablaTopics' found in resource provider 'BeanProcesamientoMensajes'
This error doesn't appear when looking up that topic with a standalone application w/o using EJBs
Thanks in advance.make sure the datasource.xml in the config directory is right
for example
<data-source
class="com.evermind.sql.OrionCMTDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="TopicConnecionFactories/TablaTopics"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="xx"
password="xx"
url="jdbc:oracle:thin:@172.16.113.2:1521:orcl"
inactivity-timeout="90"
/> -
Error while starting oc4j in standalone mode
Hi All,
I am trying to start oc4j using " java -jar oc4j.jar " from the command line but i get an error oracle.classloader.util.AnnotatedClassFormatError" Unsupported major.minor version 49.0
Please help
Thanks
RaghavendraRaghavendra:
A simple way out is to start your oc4j using java from a jdk 1.5 installation. JDK_1.5_HOME/bin/java -jar oc4j.jar Google "java Unsupported major.minor version" to learn what the error message means. -
I downloaded oc4j 10.1.3 and set the ORACLE_HOME. When i start the using the command oc4j -start i get the following error. Pls help
C:\OC4J>oc4j -start
Starting OC4J from C:\OC4J\j2ee\home ...
OC4J startup failed
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.j2ee.ws.common.mgmt.Interceptor
Dependent class: oracle.security.wss.interceptors.AbstractSecurityInterc
eptor
Loader: oracle.ws.security:10.1.3
Code-Source: /C:/OC4J/webservices/lib/wssecurity.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/
boot.xml in C:\OC4J\j2ee\home\oc4j.jar
The missing class is available from the following locations:
1. Code-Source: /C:/OC4J/webservices/lib/wsclient.jar (from system prope
rty java.library.path)
This code-source is available in loader jre.bootstrap:1.5.0_14.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.ja
va:2264)
at oracle.classloader.PolicyClassLoader.bulkLoadClasses(PolicyClassLoade
r.java:1538)
at oracle.classloader.util.XMLConfiguration.bulkLoadClasses(XMLConfigura
tion.java:885)
at oracle.classloader.util.XMLConfiguration.access$100(XMLConfiguration.
java:41)
at oracle.classloader.util.XMLConfiguration$Externals.load(XMLConfigurat
ion.java:871)
at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
java:685)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
ation.java:277)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
LoadersFactory.java:389)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
ersFactory.java:230)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
ctory.java:167)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)
C:\OC4J>Hi Geoff,
As far as I know, there is no "OC4J 1.3 Developer's Preview" version;
there is a "9.0.3 Developer's Preview Version". However, I would suggest
using the "9.0.2 Production Version" (also available for download from the Technet web site: http://technet.oracle.com)
Also, you need to be using JDK 1.3.1 with that version of OC4J.
You can find information on how to run OC4J in "debug" mode from the
Atlassian web site:
http://www.atlassian.com
and on the OrionSupport web site:
http://www.orionsupport.com
You can also try using the "verbosity" flag, as in:
java -jar oc4j.jar -verbosity 10
(10 is the highest value for "verbosity")
Good Luck,
Avi. -
While trying to execute my OA page I get this error !
The page shows an EXCEPTION..
**** RMI port conflict detected. The RMI port will be reassigned to port 23892.
**** IIOP port conflict detected. The IIOP port will be reassigned to port 5656.
**** IIOP SSL port conflict detected. The IIOP SSL port will be reassigned to port 5657.
[Starting OC4J using the following ports: HTTP=8988, RMI=23892, JMS=9227.]
Please suggestAre you seeing this error when you try to start the OC4J_home component? Or when you try to start all of iAS?
I would suggest that you attempt to start the components one by one to see which one has a problem with starting up... -
hi all
i can't start OC4J for forms , this happend after installed jdeveloper 10.1.3
on IDS 10.1.2.0.2
if any advice to help me in this issue
thanksDon't install JDeveloper on top of any Oracle Home - install it in a separate directory.
The install guide clearly states so - http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.1/install.html#install_start_windows -
How to start oc4j 1.0.2.2.1
it is stopped, but i don't know how to start it.
sometimes it work, sometimes it doesn't work.
can i have other way to start oc4j?
Hi Fee,
If you're running under linux, try running OC4J in the background with
"nohup", as in...
nohup java -jar $j2ee_home/orion.jar &
Good Luck,
Avi. -
How i can Start OC4J Instance as window service
hi ,
How i can Start OC4J Instance as window service ?
Regards
OmarOmar,
check
http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
Frank
Maybe you are looking for
-
I can usually print through the schools wifi using my laptop. Can i do the same using the iPad air? and if so how? Ive tried using the airprinter but it wouldnt load any printers. Usually I need to setup the printer through settings in my macbook. Ca
-
HT202157 can i update the ipod touch second generation any higher than 4.2
can i update it and or is there going to be one coming out at all
-
Macbook Pro slow startup, extra slow to load dock/interface
I have a Macbook Pro core 2 duo era 2007, OS 10.6.8, with an interesting problem I've not encountered in reading other issues. Here's the system profile, to get that out of the way: Hardware Overview: Model Name: MacBook Pro Model Identi
-
Umlaut Conversion issue in Sender communication channel SAP PI
Hi Gurus, We are facing issue while conversion. umlaut Conversion issue in Sender communication channel that is reason channel not able to pic the file from the path. Sender CC error: Value of incoming field is too large. Segment:'IMD', Field:'7008',
-
My office refuses to purchase an iMac...
My office refuses to purchase an iMac to replace my crudy PC. Here are the specs for the HP the are purchasing: Processor: AMD FX-8120 Eight-Core (3.1 GHz) 8 MB L2 + 8 MB shared L3 RAM: 12 GB 1333 MHz DDR3 4 DIMM U