You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@TheHartford.com> on 2008/04/02 20:41:21 UTC

org.apache.axis2.AxisFault: Unable to engage module : rampart

Hi,

When I execute the Axis2 java standalone client to contact a Axis2
webservice, below exception is thrown.

Addressing module is engaged but not the rampart module. Both the .mar
files are available in the path. Please advice where I am missing.


C:\Sample-WebService>ant create-and-run-client
Buildfile: build.xml

clean:
   [delete] Deleting directory C:\Sample-WebService\build

create-and-run-client:
    [mkdir] Created dir: C:\Sample-WebService\build
    [mkdir] Created dir: C:\Sample-WebService\build\temp_client
    [mkdir] Created dir: C:\Sample-WebService\build\client_repository
    [mkdir] Created dir:
C:\Sample-WebService\build\client_repository\conf
    [mkdir] Created dir:
C:\Sample-WebService\build\client_repository\modules
     [copy] Copying 1 file to
C:\Sample-WebService\build\client_repository\modules
     [copy] Copying 1 file to
C:\Sample-WebService\build\client_repository\modules
    [javac] Compiling 2 source files to
C:\Sample-WebService\build\temp_client
     [copy] Copying 1 file to C:\Sample-WebService\build
     [java] Before engage addressing module &&&&

     [java] After engage addressing module &&&&

     [java] Before engage rampart module &&&&

     [java] org.apache.axis2.AxisFault: Unable to engage module :
rampart
     [java]     at
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:33
9)
     [java]     at
org.apache.rampart.weblogic.sample.Client.main(Client.java:65)
     [java] Exception in thread "main"
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 6 seconds

Thanks & Regards,

Peter Rajesh <http://www.google.com/search?hl=en&q=peter+rajesh>  |
860-547-3881



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


RE: org.apache.axis2.AxisFault: Unable to engage module : rampart

Posted by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@TheHartford.com>.
Hi Joana,

I am using Axis2 1.3 & Rampart 1.3. This is a standalone java client
which contacts a remove Axis2 webservice. No application or webserver is
involved.

Thanks,

Peter Rajesh
 

-----Original Message-----
From: Joana M. F. Trindade [mailto:jmftrindade@gmail.com] 
Sent: Wednesday, April 02, 2008 2:52 PM
To: rampart-dev@ws.apache.org
Subject: Re: org.apache.axis2.AxisFault: Unable to engage module :
rampart

Hi Peter,

Which version of Axis2 and Rampart are you using?

Cheers,
Joana

On Wed, Apr 2, 2008 at 3:41 PM, Rajesh, Peter (CLAIMS, WIP) <
Peter.Rajesh@thehartford.com> wrote:

>
> Hi,
>
> When I execute the Axis2 java standalone client to contact a Axis2 
> webservice, below exception is thrown.
>
> Addressing module is engaged but not the rampart module. Both the .mar

> files are available in the path. Please advice where I am missing.
>
>
> C:\Sample-WebService>ant create-and-run-client
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory C:\Sample-WebService\build
>
> create-and-run-client:
>    [mkdir] Created dir: C:\Sample-WebService\build
>    [mkdir] Created dir: C:\Sample-WebService\build\temp_client
>    [mkdir] Created dir: C:\Sample-WebService\build\client_repository
>    [mkdir] Created dir:
> C:\Sample-WebService\build\client_repository\conf
>    [mkdir] Created dir:
> C:\Sample-WebService\build\client_repository\modules
>     [copy] Copying 1 file to
> C:\Sample-WebService\build\client_repository\modules
>     [copy] Copying 1 file to
> C:\Sample-WebService\build\client_repository\modules
>    [javac] Compiling 2 source files to 
> C:\Sample-WebService\build\temp_client
>     [copy] Copying 1 file to C:\Sample-WebService\build
>     [java] Before engage addressing module &&&&
>
>     [java] After engage addressing module &&&&
>
>     [java] Before engage rampart module &&&&
>
>     [java] org.apache.axis2.AxisFault: Unable to engage module :
> rampart
>     [java]     at
> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:
> 33
> 9)
>     [java]     at
> org.apache.rampart.weblogic.sample.Client.main(Client.java:65)
>     [java] Exception in thread "main"
>     [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 6 seconds
>
> Thanks & Regards,
>
> Peter Rajesh <http://www.google.com/search?hl=en&q=peter+rajesh>  |
> 860-547-3881
>
>
>
> **********************************************************************
> *** This communication, including attachments, is for the exclusive 
> use of addressee and may contain proprietary, confidential and/or 
> privileged information.  If you are not the intended recipient, any 
> use, copying, disclosure, dissemination or distribution is strictly 
> prohibited.  If you are not the intended recipient, please notify the 
> sender immediately by return e-mail, delete this communication and 
> destroy all copies.
> **********************************************************************
> ***
>
>


--
Joana M. F. da Trindade

Email: jmftrindade@inf.ufrgs.br
Personal Homepage: http://www.inf.ufrgs.br/~jmftrindade
LinkedIn: http://www.linkedin.com/in/joanatrindade


*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


Re: org.apache.axis2.AxisFault: Unable to engage module : rampart

Posted by "Joana M. F. Trindade" <jm...@gmail.com>.
Hi Peter,

Which version of Axis2 and Rampart are you using?

Cheers,
Joana

On Wed, Apr 2, 2008 at 3:41 PM, Rajesh, Peter (CLAIMS, WIP) <
Peter.Rajesh@thehartford.com> wrote:

>
> Hi,
>
> When I execute the Axis2 java standalone client to contact a Axis2
> webservice, below exception is thrown.
>
> Addressing module is engaged but not the rampart module. Both the .mar
> files are available in the path. Please advice where I am missing.
>
>
> C:\Sample-WebService>ant create-and-run-client
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory C:\Sample-WebService\build
>
> create-and-run-client:
>    [mkdir] Created dir: C:\Sample-WebService\build
>    [mkdir] Created dir: C:\Sample-WebService\build\temp_client
>    [mkdir] Created dir: C:\Sample-WebService\build\client_repository
>    [mkdir] Created dir:
> C:\Sample-WebService\build\client_repository\conf
>    [mkdir] Created dir:
> C:\Sample-WebService\build\client_repository\modules
>     [copy] Copying 1 file to
> C:\Sample-WebService\build\client_repository\modules
>     [copy] Copying 1 file to
> C:\Sample-WebService\build\client_repository\modules
>    [javac] Compiling 2 source files to
> C:\Sample-WebService\build\temp_client
>     [copy] Copying 1 file to C:\Sample-WebService\build
>     [java] Before engage addressing module &&&&
>
>     [java] After engage addressing module &&&&
>
>     [java] Before engage rampart module &&&&
>
>     [java] org.apache.axis2.AxisFault: Unable to engage module :
> rampart
>     [java]     at
> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:33
> 9)
>     [java]     at
> org.apache.rampart.weblogic.sample.Client.main(Client.java:65)
>     [java] Exception in thread "main"
>     [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 6 seconds
>
> Thanks & Regards,
>
> Peter Rajesh <http://www.google.com/search?hl=en&q=peter+rajesh>  |
> 860-547-3881
>
>
>
> *************************************************************************
> This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information.  If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited.  If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>
>


-- 
Joana M. F. da Trindade

Email: jmftrindade@inf.ufrgs.br
Personal Homepage: http://www.inf.ufrgs.br/~jmftrindade
LinkedIn: http://www.linkedin.com/in/joanatrindade