com.sun.xml.wss.XWSSecurityException: Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93) at com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455) at com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)

Java.net JIRA | shyam_rao | 1 decade ago
  1. 0

    FF Testing Cycle. trust sqe test# 11 is failing with the following server side exception while processing application message. com.sun.xml.wss.XWSSecurityException: Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93) at com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455) at com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:541) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:497) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:392) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:207) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:350) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:171) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:161) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1029) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1029) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:332) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:254) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103) Caused by: javax.xml.crypto.KeySelectorException: com.sun.xml.wss.XWSSecurityException: Error occurred while generating SymmetricKey for DerivedKeyToken at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveDirectReference(KeySelectorImpl.java:491) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:158) ... 44 more Caused by: com.sun.xml.wss.XWSSecurityException: Error occurred while generating SymmetricKey for DerivedKeyToken at com.sun.xml.ws.security.opt.impl.incoming.DerivedKeyToken.getKey(DerivedKeyToken.java:108) at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveDirectReference(KeySelectorImpl.java:470) ... 45 more Caused by: java.lang.NullPointerException at com.sun.xml.ws.security.opt.impl.incoming.DerivedKeyToken.getKey(DerivedKeyToken.java:101)

    Java.net JIRA | 1 decade ago | shyam_rao
    com.sun.xml.wss.XWSSecurityException: Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93) at com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455) at com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
  2. 0

    [Issue 796] New - Error in Verifying Security in the Inbound Message. - anan...@dev.java.net - net.java.dev.wsit.issues - MarkMail

    markmail.org | 1 year ago
    com.sun.xml.wss.XWSSecurityException: WSS1816: Error occurred while resolving KeyIdentifier at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:381) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:120) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:127) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:113) at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:188) at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.<init>(EncryptedKey.java:105) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:344) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:252) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:198) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:445) at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.process(SecurityClientPipe.java:259) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
  3. 0

    [Issue 796] New - Error in Verifying Security in the Inbound Message. - anan...@dev.java.net - net.java.dev.wsit.issues - MarkMail

    markmail.org | 1 year ago
    com.sun.xml.wss.XWSSecurityException: No Matching private key for W+rgYBmLmVEG//scD7Vo8Kq5G7I= thumb print identifier found at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:471) at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:688) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:378) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:120) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:127) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:113) at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:188) at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.<init>(EncryptedKey.java:105) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:344) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:252) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:198) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:445) at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.process(SecurityClientPipe.java:259) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: No X509Certificate was provided - V B Kumar Jayanti - net.java.dev.xwss.users - MarkMail

    markmail.org | 6 months ago
    com.sun.xml.wss.XWSSecurityException: No X509Certificate was provided at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessage Dispatcher.java:296) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDi spatcher.java:153) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85 ) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(Endpoin tIFInvocationHandler.java:176) at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocatio nHandler.java:105)
  6. 0

    ebXML Registry/Repository / Mailing Lists

    sourceforge.net | 1 year ago
    com.sun.xml.wss.XWSSecurityException: Signature verification failed at com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(SignatureProcess= or.java:342) at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.= java:270)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.xml.wss.XWSSecurityException

      Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93) at com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455) at com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)

      at com.sun.xml.ws.api.pipe.Fiber._doRun()
    2. JAX-WS RI Runtime Bundle
      WSEndpointImpl$2.process
      1. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:541)
      2. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:497)
      3. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:392)
      4. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:207)
      4 frames