Hi,

If you are using the security module distributed with Axis2-0.95
please make sure you have  the following jars in the classpath (for a
service in Tomcat its the WEB-INF/lib directory):

  - bcprov-jdk13-131.jar
 - commons-discovery-0.2.jar
 - wss4j-SNAPSHOT.jar
 - xmlsec-1.2.1.jar

All these are available in the Axis2-std-0.95-bin distro in the
"samples/security/lib" directory.

Also since you are using JDK 1.5 you will have to use xalan-2.6.jar as well.

Thanks,
Ruchith

On 4/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello, I can't get the security module to work. I am using Tomcat 5.5, JDK 
> 1.5 and
> Axis 2 0.95 (bin-download). I added <module ref="security"/> in axis2.xml
> (after addressing) and placed the security.mar in
> tomcat/webapps/axis2/web-inf/modules. To visit
> http://localhost:8080/axis2/listServices shows me this error:
>
> java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
> ...
>
> Well i found: delete wss4j-SNAPSHOT.jar and download xalan.jar to fix the
> problem but it doesnt work for me, it says
>
> javax.servlet.ServletException: Trying to engage a module which is not
> available : security; nested exception is:
> org.apache.axis2.AxisFault: Trying to engage a module which is!   not
> available : security
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:215)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>  
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>  
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>  
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>  java.lang.Thread.run(Unknown Source)
>
> Does anyone knows a solution?
>
> Thanks for your help :)
>
>
>
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Reply via email to