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

Session Bean Exception

shamshad ali

Joined: Nov 10, 2003
Posts: 1
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 ??
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(
at sun.rmi.server.LoaderHandler.loadClass(
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
at sun.rmi.server.UnicastRef.unmarshalValue(
at sun.rmi.server.UnicastRef.invoke(
at desisoft.ejb.server.EjbServerJRMP_Stub.getEjbHome(Unknown Source)
at desisoft.ejb.client.EjbClientContext.lookup(
at javax.naming.InitialContext.lookup(
at SessionClientSample.main(
I agree. Here's the link:
subject: Session Bean Exception