Hi Sanket

The SessionContext  can not be transient as you are surely using the
Stateful session bean
For a stateful session bean the state need to be maintained during the
passivation.
So don't make the session context as transient
as the container writes the reference also to the persistant state

Regards
Hemant



                    Sanket Bakshi
                    <s.bakshi@EBSOLUT        To:     [EMAIL PROTECTED]
                    ECH.COM>                 cc:
                    Sent by: A               Subject:     Transient Session Context.
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    08/02/01 01:56 PM
                    Please respond to
                    Sanket Bakshi





I have a simple Hello World EJ BEan.
When trying to use the 'ejbc'  tool provided by WebLogic.
It gives me an error saying...

References to javax.ejb.SessionContext , EntityContext, EJBContext must not
be transient

What can be the problem ?
Do I need to modify the code ?

Regards,
Sanket Bakshi.
[EMAIL PROTECTED]
http://sanket.faithweb.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to