axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: [AXIS2] Cannot deploy rampart under Tomcat
Date Sun, 12 Nov 2006 01:50:16 GMT
Lijun/Ruchith
There seems to be a conflict with at least 2 versions of ww4j-SNAPSHOT.jar supplied in Axis-2_1
distro

05/04/2006  11:32 PM           536,118 wss4j-1.5.0.jar
07/12/2006  07:24 PM           349,492 wss4j-SNAPSHOT.jar
               2 File(s)        885,610 bytes

 Directory of \AXIS\Axis-2_1\src\target\lib

09/12/2006  08:00 AM           352,879 wss4j-SNAPSHOT.jar

which one are you using?
M-

This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
contents
----- Original Message ----- 
From: "Ruchith Fernando" <ruchith.fernando@gmail.com>
To: <axis-user@ws.apache.org>
Sent: Saturday, November 11, 2006 8:44 PM
Subject: Re: [AXIS2] Cannot deploy rampart under Tomcat


> Hi Lijun,
> 
> Since WSSConfig class was loaded it seems that wss4j classes are
> loading properly. STRTransform should be available in the
> wss4j-SNAPSHOT.jar.
> 
> Can you please try :
> $ jar -tvf wss4j-SNAPSHOT.jar |grep STRTransform
> and verify this please?
> 
> Thanks,
> Ruchith
> 
> On 11/11/06, Lijun Liao <lijun.liao@rub.de> wrote:
>> Hi,
>>
>> I'm using axis2 1.1 nigtly build and rampart 1.1 nightly build of
>> 11-11-2006 on a tomcat 5.5.15 servlet container. I am using JDK 1.5.03,
>> and when I tried to load Axis2 without the module rampart everythint was
>> working properly. With rampart module I got the error message indicating
>> that the class org.apache.ws.security.transform.STRTransform cannot be
>> found. This class is in the wss4j-SNAPSHOT.jar within the directory lib
>> of the rampart-SNAPSHOT.mar. I have tried to move wssj-SNAPSHOT.jar to
>> %AXIS2_HOME%\WEB-INF\lib or %CATALINA_HOME%\shared\lib, and I have also
>> tested all methods under both both Windows XP and Linux SUSE 10.0, and I
>> have also tested the AXIS 1.0 and rampart 1.0 stable version, but always
>> the same error message. Can anyone tell me why and how to solve such
>> problem?
>>
>> Thanks,
>>
>> Lijun
>>
>> Error Message:
>>
>> Using CATALINA_BASE:   D:\apache-tomcat-5.5.15
>> Using CATALINA_HOME:   D:\apache-tomcat-5.5.15
>> Using CATALINA_TMPDIR: D:\apache-tomcat-5.5.15\temp
>> Using JRE_HOME:        C:\Program Files\Java\jdk1.5.0_03\jre
>>
>> 2006-11-11 21:05:04 org.apache.catalina.core.AprLifecycleListener
>> lifecycleEvent
>>
>> INFO: The Apache Tomcat Native library which allows optimal performance
>> in production environments was not found on the java.library.path:
>> C:\Program Files\Java
>> \jdk1.5.0_03\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\texmf\miktex\bin;C:\"Program
>>
>> Files"\Java\jdk1.5.0_03\jre\bin;C:\"Program Files"\Java\jdk1.5.0_03\bin;C:
>> \WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\ATI Technologies\ATI Control Panel;C:\Program
>> Files\UltraEdit;C:\Program Files\GNU\GnuPG;
>> D:\jwsdp-2.0\jwsdp-shared\bin;D:\arbeit\jwsdp-1.5\jwsdp-shared\bin;D:\software\apache-ant-1.6.2\bin
>> 2006-11-11 21:05:04 org.apache.coyote.http11.Http11BaseProtocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8080
>> 2006-11-11 21:05:04 org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 719 ms
>> 2006-11-11 21:05:05 org.apache.catalina.core.StandardService start
>> INFO: Starting service Catalina
>> 2006-11-11 21:05:05 org.apache.catalina.core.StandardEngine start
>> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
>> 2006-11-11 21:05:05 org.apache.catalina.core.StandardHost start
>> INFO: XML validation disabled
>> 2006-11-11 21:05:05 org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive axis2.war
>> 2006-11-11 21:05:06 org.apache.axis2.deployment.DeploymentEngine doDeploy
>> INFO: Deploying module : addressing-1.1
>> java.lang.ClassNotFoundException:
>> org.apache.ws.security.transform.STRTransform
>>          at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>          at java.security.AccessController.doPrivileged(Native Method)
>>          at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>          at java.lang.Class.forName0(Native Method)
>>          at java.lang.Class.forName(Class.java:164)
>>          at org.apache.xml.security.transforms.Transform.register(Unknown
>> Source)
>>
>>          at org.apache.ws.security.WSSConfig.<init>(WSSConfig.java:83)
>>          at
>> org.apache.ws.security.WSSConfig.getNewInstance(WSSConfig.java:95)
>>          at org.apache.ws.security.WSSConfig.<clinit>(WSSConfig.java:47)
>>          at
>> org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:51)
>>          at
>> org.apache.ws.security.handler.WSHandler.<clinit>(WSHandler.java:62)
>>          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
>> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:69)
>>
>>          at
>> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:326)
>>          at
>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:598)
>>          at
>> org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:184)
>>          at
>> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
>>          at
>> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:104)
>>          at
>> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:199)
>>          at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
>>          at
>> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
>>          at
>> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
>>          at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>>          at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>>          at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
>>          at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
>>          at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>>          at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>>          at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>>          at
>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
>>
>>          at
>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
>>          at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>>          at
>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
>>          at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>>          at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>          at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
>>          at
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>>          at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>>
>>          at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>>          at
>> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>>          at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
>>          at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>          at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>          at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>          at java.lang.reflect.Method.invoke(Method.java:585)
>>          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>>          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> 2006-11-11 21:05:07 org.apache.axis2.deployment.DeploymentEngine doDeploy
>> INFO: Deploying module : rampart-1.1
>> 2006-11-11 21:05:07 org.apache.axis2.deployment.DeploymentEngine doDeploy
>> INFO: Deploying module : soapmonitor-1.1
>> 2006-11-11 21:05:07 org.apache.axis2.deployment.DeploymentEngine doDeploy
>> INFO: Deploying Web service  version.aar
>> 2006-11-11 21:05:08 org.apache.coyote.http11.Http11BaseProtocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> 2006-11-11 21:05:08 org.apache.jk.common.ChannelSocket init
>> INFO: JK: ajp13 listening on /0.0.0.0:8009
>> 2006-11-11 21:05:08 org.apache.jk.server.JkMain start
>> INFO: Jk running ID=0 time=0/62  config=null
>> 2006-11-11 21:05:08 org.apache.catalina.storeconfig.StoreLoader load
>> INFO: Find registry server-registry.xml at classpath resource
>> 2006-11-11 21:05:08 org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 3437 ms
>>
>>
>>
>>
> 
> 
> -- 
> www.ruchith.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>
Mime
View raw message