This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Session Bean Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session Bean Exception" Watch "Session Bean Exception" New topic
Author

Session Bean Exception

shamshad ali
Greenhorn

Joined: Nov 10, 2003
Posts: 1
Hi
i m using Blazix server to test my EJBs. Entity beans are runing fine but as soon as i deploy any session bean and use any client to test the ejb it shows followign error. Any Help ??
Regards
Shams
java SessionClientSample
javax.naming.NamingException: Failed to locate ejb at host localhost:2050. Root
exception is java.rmi.UnmarshalException: error unmarshalling return; nested ex
ception is:
java.lang.ClassNotFoundException: stocks.StockQuotesHomeCtx_Stub (no sec
urity manager: RMI class loader disabled)
java.lang.ClassNotFoundException: stocks.StockQuotesHomeCtx_Stub (no security ma
nager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
a:143)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:918)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:300)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134)
at desisoft.ejb.server.EjbServerJRMP_Stub.getEjbHome(Unknown Source)
at desisoft.ejb.client.EjbClientContext.lookup(EjbClientContext.java:102
)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at SessionClientSample.main(SessionClientSample.java:24)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Bean Exception