Hi,

I don't know wheter it's related with your problem, but
wss4j-SNAPSHOT.jar is required for security module. I am able to run
security module with the following libraries which reside under
%CATALINA_HOME%\webapps\axis2\WEB-INF\lib:
-----------------------------------------------------------
23.03.2006  20:04           669.731 axis2-kernel-0.95.jar
23.03.2006  20:04            94.037 axis2-adb-0.95.jar
23.03.2006  20:04           132.518 axis2-doom-0.95.jar
23.03.2006  20:04           196.902 axis2-codegen-0.95.jar
23.03.2006  20:04           126.771 axis-wsdl4j-1.2.jar
23.03.2006  20:04         2.637.587 xbean-2.1.0.jar
23.03.2006  20:04            46.725 commons-codec-1.3.jar
23.03.2006  20:04            31.528
geronimo-spec-activation-1.0.2-rc4.jar
23.03.2006  20:04            39.688 policy-1.0.jar
23.03.2006  20:04           232.272 jaxen-1.1-beta-7.jar
23.03.2006  20:04         1.203.860 xercesImpl-2.7.1.jar
23.03.2006  20:04            93.418 axiom-api-0.95.jar
23.03.2006  20:04            26.396 stax-api-1.0.jar
23.03.2006  20:04           102.940 XmlSchema-SNAPSHOT.jar
23.03.2006  20:04           248.639 annogen-0.1.0.jar
23.03.2006  20:04            22.379 commons-fileupload-1.0.jar
23.03.2006  20:04           389.968 wstx-asl-2.8.2.jar
23.03.2006  20:04            30.838 geronimo-spec-jms-1.1-rc4.jar
23.03.2006  20:04           112.700
geronimo-spec-javamail-1.3.1-rc5.jar
23.03.2006  20:04           245.992
backport-util-concurrent-2.0_01_pd.jar
23.03.2006  20:04           194.205 xml-apis-1.3.02.jar
23.03.2006  20:04            38.015 commons-logging-1.0.4.jar
23.03.2006  20:04           279.383 commons-httpclient-3.0.jar
23.03.2006  20:04           102.077 axiom-impl-0.95.jar
23.03.2006  20:04           358.180 log4j-1.2.13.jar
23.03.2006  20:04            63.798 xmlunit-1.0.jar
23.03.2006  19:03         1.105.457 bcprov-jdk13-131.jar
23.03.2006  19:03            71.442 commons-discovery-0.2.jar
23.03.2006  19:03           343.243 wss4j-SNAPSHOT.jar
23.03.2006  19:03           292.712 xmlsec-1.2.1.jar
25.03.2006  17:43         3.149.655 xalan-2.6.0.jar
-----------------------------------------------------------

If you were able to run Security sample comes with Axis2 distribution,
you would apply the same logic into your code.

I used to have similar problems last month. You can follow postings
with the subject of "[Axis2][0.95][JDK1.4 and JDK 1.5] Still got
security sample problems :)".

Regards,

Ali Sadik Kumlali


--- [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
> [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*
> [http://f.web.de/?mc=021192] 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to