What missing jars? I added Rampart 1.4 mar file to the modules directory as per the instructions in the ReadMe file. I get the 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.readModuleAr > chive(ArchiveReader.java:531) >... Thanks for any help, --kumar -----Original Message----- From: Andrei Ivanov [mailto:[email protected]] Sent: Tuesday, February 03, 2009 12:22 AM To: [email protected] Subject: Re: axis2 1.4.1 and rampart 1.4 issue On Tue, Feb 3, 2009 at 12:54 AM, Iyengar, Kumar <[email protected]> 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? Why don't you add the missing jars? You can see in the exception what classes are missing... > > > > 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.
