File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing the Ejb

 
shiva kumarp
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how did you solve it ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic