Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 73178 invoked from network); 16 Feb 2011 14:20:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 14:20:20 -0000 Received: (qmail 86175 invoked by uid 500); 16 Feb 2011 14:20:20 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 85544 invoked by uid 500); 16 Feb 2011 14:20:16 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 85536 invoked by uid 99); 16 Feb 2011 14:20:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:20:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thilinamb@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:20:08 +0000 Received: by ywa8 with SMTP id 8so689356ywa.32 for ; Wed, 16 Feb 2011 06:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=U8h5NbOsGX1jtgWYID/mdG7wVnZhLl4A7hft+Vzdsag=; b=VPXPC1qSHfqk57qGKuF9k5Lz9v9igoeYZySzJMStxs34p8pWb5et28QdCSb+o8MHJk d3fP0D3QXzho2yBsJ08svl8T2VeRQZW3KBcACXMn+sGQCf/WaXpGFK5VAx2MkVHG4Pu2 b4BfFSKbFHusAAjD1F+WGHE4ZhOsqQGHwW+5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lTF+sR6rmbGtUNZyqAcC0tHrA5+NBx4qLO/2FXvAoL2j1TyShSynpk2NXTyP6dDruP qphUx33GQJ7302w2Nq3vyJHX38m+ucF+6y1GtMP7VZiVJ4C7LgtYETkn+meMmpvy83Nj 9VlhCTaHFIUca1/a/GlVfr6zD5GAAmY97UAlk= MIME-Version: 1.0 Received: by 10.90.47.8 with SMTP id u8mr828752agu.167.1297865986757; Wed, 16 Feb 2011 06:19:46 -0800 (PST) Received: by 10.91.153.3 with HTTP; Wed, 16 Feb 2011 06:19:46 -0800 (PST) In-Reply-To: References: Date: Wed, 16 Feb 2011 19:49:46 +0530 Message-ID: Subject: Re: Asking about engage rampart with eclipse tools From: Thilina Mahesh Buddhika To: java-dev@axis.apache.org Cc: andrew vn Content-Type: multipart/alternative; boundary=0016e65094ec1b5775049c66f91d X-Virus-Checked: Checked by ClamAV on apache.org --0016e65094ec1b5775049c66f91d Content-Type: text/plain; charset=ISO-8859-1 Hi, It looks like Rampart is successfully engaged at the service's end. And it is failing when you try to engage it from client's end, I think that is what you meant by it is failing in Eclipse. Do you have these .mar files and other Rampart jars in your client's classpath ? If you can share you client code, then it would be much easier to diagnose the issue. Thanks, Thilina On Wed, Feb 16, 2011 at 1:08 PM, andrew vn wrote: > Hi everybody, > > I'm learning about building web service with axis2 and using rampart > modules to encrypt and sign SOAP Message. The details of tools: > > - path of axis2: /usr/local/sun/axis2/axis2-1.4.1 (AXIS2_HOME) > - path of tomcat: /usr/local/sun/tomcat/apache-tomcat-6.0.32 > (TOMCAT_HOME) > - path of java_home: /usr/local/sun/jdk1.6.0_23/ (JAVA_HOME) > - eclipse-helios > > Then, I've copied from *rampart-1.3* directory > > - 2 file *rampart-1.3.mar* and *rahas-1.3.mar* to */usr/local/sun/axis2/axis2-1.4.1/repository/modules > * > - copy all* *jar files in* lib *directory to */usr/local/sun/axis2/axis2-1.4.1/lib > * > > Here's all the jar files in *lib* directory* > activation-1.1.jar axis2-jws-api-1.4.1.jar > geronimo-activation-LICENSE.txt jibx-run-1.1.5.jar > wss4j-1.5.3.jar > activation-LICENSE.txt axis2-kernel-1.4.1.jar > geronimo-annotation_1.0_spec-1.1.jar jibx-run-LICENSE.txt > wss4j-1.5.4.jar > annogen-0.1.0.jar axis2-LICENSE.txt > geronimo-annotation-LICENSE.txt log4j-1.2.15.jar > wss4j-LICENSE.txt > annogen-LICENSE.txt axis2-metadata-1.4.1.jar > geronimo-java-mail-LICENSE.txt log4j-LICENSE.txt > wstx-asl-3.2.4.jar > antlr-LICENSE.txt axis2-mtompolicy-1.4.1.jar > geronimo-stax-api_1.0_spec-1.0.1.jar mail-1.4.jar > wstx-LICENSE.txt > axiom-api-1.2.7.jar axis2-saaj-1.4.1.jar > geronimo-stax-api-LICENSE.txt mail-LICENSE.txt > xalan-2.7.0.jar > axiom-api-LICENSE.txt axis2-saaj-api-1.4.1.jar > httpcore-4.0-beta1.jar mex-1.4.1.jar > xalan-LICENSE.txt > axiom-dom-1.2.7.jar axis2-spring-1.4.1.jar > httpcore-LICENSE.txt neethi-2.0.4.jar > xercesImpl-2.8.1.jar > axiom-dom-LICENSE.txt axis2-xmlbeans-1.4.1.jar > httpcore-nio-4.0-beta1.jar neethi-LICENSE.txt > xercesImpl-LICENSE.txt > axiom-impl-1.2.7.jar backport-util-concurrent-3.1.jar > httpcore-nio-LICENSE.txt opensaml-1.1.jar > xml-apis-1.3.04.jar > axiom-impl-LICENSE.txt backport-util-concurrent-LICENSE.txt > jalopy-1.5rc3.jar opensaml-LICENSE.txt > xml-apis-LICENSE.txt > axis2-adb-1.4.1.jar bcprov-ext-jdk16-145.jar > jalopy-LICENSE.txt rampart-core-1.3.jar > xmlbeans-2.3.0.jar > axis2-adb-codegen-1.4.1.jar bcprov-jdk15-132.jar > jaxb-api-2.1.jar rampart-core-1.4.jar > xmlbeans-LICENSE.txt > axis2-ant-plugin-1.4.1.jar bcprov-jdk16-145.jar > jaxb-api-LICENSE.txt rampart-policy-1.3.jar > xml-resolver-1.2.jar > axis2-clustering-1.4.1.jar commons-codec-1.3.jar > jaxb-impl-2.1.6.jar rampart-policy-1.4.jar > xml-resolver-LICENSE.txt > axis2-codegen-1.4.1.jar commons-codec-LICENSE.txt > jaxb-impl-LICENSE.txt rampart-trust-1.3.jar > XmlSchema-1.4.2.jar > axis2-corba-1.4.1.jar commons-fileupload-1.2.jar > jaxb-xjc-2.1.6.jar rampart-trust-1.4.jar > XmlSchema-LICENSE.txt > axis2-fastinfoset-1.4.1.jar commons-fileupload-LICENSE.txt > jaxb-xjc-LICENSE.txt soapmonitor-1.4.1.jar > xmlsec-1.4.0.jar > axis2-java2wsdl-1.4.1.jar commons-httpclient-3.1.jar > jaxen-1.1.1.jar woden-api-1.0M8.jar > xmlsec-1.4.1.jar > axis2-jaxbri-1.4.1.jar commons-httpclient-LICENSE.txt > jaxen-LICENSE.txt woden-api-LICENSE.txt > xmlsec-LICENSE.txt > axis2-jaxws-1.4.1.jar commons-io-1.4.jar > jettison-1.0-RC2.jar woden-impl-dom-1.0M8.jar > axis2-jaxws-api-1.4.1.jar commons-io-LICENSE.txt > jettison-LICENSE.txt woden-impl-dom-LICENSE.txt > axis2-jibx-1.4.1.jar commons-logging-1.1.1.jar > jibx-bind-1.1.5.jar wsdl4j-1.6.2.jar > axis2-json-1.4.1.jar commons-logging-LICENSE.txt > jibx-bind-LICENSE.txt wsdl4j-LICENSE.txt > > *Then, I start axis2server.sh from bin directory of the axis2: > > */usr/local/sun/axis2/axis2-1.4.1$ bin/axis2server.sh > Using AXIS2_HOME: /usr/local/sun/axis2/axis2-1.4.1 > Using JAVA_HOME: /usr/local/sun/jdk1.6.0_23/ > [INFO] [SimpleAxisServer] Starting > [INFO] [SimpleAxisServer] Using the Axis2 > Repository/usr/local/sun/axis2/axis2-1.4.1/repository > [SimpleAxisServer] Using the Axis2 > Repository/usr/local/sun/axis2/axis2-1.4.1/repository > [SimpleAxisServer] Using the Axis2 Configuration > File/usr/local/sun/axis2/axis2-1.4.1/conf/axis2.xml > [INFO] Deploying module: script-1.41 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/scripting-1.41.mar > [INFO] Deploying module: metadataExchange-1.41 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/mex-1.41.mar > [INFO] Deploying module: soapmonitor-1.41 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/soapmonitor-1.41.mar > [INFO] Deploying module: addressing-1.41 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/addressing-1.41.mar > [INFO] Deploying module: ping-1.41 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/ping-1.41.mar > [INFO] Deploying module: rahas-1.3 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/rahas-1.3.mar > [INFO] Deploying module: rampart-1.3 - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/rampart-1.3.mar > [INFO] Deploying module: smtpfault - > file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/smtpfault.mar > [INFO] Deploying module: metadataExchange - > file:/usr/local/sun/axis2/axis2-1.4.1/lib/mex-1.4.1.jar > [INFO] [SimpleAxisServer] Started > [SimpleAxisServer] Started > [INFO] Listening on port 8080* > > I've successfully started the server and deployed module rampart and rahas. > > > BUT, When i'm using Eclipse to engage 2 modules: rampart and rahas. It have > an error in details: > > *[ERROR] The rampart-1.3.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.readModuleArchive(ArchiveReader.java:531) > at > org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) > at > org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java: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(DeploymentEngine.java:147) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(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.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:55) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) > at > org.apache.catalina.core.StandardService.start(StandardService.java:525) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:754) > at org.apache.catalina.startup.Catalina.start(Catalina.java:595) > 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:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)* > > Please kindly help me to resolve this problems. > > Many thanks > > > -- Thilina Mahesh Buddhika http://blog.thilinamb.com --0016e65094ec1b5775049c66f91d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

It looks like Rampart is successfully engaged at the= service's end. And it is failing when you try to engage it from client= 's end, I think that is what you meant by it is failing in Eclipse.

Do you have these .mar files and other Rampart jars in = your client's classpath ?=A0

If you can share = you client code, then it would be much easier to diagnose the issue.

Thanks,
Thilina

On Wed, Feb 16, 2011 at 1:08 PM, andrew vn &l= t;andrewvn2010@gmail.com><= /span> wrote:
Hi everybody,

I'm learning about building web service with axis2 and using rampa= rt modules to encrypt and sign SOAP Message. The details of tools:
  • path of axis2: /usr/local/sun/axis2/axis2-1.4.1 (AXIS2_HOME)
  • path of tomcat: /usr/local/sun/tomcat/apache-tomcat-6.0.32 (TOMCAT= _HOME)
  • path of java_home: /usr/local/sun/jdk1.6.0_23/ (JAVA_HOME)
  • eclipse-helios
Then, I've copied from rampart= -1.3 directory
  • 2 file rampart-1.3.mar and rahas-1.3.mar to /usr/local/sun/axis2/axis2-1.4.1/repository/modules
  • copy all jar files in lib directory to = /usr/local/sun/axis2/axis2-1.4.1/lib
Here's all the jar files in lib directo= ry
activation-1.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-jws-api-= 1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-activation-LIC= ENSE.txt=A0=A0=A0=A0=A0=A0 jibx-run-1.1.5.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0 ws= s4j-1.5.3.jar
activation-LICENSE.txt=A0=A0=A0=A0=A0=A0 axis2-kernel-1.4.1.jar=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-annotation_1.0_spec-1.1.jar=A0 j= ibx-run-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0 wss4j-1.5.4.jar
annogen-0.1.0.j= ar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-annotation-LICENSE.txt=A0= =A0=A0=A0=A0=A0 log4j-1.2.15.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 wss4j-LIC= ENSE.txt
annogen-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-metadata-1.4.1.jar=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-java-mail-LICENSE.txt=A0=A0= =A0=A0=A0=A0=A0 log4j-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 wstx-asl-3.= 2.4.jar
antlr-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-mtompol= icy-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-stax-api_1.0_spec-1= .0.1.jar=A0 mail-1.4.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 wstx-= LICENSE.txt
axiom-api-1.2.7.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-saaj-1.4.1.jar=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 geronimo-stax-api-LICENSE.txt= =A0=A0=A0=A0=A0=A0=A0=A0 mail-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = xalan-2.7.0.jar
axiom-api-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0 axis2-saaj-ap= i-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 httpcore-4.0-beta1.jar= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mex-1.4.1.jar=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 xalan-LICENSE.txt
axiom-dom-1.2.7.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0 axis2-spring-1.4.1.jar=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 httpcore-LICENSE.txt=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 neethi-2.0.4.jar=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 xercesImpl-2.8.1.jar
axiom-dom-LICENSE.txt=A0=A0=A0=A0=A0= =A0=A0 axis2-xmlbeans-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 http= core-nio-4.0-beta1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 neethi-LICENSE.txt= =A0=A0=A0=A0=A0=A0=A0=A0=A0 xercesImpl-LICENSE.txt
axiom-impl-1.2.7.jar=A0=A0=A0=A0=A0=A0=A0=A0 backport-util-concurrent-3.1.j= ar=A0=A0=A0=A0=A0 httpcore-nio-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 opensaml-1.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 xml-apis-1.3.04.ja= r
axiom-impl-LICENSE.txt=A0=A0=A0=A0=A0=A0 backport-util-concurrent-LICE= NSE.txt=A0 jalopy-1.5rc3.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 opensaml-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0 xml-apis-LICENSE.= txt
axis2-adb-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0 bcprov-ext-jdk16-145.jar=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jalopy-LICENSE.txt=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rampart-core-1.3.jar=A0=A0=A0=A0=A0= =A0=A0 xmlbeans-2.3.0.jar
axis2-adb-codegen-1.4.1.jar=A0 bcprov-jdk15-13= 2.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jaxb-api-2.1.jar= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rampart-cor= e-1.4.jar=A0=A0=A0=A0=A0=A0=A0 xmlbeans-LICENSE.txt
axis2-ant-plugin-1.4.1.jar=A0=A0 bcprov-jdk16-145.jar=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jaxb-api-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 rampart-policy-1.3.jar=A0=A0=A0=A0=A0 xml-resol= ver-1.2.jar
axis2-clustering-1.4.1.jar=A0=A0 commons-codec-1.3.jar=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jaxb-impl-2.1.6.jar=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rampart-policy-1.4.jar=A0=A0=A0= =A0=A0 xml-resolver-LICENSE.txt
axis2-codegen-1.4.1.jar=A0=A0=A0=A0=A0 commons-codec-LICENSE.txt=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 jaxb-impl-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 rampart-trust-1.3.jar=A0=A0=A0=A0=A0=A0 XmlSchema-= 1.4.2.jar
axis2-corba-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0 commons-fileupload-= 1.2.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jaxb-xjc-2.1.6.jar=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rampart-trust-1.4.jar=A0=A0=A0= =A0=A0=A0 XmlSchema-LICENSE.txt
axis2-fastinfoset-1.4.1.jar=A0 commons-fileupload-LICENSE.txt=A0=A0=A0=A0= =A0=A0=A0 jaxb-xjc-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 soapmonitor-1.4.1.jar=A0=A0=A0=A0=A0=A0 xmlsec-1.4.0.jar
axis2-ja= va2wsdl-1.4.1.jar=A0=A0=A0 commons-httpclient-3.1.jar=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 jaxen-1.1.1.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 woden-api-1.0M8.jar=A0=A0=A0=A0=A0=A0=A0=A0 xmlsec-1.= 4.1.jar
axis2-jaxbri-1.4.1.jar=A0=A0=A0=A0=A0=A0 commons-httpclient-LICENSE.txt=A0= =A0=A0=A0=A0=A0=A0 jaxen-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 woden-api-LICENSE.txt=A0=A0=A0=A0=A0=A0 xmlsec-LICENS= E.txt
axis2-jaxws-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0 commons-io-1.4.jar=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 jettison-1.0-RC2.jar= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 woden-impl-dom-1.0M8.ja= r
axis2-jaxws-api-1.4.1.jar=A0=A0=A0 commons-io-LICENSE.txt=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 jettison-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 woden-impl-dom-LICENSE.txt
axis2-jibx-1.4.1.jar= =A0=A0=A0=A0=A0=A0=A0=A0 commons-logging-1.1.1.jar=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 jibx-bind-1.1.5.jar=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 wsdl4j-1.6.2.jar
axis2-json-1.4.1.jar=A0=A0=A0=A0=A0=A0=A0=A0 commons-logging-LICENSE.txt=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 jibx-bind-LICENSE.txt=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 wsdl4j-LICENSE.txt

Then, I start ax= is2server.sh from bin directory of the axis2:

/usr/local/sun/a= xis2/axis2-1.4.1$ bin/axis2server.sh
=A0Using AXIS2_HOME:=A0=A0 /usr/local/sun/axis2/axis2-1.4.1
=A0Using JAV= A_HOME:=A0=A0=A0=A0=A0=A0 /usr/local/sun/jdk1.6.0_23/
[INFO] [SimpleAxis= Server] Starting
[INFO] [SimpleAxisServer] Using the Axis2 Repository/us= r/local/sun/axis2/axis2-1.4.1/repository
[SimpleAxisServer] Using the Axis2 Repository/usr/local/sun/axis2/axis2-1.4= .1/repository
[SimpleAxisServer] Using the Axis2 Configuration File/usr/= local/sun/axis2/axis2-1.4.1/conf/axis2.xml
[INFO] Deploying module: scri= pt-1.41 - file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/scriptin= g-1.41.mar
[INFO] Deploying module: metadataExchange-1.41 - file:/usr/local/sun/axis2/= axis2-1.4.1/repository/modules/mex-1.41.mar
[INFO] Deploying module: soa= pmonitor-1.41 - file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/so= apmonitor-1.41.mar
[INFO] Deploying module: addressing-1.41 - file:/usr/local/sun/axis2/axis2-= 1.4.1/repository/modules/addressing-1.41.mar
[INFO] Deploying module: pi= ng-1.41 - file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/ping-1.4= 1.mar
[INFO] Deploying module: rahas-1.3 - file:/usr/local/sun/axis2/axis2-1.4.1/= repository/modules/rahas-1.3.mar
[INFO] Deploying module: rampart-1.3 - = file:/usr/local/sun/axis2/axis2-1.4.1/repository/modules/rampart-1.3.mar [INFO] Deploying module: smtpfault - file:/usr/local/sun/axis2/axis2-1.4.1/= repository/modules/smtpfault.mar
[INFO] Deploying module: metadataExchan= ge - file:/usr/local/sun/axis2/axis2-1.4.1/lib/mex-1.4.1.jar
[INFO] [Sim= pleAxisServer] Started
[SimpleAxisServer] Started
[INFO] Listening on port 8080


= I've successfully started the server and deployed module rampart and ra= has.

BUT, When i'm using Eclipse to engage 2 modules: rampart a= nd rahas. It have an error in details:

[ERROR] The rampart-1.3.mar module, which is not valid, caused or= g.apache.rampart.Rampart
org.apache.axis2.deployment.DeploymentException= : org.apache.rampart.Rampart
=A0=A0=A0 at org.apache.axis2.deployment.re= pository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:531)
=A0=A0=A0 at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeploy= er.java:71)
=A0=A0=A0 at org.apache.axis2.deployment.repository.util.Dep= loymentFileData.deploy(DeploymentFileData.java:136)
=A0=A0=A0 at org.apa= che.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) =A0=A0=A0 at org.apache.axis2.deployment.RepositoryListener.init(Repository= Listener.java:237)
=A0=A0=A0 at org.apache.axis2.deployment.RepositoryLi= stener.init2(RepositoryListener.java:68)
=A0=A0=A0 at org.apache.axis2.d= eployment.RepositoryListener.<init>(RepositoryListener.java:63)
=A0=A0=A0 at org.apache.axis2.deployment.DeploymentEngine.loadRepository(De= ploymentEngine.java:147)
=A0=A0=A0 at org.apache.axis2.deployment.WarBas= edAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)<= br>=A0=A0=A0 at org.apache.axis2.context.ConfigurationContextFactory.create= ConfigurationContext(ConfigurationContextFactory.java:68)
=A0=A0=A0 at org.apache.axis2.transport.http.AxisServlet.initConfigContext(= AxisServlet.java:516)
=A0=A0=A0 at org.apache.axis2.transport.http.AxisS= ervlet.init(AxisServlet.java:436)
=A0=A0=A0 at org.apache.axis2.transpor= t.http.AxisAdminServlet.init(AxisAdminServlet.java:55)
=A0=A0=A0 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardW= rapper.java:1173)
=A0=A0=A0 at org.apache.catalina.core.StandardWrapper.= load(StandardWrapper.java:993)
=A0=A0=A0 at org.apache.catalina.core.Sta= ndardContext.loadOnStartup(StandardContext.java:4420)
=A0=A0=A0 at org.apache.catalina.core.StandardContext.start(StandardContext= .java:4733)
=A0=A0=A0 at org.apache.catalina.core.ContainerBase.start(Co= ntainerBase.java:1053)
=A0=A0=A0 at org.apache.catalina.core.StandardHos= t.start(StandardHost.java:840)
=A0=A0=A0 at org.apache.catalina.core.ContainerBase.start(ContainerBase.jav= a:1053)
=A0=A0=A0 at org.apache.catalina.core.StandardEngine.start(Stand= ardEngine.java:463)
=A0=A0=A0 at org.apache.catalina.core.StandardServic= e.start(StandardService.java:525)
=A0=A0=A0 at org.apache.catalina.core.StandardServer.start(StandardServer.j= ava:754)
=A0=A0=A0 at org.apache.catalina.startup.Catalina.start(Catalin= a.java:595)
=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Na= tive Method)
=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39)
=A0=A0=A0 at sun.reflect.DelegatingMethodAccessorImpl.in= voke(DelegatingMethodAccessorImpl.java:25)
=A0=A0=A0 at java.lang.reflec= t.Method.invoke(Method.java:597)
=A0=A0=A0 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289= )
=A0=A0=A0 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java= :414)


Please kindly help me to resolve this problems.
Many thanks





--
Thilina Mahesh Buddhika=
http://blog.thilinamb.com
--0016e65094ec1b5775049c66f91d--