main lib directory, in this case is it the lib under axis2 or the lib under jetty?

i did copied all jars other than secUtil.jar and put in the lib folder Jetty/webapps/axis2/WEB-INF/lib/. Do i need to put them in jetty/lib/ as well?

Sathita



From: "Ruchith Fernando" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: axis2 v1.0 security sample
Date: Tue, 4 Jul 2006 14:23:33 +0530

How about step 4:

4.) Copy all jars other than the secUtil.jar in the
samples/security/lib directory to axis2/WEB-INF/lib/

Did u copy the jars into the the main lib directory?

Thanks,
Ruchith

On 7/4/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:

I did put
<module ref="rampart"/> in axis2.xml in my Jetty server.
Anything else, that can cause the problem?

Thanks,
Sathita

>From: "Ruchith Fernando" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: axis2 v1.0 security sample
>Date: Tue, 4 Jul 2006 14:13:12 +0530
>
>Did you configure the service in axis2 within Tomcat as mentioned in
>the README.txt?
>
>Thanks,
>Ruchith
>
>On 7/4/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:
>>This is what i got right now.
>>
>>[EMAIL PROTECTED]:~/axis2-std-1.0-bin/samples/security> ant securitySample
>>Buildfile: build.xml
>>
>>securitySample:
>>      [java] log4j:WARN No appenders could be found for logger
>>(org.apache.axiom.om.impl.builder.StAXOMBuilder).
>>      [java] log4j:WARN Please initialize the log4j system properly.
>>      [java] org.apache.axis2.AxisFault: WSDoAllReceiver: Error in
>>converting
>>to Document; nested exception is:
>>      [java]     org.apache.ws.security.WSSecurityException: Error in
>>converting SOAP Envelope to Document; nested exception is:
>>      [java]     org.apache.axiom.om.OMException:
>>java.lang.IllegalStateException: Current state not START_ELEMENT
>>      [java]     at
>>org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:130)
>>      [java]     at
>>org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
>> [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
>>      [java]     at
>>org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
>>      [java]     at
>>org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
>>      [java]     at
>>org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:355)
>>      [java]     at
>>org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
>>      [java]     at
>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
>>      [java]     at
>>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
>>      [java]     at sample.security.Client.main(Client.java:58)
>> [java] Caused by: org.apache.ws.security.WSSecurityException: Error
>>in
>>converting SOAP Envelope to Document; nested exception is:
>>      [java]     org.apache.axiom.om.OMException:
>>java.lang.IllegalStateException: Current state not START_ELEMENT
>>      [java]     at
>>org.apache.axis2.security.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:126)
>>      [java]     at
>>org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:128)
>>      [java]     ... 9 more
>>      [java] Caused by: org.apache.axiom.om.OMException:
>>java.lang.IllegalStateException: Current state not START_ELEMENT
>>      [java]     at
>>org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206)
>>      [java]     at
>>org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:298)
>>      [java]     at
>>org.apache.axis2.security.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:90)
>>      [java]     ... 10 more
>> [java] Caused by: java.lang.IllegalStateException: Current state not
>>START_ELEMENT
>>      [java]     at
>>com.ctc.wstx.sr.BasicStreamReader.getAttributeCount(BasicStreamReader.java:559)
>>      [java]     at
>>org.apache.axiom.om.impl.builder.StAXBuilder.processAttributes(StAXBuilder.java:141)
>>      [java]     at
>>org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.createOMElement(MTOMStAXSOAPModelBuilder.java:142)
>>      [java]     at
>>org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:132)
>>      [java]     ... 12 more
>>
>>BUILD SUCCESSFUL
>>Total time: 8 seconds
>>
>>        I have put addressing-1.0.mar and rampart-1.0.mar into
>>client_repo/modules/ as well
>>        Please help,
>>
>>         Sathita
>>
>>
>>
>> >From: "Ruchith Fernando" <[EMAIL PROTECTED]>
>> >Reply-To: [email protected]
>> >To: [email protected]
>> >Subject: Re: axis2 v1.0 security sample
>> >Date: Tue, 4 Jul 2006 14:00:07 +0530
>> >
>> >Hi Sathita,
>> >
>> >On 7/1/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >>thank you,
>> >>
>> >>i think i have done that, i dropped the .mar file into modules
>>directory
>> >>and
>> >>also added the line about module in axis2.xml file.
>> >>
>> >>can any other thing cause the problem?
>> >
>> >If you follow all the steps in the README.txt in order it should work.
>> >The original error you posted says that you have not copied the
>> >addressing-1.0.mar file into the  client_repo/modules/ directory.
>> >
>> >Thanks,
>> >Ruchith
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>--
>www.ruchith.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to