Error in starting OC4J
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 suggest
Are 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...
Similar Messages
-
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 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. -
Hi,
I have installed OBIEE 10.1.3.4 and tried to start OC4j but i am getting the below error: Can someone help me in solving this error.
2009-11-05 13:32:57.045 ERROR ServerFile[PersistentMap,/C:/oracle/bise1/bi/oc4j_
bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Reso
lve the sharing violation by ending the process currently holding the file lock
or by using a different persistence directory for one or both processes.
09/11/05 13:32:57 *** (SEVERE) ServerFile[PersistentMap,/C:/oracle/bise1/bi/oc4j
_bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Res
olve the sharing violation by ending the process currently holding the file lock
or by using a different persistence directory for one or both processes.
2009-11-05 13:32:57.107 ERROR Failed to set the internal configuration of the OC
4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/bise1/bi/oc4j_bi/j2ee/hom
e/config/jms.xml]
09/11/05 13:32:57 *** (SEVERE) Failed to set the internal configuration of the O
C4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/bise1/bi/oc4j_bi/j2ee/ho
me/config/jms.xml]
2009-11-05 13:32:57.123 ERROR J2EE OJR-00011 Exception starting JMS server: Fail
ed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerCo
nfig[file:/C:/oracle/bise1/bi/oc4j_bi/j2ee/home/config/jms.xml]
2009-11-05 13:32:57.717 ERROR J2EE RMI-00002 Error starting ORMI server padamsv port 23,791: Address already in use: JVM_Bind
2009-11-05 13:32:57.717 ERROR java.net.BindException: Address already in use: JV
M_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:4
33)
at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.jav
a:347)
at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer
.java:2378)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:966)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:131)
at java.lang.Thread.run(Thread.java:595)
09/11/05 13:32:57 Error starting ORMI server padamsv port 23,791: Addres
s already in use: JVM_Bind
09/11/05 13:32:57 Shutting down OC4J...Thank you. Its working now after i have gone thru the thread Regarding OC4j and tried the options.
-
Non Fatal error while starting oc4j
We are using oc4j 1.0.2.2.1 and jdk version 1.2.2_007
While starting oc4j, we get the following error
A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Warning: Error reading transaction-log file (/D:/j2ee/home/persistence/transaction.state) for recovery: premature end of file
Forced or abrubt (crash etc) server shutdown detected, starting recovery process...
Recovery completed, 0 connections committed and 0 rolled back...
Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
How do we overcome this error.
this dosent affect any other operations of the server. Moreover this error does not happen when we use
jdk 1.3.X versions
Regards
HariHari -- This is a known JVM bug and it is harmless. You may either ignore it or move to the 1.3 JVM.
Thanks -- Jeff -
Getting following error on starting OC4J
Hi,
I'm getting following error when I'm trying to start OC4J.
D:\Bkup\oc4j10i_extended\j2ee\home>rem cd ..\..
Starting OC4J...
java version "1.4.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode)
03/07/09 23:45:48 java.lang.NullPointerException
03/07/09 23:45:48 at oracle.security.jazn.oc4j.JAZNUserManager.init(JAZNUserManager.java:444)
03/07/09 23:45:48 at oracle.security.jazn.oc4j.JAZNUserManager.<init>(JAZNUserManager.java:185)
03/07/09 23:45:48 at com.evermind.server.XMLServerConfig.mkUserManager(XMLServerConfig.java:177)
03/07/09 23:45:48 at com.evermind.server.XMLServerConfig.initUserManager(XMLServerConfig.java:331)
03/07/09 23:45:48 at com.evermind.server.XMLServerConfig.initUserManagers(XMLServerConfig.java:238)
03/07/09 23:45:48 at com.evermind.server.XMLServerConfig.postInit(XMLServerConfig.java:642)
03/07/09 23:45:48 at com.evermind.server.deployment.EnterpriseArchive.postInit(EnterpriseArchive.java:997)
03/07/09 23:45:48 at com.evermind.xml.XMLConfig.init(XMLConfig.java:185)
03/07/09 23:45:48 at com.evermind.xml.XMLConfig.init(XMLConfig.java:94)
03/07/09 23:45:48 at com.evermind.server.deployment.EnterpriseArchive.init(EnterpriseArchive.java:1654)
03/07/09 23:45:48 at com.evermind.server.ServerComponent.init(ServerComponent.java:193)
03/07/09 23:45:48 at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfig(XMLApplicationServerConfig.java:1639)
03/07/09 23:45:48 at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:284)
03/07/09 23:45:48 at com.evermind.xml.XMLConfig.init(XMLConfig.java:185)
03/07/09 23:45:48 at com.evermind.xml.XMLConfig.init(XMLConfig.java:94)
03/07/09 23:45:48 at com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig.java:1933)
03/07/09 23:45:48 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
03/07/09 23:45:48 at java.lang.Thread.run(Thread.java:536)
03/07/09 23:45:48 Fatal error: Cannot instantiate ApplicationServerThread AND not in embedded mode - forcing exit
can anyone tell me what may be the reason for it ?
This is a stand alone OC4J Instance.
Thanks
RahulHi Rahul,
You do know that stand-alone OC4J (by default) only works with JDK 1.3.1 -- not 1.4.1? However, OC4J can be configured to work with JDK 1.4.1. How to do this has been discussed many times previously in this forum -- just search the forum for "jdk 1.4" (I got 146 hits when I tried it).
So either configure OC4J to work with JDK 1.4.1 or use JDK 1.3.1
Hope this has helped you.
Good Luck,
Avi. -
It is error to start oc4j server
Administrator 14:53:50
C:\oc4j\bin>oc4j -start
Starting OC4J from C:\oc4j\j2ee\home ...
2010-4-20 14:49:42 com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
10/04/20 14:49:46 WARN: Application.setConfig Application: default is in failed
state as initialization failed.
java.lang.NullPointerException
10/04/20 14:49:46 Error initializing server: Application: default is in failed s
tate as initialization failed
10/04/20 14:49:47 Fatal error: server exiting
Edited by: user13005697 on 2010-4-19 下午11:57The error message
"This class was compiled for a newer version of the JRE. Expected version
48.0, found 49.0."
has the following meaning: you start OC4J with JDK 1.4 but the classes in the ear are compiled for JDK 1.5 (aka Java 5).
Best,
Manfred -
No such method error when starting OC4J 1.3 Developer's Preview
Hi,
Having run 1.0.2.2.1 successfully I've now installed OC4J 1.3 Developer's Preview version. When I start up the server (java -jar oc4j.jar) I get the following error:
java.lang.NoSuchMethodError
at org.apache.crimson.tree.XmlDocumentBuilder.startDTD(XmlDocumentBuilder.java:615)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1131)
I'm executing the commmand from the same directory as oc4j.jar and have the CLASSPATH set as follows:
E:\Oracle\iSuites\j2ee\home\ejb.jar;
E:\Oracle\iSuites\j2ee\home\jndi.jar;
E:\Oracle\iSuites\j2ee\home\oc4j.jar;
e:\oracle\isuites\j2ee\home\crimson.jar
Any ideas ?
Cheers,
GeoffHi 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. -
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 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 Message starting up OC4J from JDeveloper
Has anyone seen this error message before. It occurs on startup of the OC4J server from JDeveloper. The tiles-def.xml looks fine and everything works the way I expect but these error messages which occur for every tile definition slow things down when starting up.
2005-03-22 09:49:12,018 ERROR [HttpRequestHandler-74] org.apache.commons.digester.Digester (Digester.java:1463) - Parse Error at line 4 column 19: <Line 4, Column 19>: XML-20149: (Error) Element 'tiles-definitions' used but not declared.
org.xml.sax.SAXParseException: <Line 4, Column 19>: XML-20149: (Error) Element 'tiles-definitions' used but not declared.
2005-03-22 09:49:12,018 ERROR [HttpRequestHandler-74] org.apache.commons.digester.Digester (Digester.java:1463) - Parse Error at line 9 column 13: <Line 9, Column 13>: XML-20149: (Error) Element 'definition' used but not declared.
org.xml.sax.SAXParseException: <Line 9, Column 13>: XML-20149: (Error) Element 'definition' used but not declared.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:404)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:273)I got similar error while starting my server which uses struts . I resolved by adding following line in my struts config file
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
Any one's comments
regards
Yogesh Dhake -
Hi, I'm getting the following error when I try to start OC4J. Can anyone tell me what the problem might be?
2006-08-01 15:08:53.444 WARNING J2EE DS0083 Exception occurred getting the statistics from the Impli
cit Connection Cache named 'Example Connection Pool_default'. Exception: 'java.lang.NoSuchMethodErro
r: oracle.jdbc.pool.OracleConnectionCacheManager.getStatistics(Ljava/lang/String;)Ljava/util/Map;'Wendy,
Judging from the error message, my guess is you are using OC4J 10.1.3
(Sorry, couldn't find that detail in your post.)
This means you are probably using "ojdbc14.jar" JDBC driver.
Looking at the javadoc for class "OracleConnectionCacheManager", there definitely is no method "getStatistics()".
Perhaps post the entire error message and stack trace you are getting, as well as the section of your code that is causing the error.
Also, the following details may also help:
* OC4J version you are using
* JDK version you are using
* Oracle database version you are using
* platform you are on
Good Luck,
Avi. -
JAZNInitException error - Starting OC4J ---- Nobody answers??? :(
Hi!
I've installed Oracle Developer Suite 10.1.2.0.2 (OC4J embedded), without patches at this moment.
When I try starting OC4J (startinst.bat), it gives me the following error:
C:\oracle\oradev10g\j2ee\DevSuite>C:\oracle\oradev10g\jdk\bin\java -Doracle.security.jazn.config=C:\oracle\oradev10g\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\oracle\oradev10g -DORACLE_HOME=C:\oracle\oradev10g -jar C:\oracle\oradev10g\j2ee\home\oc4j.jar -userThreads -config C:\oracle\oradev10g\j2ee\DevSuite\config\server.xml
file:/C:/oracle/oradev10g/j2ee/DevSuite/application-deployments/forms/jazn-data.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
*08/10/09 11:57:43 Error instantiating application at file:/C:/oracle/oradev10g/forms/j2ee/formsapp.ear: Constructing UserManager for forms:caught oracle.security.jazn.JAZNInitException: Start of root element expected.*
*08/10/09 11:57:44 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized*
Any suggestions? Thanks!!
Edited by: Moises Raul on Oct 10, 2008 8:45 AMMoises,
The error you posted looks like an XML error. Check to verify the well-formedness (I don't like that word!) of the server.xml.
The beginning of your server.xml file should look like:
<?xml version="1.0"?>
<application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" application-directory="../applications"
check-for-updates="adminClientOnly"
deployment-directory="../application-deployments"
connector-directory="../connectors"
schema-major-version="10" schema-minor-version="0" >This must be closed, with </<application-server> at the end of your server XML file. This is the root element of your server.xml.
XML Error messages:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_ermg.htm#BABBEFCE
-Mike
Maybe you are looking for
-
Multiple Apple ID question -ITunes Producer
I have 3 Apple id's 1. personal 2. Apple developer - ITunes Connect ( to upload epubs to MY Apple I Bookstore account) 3. ITunes Connect - As a managed user ( delivery only) for a client of mine ( to upload epubs to their Apple I Bookstore account)
-
LMDB lock at Solution Manager 7.1 SP03
Hello everyone, During the configuration of Solution Manger 7.1 SPS03 on Windows srv 2008 r2 SP1 x64 with DB2 LUW 97.FP4 we have an error after synchronization between SLD and LMDB. When we check ABAP runtime error (ST22), every 10 minuts the same er
-
Nokia C6-01 Belle and six desktops issues
Good day to all! Question - how to c6-01 to include two more desktops? (expressed for the six, and I waslike 4 and left) Solved! Go to Solution.
-
How to detect and fix an abnormal client
Hello, In my environment there is some abnormal client (there is only few actions in the client actions or its blank and in the sccm console the client is no or null) Usually we run a script to rebuild the wmi repository and it fix that and if it doe
-
Running Nik Collection in Photoshop CC.
I just upgraded from Photoshop 5.1 where I was running Google's Nik Collection to Photoshop CC. How do I get Nik Collection to run in CC?