Thank you for the confirmation. Recently we migrated CXF from 2.5.2 to 2.7.0, 
by the end of migration 2.7.1 was released so we picked that up. Now, picking 
2.7.2 is again involves some effort that could impact sprint deliverables. Can 
we take only this fix? If so which jar has this fix?

I appreciate your help.

Regards
Raman

-----Original Message-----
From: Colm O hEigeartaigh [mailto:[email protected]] 
Sent: Friday, January 25, 2013 2:55 PM
To: [email protected]
Subject: Re: java.security.NoSuchAlgorithmException: DOM XMLSignatureFactory 
not available

It's a bug fixed in CXF 2.7.2.

Colm.

On Fri, Jan 25, 2013 at 7:27 AM, Malisetti, Ramanjaneyulu < 
[email protected]> wrote:

> Hi,
>        How to fix this, any idea? It is coming with CXF 2.7.1 running 
> in Apache Karaf 2.3.0. Interestingly it is randomly coming.
>
> 2013-01-24 22:39:17,598 WARN  [qtp325770707-182] 
> wss4j.WSS4JInInterceptor
> -101-org.apache.cxf.bundle-2.7.1 -
> org.apache.ws.security.WSSecurityException: General security error 
> (Unable to load class org.apache.ws.security.processor.SignatureProcessor)
>                 at
> org.apache.ws.security.WSSConfig.getProcessor(WSSConfig.java:789)[94:org.apache.ws.security.wss4j:1.6.8]
>                 at
> org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:394)[94:org.apache.ws.security.wss4j:1.6.8]
>                 at
> org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:273)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:95)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:354)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:318)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[101:org.apache.cxf.bundle:2.7.1]
>                 at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1067)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1003)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.Server.handle(Server.java:350)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:943)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:620)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)[128:org.ops4j.pax.web.pax-web-jetty-bundle:2.1.0]
>                 at java.lang.Thread.run(Unknown Source)[:1.7.0_10] 
> Caused by: javax.xml.crypto.NoSuchMechanismException:
> java.security.NoSuchAlgorithmException: DOM XMLSignatureFactory not 
> available
>                 at
> javax.xml.crypto.dsig.XMLSignatureFactory.getInstance(Unknown
> Source)[:1.7.0_10]
>                 at
> org.apache.ws.security.processor.SignatureProcessor.<init>(SignatureProcessor.java:100)
>                 at
> sun.reflect.GeneratedConstructorAccessor116.newInstance(Unknown Source)
>                 at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)[:1.7.0_10]
>                 at java.lang.reflect.Constructor.newInstance(Unknown
> Source)[:1.7.0_10]
>                 at java.lang.Class.newInstance0(Unknown Source)[:1.7.0_10]
>                 at java.lang.Class.newInstance(Unknown Source)[:1.7.0_10]
>                 at
> org.apache.ws.security.WSSConfig.getProcessor(WSSConfig.java:784)[94:org.apache.ws.security.wss4j:1.6.8]
>                 ... 25 more
> Caused by: java.security.NoSuchAlgorithmException: DOM 
> XMLSignatureFactory not available
>                 at sun.security.jca.GetInstance.getInstance(Unknown
> Source)[:1.7.0_10]
>                 ... 33 more
>



--
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to