I deployed a simple EAR into OC4J.
I had uncommented the "search class loader" instruction in the orion-web.xml and my webapp runs well in tomcat. But in OC4J 10.1.2 I have the following error on the startup of the component and on deployment:
05/06/24 09:16:02 java.lang.ExceptionInInitializerError
05/06/24 09:16:02 at java.lang.Class.forName0(Native Method)
05/06/24 09:16:02 at java.lang.Class.forName(Class.java:219)
05/06/24 09:16:02 at com.evermind.server.http.HttpApplication.initDefaultServlets(HttpApplication.java:4948) 05/06/24 09:16:02 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:746) 05/06/24 09:16:02 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:542) 05/06/24 09:16:02 at com.evermind.server.Application.getHttpApplication(Application.java:889) 05/06/24 09:16:02 at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:690) 05/06/24 09:16:02 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:586) 05/06/24 09:16:02 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263) 05/06/24 09:16:02 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:261) 05/06/24 09:16:02 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:162) 05/06/24 09:16:02 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2385) 05/06/24 09:16:02 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1542) 05/06/24 09:16:02 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
05/06/24 09:16:02 at java.lang.Thread.run(Thread.java:534)
05/06/24 09:16:02 Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ExceptionInInitializerError (Caused by java.lang.ExceptionInInitializerError) 05/06/24 09:16:02 at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538) 05/06/24 09:16:02 at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) 05/06/24 09:16:02 at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) 05/06/24 09:16:02 at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37) 05/06/24 09:16:02 at org.apache.axis.transport.http.AxisHTTPSessionListener.<clinit>(AxisHTTPSessionListener.java:33)
05/06/24 09:16:02 ... 15 more
05/06/24 09:16:02 Caused by: java.lang.ExceptionInInitializerError
05/06/24 09:16:02 at org.apache.log4j.Logger.getLogger(Logger.java:85)
05/06/24 09:16:02 at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229) 05/06/24 09:16:02 at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65) 05/06/24 09:16:02 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 05/06/24 09:16:02 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 05/06/24 09:16:02 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 05/06/24 09:16:02 at java.lang.reflect.Constructor.newInstance(Constructor.java:274) 05/06/24 09:16:02 at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
05/06/24 09:16:02 ... 19 more
05/06/24 09:16:02 Caused by: java.lang.ClassCastException
05/06/24 09:16:02 at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:29) 05/06/24 09:16:02 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644) 05/06/24 09:16:02 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 05/06/24 09:16:02 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 05/06/24 09:16:02 at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 05/06/24 09:16:02 at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
05/06/24 09:16:02 ... 27 more

Thanks in advance

Alexandre

Reply via email to