axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iyengar, Kumar" <kumar_iyen...@bmc.com>
Subject RE: axis2 1.4.1 and Rampart 1.4 issue
Date Wed, 04 Feb 2009 08:49:21 GMT
According to the Readme just copying the rampart1.4.mar file to the
modules directory is sufficient.

 

[ERROR] The rampart-1.4.mar module, which is not valid, caused
org.apache.rampart.Rampart

org.apache.axis2.deployment.DeploymentException:
org.apache.rampart.Rampart

 

...

 

Thanks,

 

--kumar

________________________________

From: Nandana Mihindukulasooriya [mailto:nandana.cse@gmail.com] 
Sent: Monday, February 02, 2009 8:18 PM
To: axis-dev@ws.apache.org
Subject: Re: axis2 1.4.1 and Rampart 1.4 issue

 

Did you copy rampart and all the dependency jars to lib directory ?

thanks,
nandana 

On Tue, Feb 3, 2009 at 4:26 AM, Iyengar, Kumar <kumar_iyengar@bmc.com>
wrote:

 

Hi all,

 

I was trying to setup UsernameToken with Axis2 1.4.1 and Rampart 1.4 and
get the following error below. I checked and found the following entry
in JIRA but it does not exactly match the error that I get. Does anyone
know if the issue I am seeing is fixed or if there is a workaround? 

 

Thanks for any help,

 

--kumar

 

>>>>>>JIRA entry:

Make AXIS2 1.4.1 compatible with Rampart/Rahas/Adressing

--------------------------------------------------------

 

                 Key: AXIS2-3989

                 URL: https://issues.apache.org/jira/browse/AXIS2-3989

             Project: Axis 2.0 (Axis2)

          Issue Type: Improvement

    Affects Versions: 1.4.1

         Environment: Win32 (WinXP), AXIS2 1.4.1, Rampart 1.4, Rahas 1.4

            Reporter: Thomas Poetter

            Priority: Blocker

 

 

When starting AXIS2 1.4.1 with the existing services and Rampart 1.4,
Rahas 

1.4, the following error messages appear:

 

[ERROR] The rahas-1.4.mar module, which is not valid, caused A 

ClassNotFoundException error occurred in loading the message receiver 

org.apache.rahas.STSMessageReceiver

org.apache.axis2.deployment.DeploymentException: A
ClassNotFoundException error 

occurred in loading the message receiver
org.apache.rahas.STSMessageReceiver

        at 

org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
ive(ArchiveReader.java:531)

        at 

org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71
)

        at 

org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De
ploymentFileData.java:136)

        at 

org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:597)

        at 

org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j
ava:237)

        at 

org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.
java:68)

        at 

org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener
.java:63)

        at 

org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
gine.java:147)

        at 

org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
FileSystemConfigurator.java:133)

        at 

org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(Confi

 

 

>>>>>>MY ERROR:

[ERROR] The rampart-1.4.mar module, which is not valid, caused
org.apache.rampart.Rampart

org.apache.axis2.deployment.DeploymentException:
org.apache.rampart.Rampart

            at
org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
ive(ArchiveReader.java:531)

            at
org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71
)

            at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De
ploymentFileData.java:136)

            at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:597)

            at
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j
ava:237)

            at
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.
java:68)

            at
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener
.java:63)

            at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
gine.java:147)

            at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguratio
n(WarBasedAxisConfigurator.java:229)

            at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:68)

            at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:516)

            at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)

            at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105)

            at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

            at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3917)

            at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4201
)

            at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va: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:809)

            at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)

            at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

            at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)

            at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
0)

            at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)

            at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

            at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

            at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

            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:709)

            at
org.apache.catalina.startup.Catalina.start(Catalina.java:551)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)

            at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

Caused by: org.apache.axis2.deployment.DeploymentException:
org.apache.rampart.Rampart

            at
org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.j
ava:221)

            at
org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch
ive(ArchiveReader.java:518)

            ... 37 more

Caused by: org.apache.axis2.deployment.DeploymentException:
org.apache.rampart.Rampart

            at
org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.
java:84)

            at
org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.j
ava:102)

            ... 38 more

Caused by: java.lang.ClassNotFoundException: org.apache.rampart.Rampart

            at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1352)

            at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1198)

            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.axis2.util.Loader.loadClass(Loader.java:261)

            at org.apache.axis2.util.Loader.loadClass(Loader.java:229)

            at
org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.
java:68)

            ... 39 more

[INFO] Deploying module: soapmonitor-1.41 - file:/C:/Program
Files/Apache Software
Foundation/Tomcat-5.5.17/webapps/axis2/WEB-INF/modules/soapmonitor-1.41.
mar

[INFO] Deploying Web service: StockQuoteService.aar - file:/C:/Program
Files/Apache Software
Foundation/Tomcat-5.5.17/webapps/axis2/WEB-INF/services/StockQuoteServic
e.aar

[INFO] Deploying Web service: version-1.4.1.aar - file:/C:/Program
Files/Apache Software
Foundation/Tomcat-5.5.17/webapps/axis2/WEB-INF/services/version-1.4.1.aa
r

- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.

 


Mime
View raw message