You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jdmichal <ju...@sri.com> on 2008/06/16 23:31:16 UTC

Attempting to run ws-sec sample

Hello. I'm attempting to run the ws-sec sample in the 3.2.1 source
distribution. I run the command

mvn jbi:embeddedServicemix

as specified in the readme. This seems to work properly, and results in a
'BUILD SUCCESSFUL' output. The problem is that it immediately stops the
project afterwards, not giving me any time to play with the provided HTML
files.

How do I get the ws-sec sample running in such a way that I can play with
it?

Thanks,
~Justin
-- 
View this message in context: http://www.nabble.com/Attempting-to-run-ws-sec-sample-tp17873681p17873681.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Attempting to run ws-sec sample

Posted by jdmichal <ju...@sri.com>.
Figures. I search the forums, but not the tickets :)

20080616-3.2.2-SNAPSHOT works with the client-ws-sec.html file, but not the
client-basic.html file. The basic always results in the following exception:

java.lang.IllegalStateException: Cannot write non xml faults for non soap
messages
        at
org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:124)
        at
org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
        at
org.apache.servicemix.http.processors.ConsumerProcessor.sendFault(ConsumerProcessor.java:277)
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:176)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Regardless, it works enough to let me play, which is what I need right now.

Thanks for the help,
~Justin


Gert Vanthienen wrote:
> 
> Justin,
> 
> I'm afraid you have run into a known issue for the 3.2.1 release (cfr. 
> https://issues.apache.org/activemq/browse/SM-1240).
> Could you try building a 3.2.2 SNAPSHOT locally -- this issue should be 
> resolved in that?
> 
> Gert
> 
> jdmichal wrote:
>> Hello. I'm attempting to run the ws-sec sample in the 3.2.1 source
>> distribution. I run the command
>>
>> mvn jbi:embeddedServicemix
>>
>> as specified in the readme. This seems to work properly, and results in a
>> 'BUILD SUCCESSFUL' output. The problem is that it immediately stops the
>> project afterwards, not giving me any time to play with the provided HTML
>> files.
>>
>> How do I get the ws-sec sample running in such a way that I can play with
>> it?
>>
>> Thanks,
>> ~Justin
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: http://www.nabble.com/Attempting-to-run-ws-sec-sample-tp17873681p17906937.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Attempting to run ws-sec sample

Posted by Gert Vanthienen <ge...@skynet.be>.
Justin,

I'm afraid you have run into a known issue for the 3.2.1 release (cfr. 
https://issues.apache.org/activemq/browse/SM-1240).
Could you try building a 3.2.2 SNAPSHOT locally -- this issue should be 
resolved in that?

Gert

jdmichal wrote:
> Hello. I'm attempting to run the ws-sec sample in the 3.2.1 source
> distribution. I run the command
>
> mvn jbi:embeddedServicemix
>
> as specified in the readme. This seems to work properly, and results in a
> 'BUILD SUCCESSFUL' output. The problem is that it immediately stops the
> project afterwards, not giving me any time to play with the provided HTML
> files.
>
> How do I get the ws-sec sample running in such a way that I can play with
> it?
>
> Thanks,
> ~Justin
>