File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Error after ejbPassivate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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 ]
 
 
subject: Error after ejbPassivate
 
Threads others viewed
ejbRemove() doesn't call ejbPassivate() ? - HFE p371 question #16
operation allowed in session and entity beans
process of different EJB's Passivation and Activation
Please clarify
How does stateful session bean store its state?
Two Laptop Bag