glassfish
  1. glassfish
  2. GLASSFISH-16620

client cert nickname selection test failed on AIX

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.1_b04
    • Fix Version/s: 3.1.1_b12
    • Component/s: orb
    • Labels:
      None
    • Environment:

      AIX, IBM jdk1.6.0

      Description

      build: V3.1.1 build 4
      OS: AIX

      Please note that this test only failed on AIX and it passed on all other OS/platforms. This is the first time we ran core full test on AIX machine for GF 3.x. Thanks.

      Steps to reproduce the bug:
      1.Checkout SQE workspace:
      cvs co appserver-sqe/bootstrap.xml
      (CVSROOT=:pserver:cvsguest@sunsw.us.oracle.com:/m/jws)
      cd appserver-sqe
      ant -f bootstrap.xml co-security
      2. install GF V3.1.1, start domain domain1
      3. Set env. variables
      S1AS_HOME <GF installation dir> (example: /export/sonia/v3/glassfishv3/glassfish
      SPS_HOME <workspace dir> (example: /export/sonia/appserver-sqe)
      ANT_HOME <ant dir>
      JAVA_HOME <java dir>
      4. cd appserver-sqe/pe/security/ssl, run "ant setup"
      5. cd appserver-sqe/pe/security/ssl/clientcertnickname, run "ant all", test failed:
      [exec] adding as trusted cert:
      [exec] Subject: OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US
      [exec] Issuer: OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US
      [exec] Algorithm: RSA; Serial number: 0x3c9131cb1ff6d01b0e9ab8d044bf12be
      [exec] Valid from Sun Jan 28 18:00:00 CST 1996 until Wed Aug 02 18:59:59 CDT 2028
      [exec] [exec] SSLContextImpl: Using X509ExtendedKeyManager com.sun.enterprise.security.ssl.J2EEKeyManager
      [exec] SSLContextImpl: Using X509TrustManager com.ibm.jsse2.gc
      [exec] JsseJCE: Using SecureRandom from provider IBMJCE version 1.2
      [exec] trigger seeding of SecureRandom
      [exec] done seeding SecureRandom
      [exec] JsseJCE: Using cipher AES/CBC/NoPadding from provider TBD via init [exec] JsseJCE: Using MessageDigest MD5 from provider IBMJCE version 1.2
      [exec] JsseJCE: Using MessageDigest SHA from provider IBMJCE version 1.2
      [exec] %% No cached client session
      [exec] *** ClientHello, SSLv3
      [exec] RandomCookie: GMT: 1288316816 bytes =

      { 84, 182, 185, 183, 242, 113, 134, 227, 9, 210, 35, 205, 21, 128, 203, 240, 125, 115, 27, 39, 58, 135, 118, 253, 97, 0, 181, 235 }

      [exec] Session ID: {}
      [exec] Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_RC4_128_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_RSA_FIPS_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
      [exec] Compression Methods:

      { 0 }
      [exec] ***
      [exec] p: default-threadpool; w: 1, WRITE: SSLv3 Handshake, length = 79
      [exec] p: default-threadpool; w: 1, READ: TLSv1 Alert, length = 2
      [exec] p: default-threadpool; w: 1, RECV TLSv1 ALERT: fatal, handshake_failure
      [exec] p: default-threadpool; w: 1, called closeSocket()
      [exec] p: default-threadpool; w: 1, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      [exec] p: default-threadpool; w: 1, called close()
      [exec] p: default-threadpool; w: 1, called closeInternal(true)
      [exec] JsseJCE: Using MessageDigest MD5 from provider IBMJCE version 1.2
      [exec] JsseJCE: Using MessageDigest SHA from provider IBMJCE version 1.2
      [exec] %% No cached client session
      [exec] *** ClientHello, SSLv3
      [exec] RandomCookie: GMT: 1288316816 bytes = { 61, 42, 250, 113, 107, 2, 90, 228, 41, 141, 59, 3, 92, 236, 188, 218, 230, 84, 208, 64, 228, 215, 177, 86, 176, 60, 42, 14 }
      [exec] Session ID: {}
      [exec] Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_RC4_128_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_RSA_FIPS_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
      [exec] Compression Methods: { 0 }

      [exec] ***
      [exec] p: default-threadpool; w: 1, WRITE: SSLv3 Handshake, length = 79
      [exec] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe
      [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
      [exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
      [exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
      [exec] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      [exec] at $Proxy34.writeErrorSend(Unknown Source)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.sendWithoutLock(SocketOrChannelConnectionImpl.java:999)
      [exec] at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:151)
      [exec] at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:165)
      [exec] at com.sun.corba.ee.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:200)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:274)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:401)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:368)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:273)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:395)
      [exec] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:139)
      [exec] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:82)
      [exec] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      [exec] at javax.naming.InitialContext.lookup(InitialContext.java:455)
      [exec] at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:173)
      [exec] at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1096)
      [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
      [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      [exec] at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      [exec] at javax.naming.InitialContext.lookup(InitialContext.java:455)
      [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.doTests(RealmPerAppTestClient.java:56)
      [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:37)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      [exec] at java.lang.reflect.Method.invoke(Method.java:600)
      [exec] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438)
      [exec] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182)
      [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65)
      [exec] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      [exec] at com.ibm.jsse2.n.a(n.java:19)
      [exec] at com.ibm.jsse2.n.a(n.java:31)
      [exec] at com.ibm.jsse2.sc.b(sc.java:325)
      [exec] at com.ibm.jsse2.sc.a(sc.java:331)
      [exec] at com.ibm.jsse2.sc.g(sc.java:32)
      [exec] at com.ibm.jsse2.sc.a(sc.java:247)
      [exec] at com.ibm.jsse2.e.read(e.java:34)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:604)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:439)
      [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:139)
      [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.readGIOPMessage(MessageBase.java:127)
      [exec] at com.sun.corba.ee.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:147)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:362)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:339)
      [exec] at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:112)
      [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
      [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
      [exec] Got Exception!!! All tests marked as failed!
      [exec] javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/SecAuthTestBean' in SerialContext[myEnv=

      {java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/SecAuthTestBean,Remote 2.x home =com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome,Remote 2.x component interface=com.sun.s1peqe.security.realmperapp.SecAuthTestRemote,ejb-link=SecAuthTestBean,lookup=,mappedName=,jndi-name=java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome' [Root exception is javax.naming.NamingException: Lookup failed for 'java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}

      [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv=

      {java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe]]]]
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      [exec] at javax.naming.InitialContext.lookup(InitialContext.java:455)
      [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.doTests(RealmPerAppTestClient.java:56)
      [exec] at com.sun.s1peqe.security.realmperapp.RealmPerAppTestClient.main(RealmPerAppTestClient.java:37)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      [exec] at java.lang.reflect.Method.invoke(Method.java:600)
      [exec] at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438)
      [exec] at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182)
      [exec] at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65)
      [exec] Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/SecAuthTestBean,Remote 2.x home =com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome,Remote 2.x component interface=com.sun.s1peqe.security.realmperapp.SecAuthTestRemote,ejb-link=SecAuthTestBean,lookup=,mappedName=,jndi-name=java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome' [Root exception is javax.naming.NamingException: Lookup failed for 'java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}

      [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv=

      {java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe]]]
      [exec] at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:178)
      [exec] at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1096)
      [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
      [exec] at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)
      [exec] at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)
      [exec] ... 11 more
      [exec] Caused by: javax.naming.NamingException: Lookup failed for 'java:global/sec-clientcertApp/sec-clientcert-ejb/SecAuthTestBean!com.sun.s1peqe.security.realmperapp.SecAuthTestRemoteHome' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}

      [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv=

      {java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe]]
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      [exec] at javax.naming.InitialContext.lookup(InitialContext.java:455)
      [exec] at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:173)
      [exec] ... 16 more
      [exec] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}

      [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe]
      [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
      [exec] ... 19 more
      [exec] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410003: Write error sent vmcid: OMG minor code: 3 completed: Maybe
      [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      [exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
      [exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
      [exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
      [exec] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
      [exec] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      [exec] at $Proxy34.writeErrorSend(Unknown Source)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.sendWithoutLock(SocketOrChannelConnectionImpl.java:999)
      [exec] at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:151)
      [exec] at com.sun.corba.ee.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:165)
      [exec] at com.sun.corba.ee.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:200)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:274)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:401)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:368)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:273)
      [exec] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:395)
      [exec] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:139)
      [exec] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:82)
      [exec] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
      [exec] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
      [exec] ... 20 more
      [exec] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      [exec] at com.ibm.jsse2.n.a(n.java:19)
      [exec] at com.ibm.jsse2.n.a(n.java:31)
      [exec] at com.ibm.jsse2.sc.b(sc.java:325)
      [exec] at com.ibm.jsse2.sc.a(sc.java:331)
      [exec] at com.ibm.jsse2.sc.g(sc.java:32)
      [exec] at com.ibm.jsse2.sc.a(sc.java:247)
      [exec] at com.ibm.jsse2.e.read(e.java:34)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:604)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:439)
      [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:139)
      [exec] at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.readGIOPMessage(MessageBase.java:127)
      [exec] at com.sun.corba.ee.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:147)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:362)
      [exec] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:339)
      [exec] at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:112)
      [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
      [exec] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
      [exec] p: default-threadpool; w: 1, READ: TLSv1 Alert, length = 2
      [exec] p: default-threadpool; w: 1, RECV TLSv1 ALERT: fatal, handshake_failure
      [exec] p: default-threadpool; w: 1, called closeSocket()
      [exec] p: default-threadpool; w: 1, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      [exec] main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      [exec] main, called close()
      [exec] main, called closeInternal(true)
      [exec] Generating report at /export/hudson/workspace/alex-aix3.1.1gf/appserver-sqe/test_results.xml
      [exec] [exec] [exec] -----------------------------------------
      [exec] - CLIENT-CERT-nickname-Test2-iscaller-expected: FAIL -
      [exec] - CLIENT-CERT-nickname-Test1-iscaller-in-role: FAIL -
      [exec] - CLIENT-CERT-nickname-Test4-unauthorized-method: FAIL -
      [exec] - CLIENT-CERT-nickname-Test3-authorized-method: FAIL -
      [exec] -----------------------------------------
      [exec] Total PASS: 0
      [exec] Total FAIL: 4
      [exec] Total DNR: 0
      [exec] -----------------------------------------

        Issue Links

          Activity

          Hide
          Harshad Vilekar added a comment -

          > Connection failure: socketType: SSL; hostname: localhost; port: 3820

          The failure is caused due to undesired side effect of the change made for GLASSFISH-16546 for embedded glassfish. The test clientcertnickname PASS after the change for 16546 is backed out in my local workspace. Looking at alternate resolution for 16546 that would fix this issue also.

          Show
          Harshad Vilekar added a comment - > Connection failure: socketType: SSL; hostname: localhost; port: 3820 The failure is caused due to undesired side effect of the change made for GLASSFISH-16546 for embedded glassfish. The test clientcertnickname PASS after the change for 16546 is backed out in my local workspace. Looking at alternate resolution for 16546 that would fix this issue also.
          Hide
          Harshad Vilekar added a comment -

          Some findings and data points:

          1. The test clientcertnickname PASSed (on Solaris 10) with my latest local build. Log attached. The test FAILed when it was rerun on the same machine. I'm seeing inconsistent results with the test.

          2. At the moment, it doesn't look like Build 10 ORB changes are triggering the failure. I backed out most of the B10 ORB changes in the local workspace, and still see similar inconsistent results with the test (PASS about 20% of the runs, FAIL rest of the time).

          Show
          Harshad Vilekar added a comment - Some findings and data points: 1. The test clientcertnickname PASSed (on Solaris 10) with my latest local build. Log attached. The test FAILed when it was rerun on the same machine. I'm seeing inconsistent results with the test. 2. At the moment, it doesn't look like Build 10 ORB changes are triggering the failure. I backed out most of the B10 ORB changes in the local workspace, and still see similar inconsistent results with the test (PASS about 20% of the runs, FAIL rest of the time).
          Hide
          Harshad Vilekar added a comment -

          The fix is available in updated CORBA build (attached): bundles-archive.zip

          Please copy the jar files to glassfish3/glassfish/modules directory.

          Show
          Harshad Vilekar added a comment - The fix is available in updated CORBA build (attached): bundles-archive.zip Please copy the jar files to glassfish3/glassfish/modules directory.
          Hide
          Nithya Ramakrishnan added a comment -

          This test consistently passes on b10 (on AIX) with the attached patch, and on removing the patch, it fails.

          Show
          Nithya Ramakrishnan added a comment - This test consistently passes on b10 (on AIX) with the attached patch, and on removing the patch, it fails.
          Hide
          scatari added a comment -

          CTS failure, bumping the priority.

          Show
          scatari added a comment - CTS failure, bumping the priority.

            People

            • Assignee:
              Harshad Vilekar
              Reporter:
              sonialiu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: