shamshad ali

Greenhorn
+ Follow
since Nov 10, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by shamshad ali

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)