axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Langisch <li...@langisch.ch>
Subject Re: [Axis2] NoClassDefFoundError with 0.93 on OC4J
Date Tue, 06 Dec 2005 09:10:57 GMT
Problem solved by adding orion-web.xml with following content to the
Axis2 WEB-INF:

<orion-web-app>
  <web-app-class-loader search-local-classes-first="true" />
</orion-web-app>

Once again a problem with already existent libraries in the application
server classpath.

Thanks
Yves

On Tue, 2005-12-06 at 08:35 +0100, Yves Langisch wrote:
> With the new version 0.93 I get following exception when accessing
> listServices.jsp or sending a message to my service. Version 0.92 worked
> fine. AppServer is Oracle Application Server 10.1.2 (OC4J). Any ideas
> what could be wrong? I just deployed the new axis2.war with my simple
> echo service.
> 
> java.lang.NoClassDefFoundError: org.apache.ws.security.handler.WSHandler
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:219)
> 	at
> org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:134)
> 	at
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:116)
> 	at
> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:455)
> 	at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:558)
> 	at
> org.apache.axis2.deployment.listener.RepositoryListenerImpl.init(RepositoryListenerImpl.java:115)
> 	at
> org.apache.axis2.deployment.listener.RepositoryListenerImpl.<init>(RepositoryListenerImpl.java:59)
> 	at
> org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:217)
> 	at
> org.apache.axis2.context.ConfigurationContextFactory.buildConfigurationContext(ConfigurationContextFactory.java:35)
> 	at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:61)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2141)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4582)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2608)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:648)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:278)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:120)
> 	at com.evermind[Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.0)].util.ReleasableResourcePooledExecutor
> $MyWorker.run(ReleasableResourcePooledExecutor.java:192)
> 	at java.lang.Thread.run(Thread.java:534)
> 
> Thanks
> Yves
> 


Mime
View raw message