Issue Details (XML | Word | Printable)

Key: GLASSFISH-20355
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: jjsnyder83
Reporter: sherryshen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

stateful/lifecycle tests failed with CDI enabled

Created: 19/Apr/13 04:37 PM   Updated: 25/Apr/13 02:17 PM   Resolved: 19/Apr/13 06:55 PM
Component/s: ejb_container
Affects Version/s: 4.0_b85
Fix Version/s: 4.0

Time Tracking:
Not Specified

Environment:

RHL6 and JDK1.7.0_10


Tags:
Participants: jjsnyder83, Mitesh Meswani, sherryshen and tlcksnyder


 Description  « Hide

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).



tlcksnyder added a comment - 19/Apr/13 04:59 PM

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)


Mitesh Meswani added a comment - 19/Apr/13 05:03 PM

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


jjsnyder83 added a comment - 19/Apr/13 05:51 PM

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


sherryshen added a comment - 19/Apr/13 06:19 PM

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


jjsnyder83 added a comment - 19/Apr/13 06:55 PM

sherryshen added a comment - 25/Apr/13 02:17 PM

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