This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Error after ejbPassivate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error after ejbPassivate" Watch "Error after ejbPassivate" New topic
Author

Error after ejbPassivate

try catch
Greenhorn

Joined: Jul 14, 2004
Posts: 3
Hi All!
I've a Statefull Session Bean acting as a Session Facade.
Why after a call to ejbPassivate() by JBoss, a subsequent call to ejbActivate() wich access to the SessionContext object throws this exception:
java.lang.IllegalStateException: No security context set
at org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal
(EnterpriseContext.java:276)
at sit.ejb.SessionFacadeBean.ejbActivate(SessionFacadeBean.java:53)

Help me, pleeeease!!!
[ July 20, 2004: Message edited by: try catch ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error after ejbPassivate
 
It's not a secret anymore!