aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Accessing the Ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Accessing the Ejb" Watch "Accessing the Ejb" New topic
Author

Accessing the Ejb

shiva kumarp
Greenhorn

Joined: Aug 26, 2001
Posts: 3
Actually i deployed an EJB in weblogic server 6.0 version by using exploded directory format,the EJB was deployed perfectly ,when i try to access this particular EJB via a servlet i am not getting the reference to home object and an exception was thrown which look like this.
java.rmi.RemoteException: EJB Exception:; nested exception is:
java.lang.IllegalStateException: Illegal call to EJBContext method. The EJB specification
(See Section 9.6.5, for example.) places restrictions on the methods that may be invoked during
certain phases of a bean's lifecycle. One of these restrictions has been violated.
java.lang.IllegalStateException: Illegal call to EJBContext method. The EJB specification (See Se
ction 9.6.5, for example.) places restrictions on the methods that may be invoked during certain
phases of a bean's lifecycle. One of these restrictions has been violated.
<<no stack trace available>>
Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
how did you solve it ?


Test 094, IBM WID 6.0 cert
SCJP 1.2
SCBCD 1.3 Beta
SCWCD 1.4 Beta
SCMAD Beta
SCDJWS Beta

KS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing the Ejb