Hi,

A quink question, what kind of packaging you're using for the SA/SU, JBI packaging or OSGi packaging?

Freeman
On 2011-4-11, at 下午8:36, pchakinala wrote:

Hi Freeman,
Thanks for the update. Eventhough after adding wss4j 1.5.11 version in
dependency found below exception.


Exception :
org.apache.ws.security.action.TimestampAction cannot be cast to
org.apache.ws.security.action.Action

15:29:32,015 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleMessage on interceptor
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor $WSS4JOutInterceptorInternal@1a5a705 15:29:32,015 | DEBUG | rovider-thread-2 | WSS4JOutInterceptor |
-  -  | WSS4JOutInterceptor: enter handleMessage()
15:29:32,015 | DEBUG | rovider-thread-2 | WSS4JOutInterceptor |
-  -  | Action: 32
15:29:32,031 | DEBUG | rovider-thread-2 | WSS4JOutInterceptor |
-  -  | Actor: null
15:29:32,031 | DEBUG | rovider-thread-2 | WSHandler |
113 - org.apache.ws.security.wss4j - 1.5.9 | Performing Action: 32
15:29:32,031 | DEBUG | rovider-thread-2 | WSSConfig |
113 - org.apache.ws.security.wss4j - 1.5.9 |
org.apache.ws.security.action.TimestampAction cannot be cast to
org.apache.ws.security.action.Action
java.lang.ClassCastException: org.apache.ws.security.action.TimestampAction
cannot be cast to org.apache.ws.security.action.Action
        at
org.apache.ws.security.WSSConfig.getAction(WSSConfig.java:505) [113:org.apache.ws.security.wss4j:1.5.9]
        at
org .apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java: 205)[113:org.apache.ws.security.wss4j:1.5.9]
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.access $200(WSS4JOutInterceptor.java:50)[116:org.apache.cxf.bundle:2.3.2]
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor $WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java: 257)[116:org.apache.cxf.bundle:2.3.2]
        at
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor $WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java: 134)[116:org.apache.cxf.bundle:2.3.2]
        at
org .apache .cxf .phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java: 255)[116:org.apache.cxf.bundle:2.3.2]
        at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java: 247)[156:servicemix-cxf-bc:2011.01.0]
        at
org .apache .servicemix .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:651) [121:servicemix-common:2011.01.0]
        at
org .apache .servicemix .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 606)[121:servicemix-common:2011.01.0]
        at
org .apache .servicemix .common .AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:501) [121:servicemix-common:2011.01.0]
        at
org.apache.servicemix.common.AsyncBaseLifeCycle $2.run(AsyncBaseLifeCycle.java:370)[121:servicemix-common:2011.01.0]
        at
java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:885)[:1.6.0]
        at
java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:907)[:1.6.0]
        at java.lang.Thread.run(Thread.java:619)[:1.6.0]
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor $WSS4JOutInterceptorInternal@1a5a705 15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org .apache.servicemix.cxfbc.interceptors.JbiOutWsdl1Interceptor@13c53da 15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@1f92de5
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor@961d1c
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor@1decdc0
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.interceptor.StaxOutInterceptor@343b54
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.servicemix.cxfbc.interceptors.JbiOutInterceptor@1d1e318
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org .apache .cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@1a537e7 15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.ws.policy.ServerPolicyOutFaultInterceptor@1a5cbad
15:29:32,031 | DEBUG | rovider-thread-2 | PhaseInterceptorChain |
-  -  | Invoking handleFault on interceptor
org.apache.cxf.ws.policy.PolicyOutInterceptor@1230afa
15:29:32,031 | WARN | rovider-thread-2 | PhaseInterceptorChain | - - | Interceptor for {http://order.demo/}OrderProcessImplService has
thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Security processing failed.

Xbean.xml:
=======

                        
        



                                
                                                



                


pom.xml:
======

   org.apache.ws.security
   wss4j
   1.5.11


   org.apache.servicemix.examples
   cxf-ws-security-osgi
   4.3.0


In runtime servicemix is referring wss4j 1.5.9 eventhogh i have added wss4j
1.5.11 version in pom.xml.
Please suggest me is there any problem with version mismatch

Regards,
Praveen Chakinala



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/cxfbc-java-lang-ClassNotFoundException-org-apache-security-juice-provider-JuiCEProviderOpenSSL-tp4290867p4295843.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference








Reply via email to