Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 16513 invoked from network); 2 Feb 2009 22:55:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 22:55:09 -0000 Received: (qmail 94968 invoked by uid 500); 2 Feb 2009 22:54:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 94788 invoked by uid 500); 2 Feb 2009 22:54:56 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 94729 invoked by uid 99); 2 Feb 2009 22:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 14:54:55 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.147.192.8] (HELO creeper.bmc.com) (198.147.192.8) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Feb 2009 22:54:48 +0000 Received: from svl-ec-01.adprod.bmc.com (svl-ec-01.adprod.bmc.com [172.20.5.28]) by creeper.bmc.com (Postfix) with ESMTP id 6E61213006E for ; Mon, 2 Feb 2009 16:54:26 -0600 (CST) Received: from svl-ex-02.adprod.bmc.com ([10.40.33.32]) by svl-ec-01.adprod.bmc.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 2 Feb 2009 14:54:26 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C98589.3285E804" Subject: axis2 1.4.1 and rampart 1.4 issue Date: Mon, 2 Feb 2009 14:54:25 -0800 Message-ID: <465DBCA71A54304192754F0FCBF31CF90E9DC81E@svl-ex-02.adprod.bmc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: axis2 1.4.1 and rampart 1.4 issue Thread-Index: AcmFiTIcu8MF34x1R8eU0WJ0vLg2KA== From: "Iyengar, Kumar" To: X-OriginalArrivalTime: 02 Feb 2009 22:54:26.0301 (UTC) FILETIME=[329E2AD0:01C98589] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C98589.3285E804 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 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?=20 =20 Thanks for any help, =20 --kumar =20 >>>>>>JIRA entry: Make AXIS2 1.4.1 compatible with Rampart/Rahas/Adressing -------------------------------------------------------- =20 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 =20 =20 When starting AXIS2 1.4.1 with the existing services and Rampart 1.4, Rahas=20 1.4, the following error messages appear: =20 [ERROR] The rahas-1.4.mar module, which is not valid, caused A=20 ClassNotFoundException error occurred in loading the message receiver=20 org.apache.rahas.STSMessageReceiver org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException error=20 occurred in loading the message receiver org.apache.rahas.STSMessageReceiver at=20 org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArch ive(ArchiveReader.java:531) at=20 org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71 ) at=20 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De ploymentFileData.java:136) at=20 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j ava:597) at=20 org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j ava:237) at=20 org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener. java:68) at=20 org.apache.axis2.deployment.RepositoryListener.(RepositoryListener .java:63) at=20 org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn gine.java:147) at=20 org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration( FileSystemConfigurator.java:133) at=20 org.apache.axis2.context.ConfigurationContextFactory.createConfiguration Context(Confi =20 =20 >>>>>>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.(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. ------_=_NextPart_001_01C98589.3285E804 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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<= /font>

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.ArchiveRea= der.readModuleArchive(ArchiveReader.java:531)

        at =

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

        at =

org.apache.axis2.deployment.repository.util.Deployment= FileData.deploy(DeploymentFileData.java:136)

=

        at =

org.apache.axis2.deployment.DeploymentEngine.doDeploy(= DeploymentEngine.java:597)

        at =

org.apache.axis2.deployment.RepositoryListener.init(Re= positoryListener.java:237)

        at =

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

        at =

org.apache.axis2.deployment.RepositoryListener.<ini= t>(RepositoryListener.java:63)

        at =

org.apache.axis2.deployment.DeploymentEngine.loadRepos= itory(DeploymentEngine.java:147)

        at =

org.apache.axis2.deployment.FileSystemConfigurator.get= AxisConfiguration(FileSystemConfigurator.java:133)

        at =

org.apache.axis2.context.ConfigurationContextFactory.c= reateConfigurationContext(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.readModuleArchi= ve(ArchiveReader.java:531)

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

         =    at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Dep= loymentFileData.java:136)

         =    at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.ja= va:597)

         =    at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.ja= va:237)

         =    at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.j= ava:68)

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

         =    at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEng= ine.java:147)

         =    at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration= (WarBasedAxisConfigurator.java:229)

         =    at = org.apache.axis2.context.ConfigurationContextFactory.createConfigurationC= ontext(ConfigurationContextFactory.java:68)

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

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

         =    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.ja= va:3917)

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

         =    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav= a: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:310= )

         =    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup= port.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)<= o:p>

         =    at = org.apache.catalina.core.StandardServer.start(StandardServer.java:709)

         =    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)<= /span>

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

         =    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39)

         =    at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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.ja= va:221)

         =    at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchi= ve(ArchiveReader.java:518)

         =    ... 37 more

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

         =    at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.j= ava:84)

         =    at = org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.ja= va: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)<= /span>

         =    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.j= ava: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.m= ar

[INFO] Deploying Web service: StockQuoteService.aar - file:/C:/Program Files/Apache Software Foundation/Tomcat-5.5.17/webapps/axis2/WEB-INF/services/StockQuoteService= .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.aar=

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

------_=_NextPart_001_01C98589.3285E804--