Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-186

org.jboss.test.pooled.test.SSLSocketsUnitTestCase passes and fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Testsuite
    • None
    • x86, x86_64, Windows 2003 , Sun JVM, BEA JVM

      The test org.jboss.test.pooled.test.SSLSocketsUnitTestCase passes and fails intermittently. It passes and fails in equal measure. When it fails, the following exception occurs:

      Testsuite: org.jboss.test.pooled.test.SSLSocketsUnitTestCase

      Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.078 sec

      Testcase: testClientCertSSLAccess took 0.969 sec

      Caused an ERROR

      SecurityException; nested exception is:
      javax.security.auth.login.LoginException: Don't know how to obtain X509Certificate from: class [C

      java.rmi.AccessException: SecurityException; nested exception is:

      javax.security.auth.login.LoginException: Don't know how to obtain X509Certificate from: class [C

      at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)

      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)

      at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)

      at org.jboss.ejb.Container.invoke(Container.java:981)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      at org.jboss.invocation.pooled.server.PooledInvoker$MBeanServerAction.invoke(PooledInvoker.java:896)

      at org.jboss.invocation.pooled.server.PooledInvoker.invoke(PooledInvoker.java:383)

      at org.jboss.invocation.pooled.server.ServerThread.processInvocation(ServerThread.java:233)

      at org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:275)

      at org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)

      Caused by: javax.security.auth.login.LoginException: Don't know how to obtain X509Certificate from: class [C

      at org.jboss.security.auth.spi.BaseCertLoginModule.getAliasAndCert(BaseCertLoginModule.java:320)

      at org.jboss.security.auth.spi.BaseCertLoginModule.login(BaseCertLoginModule.java:194)

      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)

      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)

      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)

      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)

      at javax.security.auth.login.LoginContext.login(LoginContext.java:579)

      at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)

      at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)

      at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)

      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)

      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:158)

      at org.jboss.ejb.plugins.SSLSessionInterceptor.invokeHome(SSLSessionInterceptor.java:53)

      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)

      at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)

      at org.jboss.ejb.Container.invoke(Container.java:981)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      I'm logging this bug just to bring attention to the intermittant nature of the test result.

            anil.saldhana Anil Saldanha (Inactive)
            rachmato@redhat.com Richard Achmatowicz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: