glassfish
  1. glassfish
  2. GLASSFISH-20355

stateful/lifecycle tests failed with CDI enabled

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0_b85
    • Fix Version/s: 4.0
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      RHL6 and JDK1.7.0_10

      Description

      stateful/lifecycle tests failed with CDI enabled

      glassfish-4.0-b85.zip

      appserver-sqe/pe/ejb/ejb30/session/stateful/lifecycle
      Lifecycle of session beans

      Tests failed on b85 promoted, but passed on b84 promoted.

      Thanks Mitesh for the initial analysis:
      Looks like failing after passivating a SFSB
      The tests started to fail with nightly of Apr 12 and
      pass after disabling implicit-cdi (using asadmin set configs.config.server-config.cdi-service.enable-implicit-cdi=false).

        Activity

        Hide
        tlcksnyder added a comment -

        Exception from log ftp://adc2120166.us.oracle.com/pub/tmp/appserver-sqe_130418_EJB3_six_test_failure/stateful_lifecycle_server_log.txt:
        javax.ejb.NoSuchObjectLocalException: Invalid Session Key ( 81900a1600e51f-1eb0a831-2)
        at com.sun.ejb.containers.StatefulSessionContainer._getContextForInstance(StatefulSessionContainer.java:1469)
        at com.sun.ejb.containers.StatefulSessionContainer.getEJBRemoteBusinessObjectImpl(StatefulSessionContainer.java:1493)
        at com.sun.ejb.containers.BaseContainer.getTargetObject(BaseContainer.java:1751)
        at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.preinvoke(POARemoteReferenceFactory.java:501)
        at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorImpl_NR_USM.internalGetServant(POAPolicyMediatorImpl_NR_USM.java:93)
        at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.getInvocationServant(POAPolicyMediatorBase.java:139)
        at com.sun.corba.ee.impl.oa.poa.POAImpl.getInvocationServant(POAImpl.java:1805)
        at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.getServant(ServerRequestDispatcherImpl.java:286)
        at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.getServantWithPI(ServerRequestDispatcherImpl.java:311)
        at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:196)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930)
        at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496)
        at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222)
        at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
        at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)

        Show
        tlcksnyder added a comment - Exception from log ftp://adc2120166.us.oracle.com/pub/tmp/appserver-sqe_130418_EJB3_six_test_failure/stateful_lifecycle_server_log.txt: javax.ejb.NoSuchObjectLocalException: Invalid Session Key ( 81900a1600e51f-1eb0a831-2) at com.sun.ejb.containers.StatefulSessionContainer._getContextForInstance(StatefulSessionContainer.java:1469) at com.sun.ejb.containers.StatefulSessionContainer.getEJBRemoteBusinessObjectImpl(StatefulSessionContainer.java:1493) at com.sun.ejb.containers.BaseContainer.getTargetObject(BaseContainer.java:1751) at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.preinvoke(POARemoteReferenceFactory.java:501) at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorImpl_NR_USM.internalGetServant(POAPolicyMediatorImpl_NR_USM.java:93) at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.getInvocationServant(POAPolicyMediatorBase.java:139) at com.sun.corba.ee.impl.oa.poa.POAImpl.getInvocationServant(POAImpl.java:1805) at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.getServant(ServerRequestDispatcherImpl.java:286) at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.getServantWithPI(ServerRequestDispatcherImpl.java:311) at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:196) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930) at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496) at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222) at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497) at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
        Hide
        Mitesh Meswani added a comment -

        Assigning to JJ since this issue is due to enable-implicit-cdi

        Show
        Mitesh Meswani added a comment - Assigning to JJ since this issue is due to enable-implicit-cdi
        Hide
        jjsnyder83 added a comment -

        Can you provide info on how to download and execute the tests?

        Show
        jjsnyder83 added a comment - Can you provide info on how to download and execute the tests?
        Hide
        sherryshen added a comment -

        Hi JJ,

        Thanks for looking into the bug.

        1) To set up test env, please reference the instruction section I, IIa
        http://aseng-wiki.us.oracle.com/asengwiki/display/ASQA/4.0+Core+Test+Instructions
        (use co-ejb instead of co-core to save check out time).
        2) To run test suite, do "ant all" in test suite dir
        (e.g. $SPS_HOME/pe/ejb/ejb30/session/stateful/lifecycle in this bug)

        Here is build.xml for this suite and test env in hudson configure for your reference.
        http://sqe-hudson.us.oracle.com:8080/hudson/job/sherry-das/ws/appserver-sqe/pe/ejb/ejb30/session/stateful/lifecycle/build.xml/*view*/
        http://sqe-hudson.us.oracle.com:8080/hudson/job/sherry-das/
        I will update the bug with this info.
        For other suites, you can run tests similarly.
        Thanks!

        Sherry

        Show
        sherryshen added a comment - Hi JJ, Thanks for looking into the bug. 1) To set up test env, please reference the instruction section I, IIa http://aseng-wiki.us.oracle.com/asengwiki/display/ASQA/4.0+Core+Test+Instructions (use co-ejb instead of co-core to save check out time). 2) To run test suite, do "ant all" in test suite dir (e.g. $SPS_HOME/pe/ejb/ejb30/session/stateful/lifecycle in this bug) Here is build.xml for this suite and test env in hudson configure for your reference. http://sqe-hudson.us.oracle.com:8080/hudson/job/sherry-das/ws/appserver-sqe/pe/ejb/ejb30/session/stateful/lifecycle/build.xml/*view*/ http://sqe-hudson.us.oracle.com:8080/hudson/job/sherry-das/ I will update the bug with this info. For other suites, you can run tests similarly. Thanks! Sherry
        Show
        jjsnyder83 added a comment - http://java.net/jira/browse/GLASSFISH-20325
        Hide
        sherryshen added a comment -

        Test passed on build 86 promoted.
        Thanks for the analysis and fix.

        Show
        sherryshen added a comment - Test passed on build 86 promoted. Thanks for the analysis and fix.

          People

          • Assignee:
            jjsnyder83
            Reporter:
            sherryshen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: