wsit
  1. wsit
  2. WSIT-1194

109 interop tests are failing: Could not locate KeyStore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: not determined
    • Component/s: security
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,194

      Description

      WsSec 109 interop and wssec-conv 109 interop tests are failing with the
      following error:

      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getKeyStore
      SEVERE: Could not locate KeyStore, check keystore assertion in WSIT configuration
      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl
      getDefaultPrivKeyCertRequest
      SEVERE: WSS0216: An Error occurred using Callback Handler for :
      SignatureKeyCallback.DefaultPrivKeyCertRequest
      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl
      getDefaultPrivKeyCertRequest
      SEVERE: WSS0217: An Error occurred using Callback Handler handle() Method.
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2253)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getDefaultPrivKeyCert(DefaultCallbackHandler.java:1382)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:548)
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:229)
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:212)
      at com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:93)
      at com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:272)
      at
      com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:189)
      at com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:150)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:395)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:289)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:219)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      at com.sun.xml.ws.client.Stub.process(Stub.java:305)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      at $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClient.testS2S_ScenarioS2(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at simple.client.PingServiceClient.main(Unknown Source)
      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.impl.filter.SignatureFilter process
      SEVERE: WSS1417: Error while processing signature
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.jaxws.impl.SecurityTubeBase
      secureOutboundMessage
      SEVERE: WSSTUBE0024: Error in Securing Outbound Message.
      com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:299)
      at com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:93)
      at com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:272)
      at
      com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:189)
      at com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:150)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:395)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:289)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:219)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      at com.sun.xml.ws.client.Stub.process(Stub.java:305)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      at $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClient.testS2S_ScenarioS2(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at simple.client.PingServiceClient.main(Unknown Source)
      Caused by: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:234)
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:212)
      ... 35 more
      Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate
      KeyStore, check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2253)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getDefaultPrivKeyCert(DefaultCallbackHandler.java:1382)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:548)
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:229)
      ... 36 more
      Jul 27, 2009 4:45:47 PM com.sun.xml.wss.jaxws.impl.SecurityClientTube
      processClientRequestPacket
      SEVERE: WSSTUBE0024: Error in Securing Outbound Message.
      com.sun.xml.wss.impl.WssSoapFaultException:
      com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.SecurableSoapMessage.newSOAPFaultException(SecurableSoapMessage.java:336)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:400)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:289)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:219)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      at com.sun.xml.ws.client.Stub.process(Stub.java:305)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      at $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClient.testS2S_ScenarioS2(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at simple.client.PingServiceClient.main(Unknown Source)
      Caused by: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:299)
      at com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:93)
      at com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:272)
      at
      com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:189)
      at com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:150)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:395)
      ... 30 more
      Caused by: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:234)
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:212)
      ... 35 more
      Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate
      KeyStore, check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2253)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getDefaultPrivKeyCert(DefaultCallbackHandler.java:1382)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:548)
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:229)
      ... 36 more
      javax.xml.ws.WebServiceException: WSSTUBE0024: Error in Securing Outbound Message.
      Caught Exception: WSSTUBE0024: Error in Securing Outbound Message.
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:294)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:219)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      at com.sun.xml.ws.client.Stub.process(Stub.java:305)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      at $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClient.testS2S_ScenarioS2(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at simple.client.PingServiceClient.main(Unknown Source)
      Caused by: javax.xml.ws.soap.SOAPFaultException:
      com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.getSOAPFaultException(SecurityTubeBase.java:666)
      ... 30 more
      Caused by: com.sun.xml.wss.impl.WssSoapFaultException:
      com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.SecurableSoapMessage.newSOAPFaultException(SecurableSoapMessage.java:336)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:400)
      at
      com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:289)
      ... 29 more
      Caused by: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:299)
      at com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:93)
      at com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:272)
      at
      com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:189)
      at com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:150)
      at
      com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:395)
      ... 30 more
      Caused by: com.sun.xml.wss.XWSSecurityException:
      com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore,
      check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:234)
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:212)
      ... 35 more
      Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate
      KeyStore, check keystore assertion in WSIT configuration
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2253)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getDefaultPrivKeyCert(DefaultCallbackHandler.java:1382)
      at
      com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:548)
      at
      com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getDefaultPrivKeyCertRequest(DefaultSecurityEnvironmentImpl.java:229)
      ... 36 more
      ------------/space/test4u/cvswork/sunsw/tango/qe-tests/wssecurity/test/../jsr109ejbinterop/src/WsSecurity10-X10/logs/WsSecurity10-X10-s2s-status.txt--------------

        Activity

        Hide
        msreekanth added a comment -

        Adding suresh

        Show
        msreekanth added a comment - Adding suresh
        Hide
        kumarjayanti added a comment -

        suresh looking into it.

        Show
        kumarjayanti added a comment - suresh looking into it.
        Hide
        kumarjayanti added a comment -

        reassign

        Show
        kumarjayanti added a comment - reassign
        Hide
        kumarjayanti added a comment -

        started

        Show
        kumarjayanti added a comment - started
        Hide
        kumarjayanti added a comment -

        Fixed.

        Show
        kumarjayanti added a comment - Fixed.
        Hide
        msreekanth added a comment -

        The tests are running now.Closing the issue.

        Show
        msreekanth added a comment - The tests are running now.Closing the issue.

          People

          • Assignee:
            sm228678
            Reporter:
            msreekanth
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: