java.lang.IllegalStateException: Context pushed was ... but Context Being Popped Is ... Exception Generated with WebLogic 12.2.1
(Doc ID 2138189.1)
Last updated on JUNE 02, 2023
Applies to:
Oracle WebLogic Server - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
A web service is based on EJB as the following :
The deployment of this web service into WebLogic Server (WLS) 12.2.1 is successful, and the 'sayHello' method can be invoked and returns the expected result .
The problem is that when invoking this web service, the following error is thrown :
java.lang.IllegalStateException: Context pushed was [(pId = 0, pName = DOMAIN, appId = EJB-xxx, appName = EJB-xxx, appVersion = null, mId = /EJB-xxx-EJB-xxx
o-webapp, compName = /EJB-xxxx-EJB-xxx-webapp)], but context being popped is [(pId = 0, pName = DOMAIN, appId = EJB-xxx, appName = EJB-xxx, appVersion = null
, mId = EAR-xxx-jar, compName = SessionEJB)].
java.lang.IllegalStateException: Context pushed was [(pId = 0, pName = DOMAIN, appId = EJB-xxxx, appName = EJB-anno, appVersion = null, mId = /EJB-xxx-EJB-xxx
-webapp, compName = /EJB-xxx-EJB-Anno-webapp)], but context being popped is [(pId = 0, pName = DOMAIN, appId = EJB-xxx, appName = EJB-xxx, appVersion = null,
mId = EAR-xxx-jar, compName = SessionEJB)]
at weblogic.application.ComponentInvocationContextManagerImpl$4.validate(ComponentInvocationContextManagerImpl.java:256)
at weblogic.application.ComponentInvocationContextManagerImpl$4.close(ComponentInvocationContextManagerImpl.java:231)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |