eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
382 stars 143 forks source link

stateful/lifecycle tests failed with CDI enabled #20355

Closed glassfishrobot closed 11 years ago

glassfishrobot commented 11 years ago

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

Environment

RHL6 and JDK1.7.0_10

Affected Versions

[4.0_dev]

glassfishrobot commented 6 years ago
glassfishrobot commented 11 years ago

@glassfishrobot Commented @tlcksnyder said: 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)

glassfishrobot commented 11 years ago

@glassfishrobot Commented mm110999 said: Assigning to JJ since this issue is due to enable-implicit-cdi

glassfishrobot commented 11 years ago

@glassfishrobot Commented @jjsnyder said: Can you provide info on how to download and execute the tests?

glassfishrobot commented 11 years ago

@glassfishrobot Commented sherryshen said: 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

glassfishrobot commented 11 years ago

@glassfishrobot Commented @jjsnyder said: http://java.net/jira/browse/GLASSFISH-20325

glassfishrobot commented 11 years ago

@glassfishrobot Commented sherryshen said: Test passed on build 86 promoted. Thanks for the analysis and fix.

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-20355

glassfishrobot commented 11 years ago

@glassfishrobot Commented Reported by sherryshen

glassfishrobot commented 11 years ago

@glassfishrobot Commented Marked as duplicate on Friday, April 19th 2013, 11:55:34 am