File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes RemoteException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

RemoteException

nitin sachdeva
Greenhorn

Joined: May 20, 2003
Posts: 8
I am calling CMP2.0 from client and just after calling ejbCreate method
the server crashes and i get following error at client's console
Plz help!!!
this is what i get at client's console:
************************************************************
Context loaded and before lookup
got home reference from Company
weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.net.SocketResetException - with nested exception:
[java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read]
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:300)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
**************************************************************

And this is the code for client:
***********************************
Object home = (CompanyHome)ctx.lookup("CompanyHome");
CompanyHome home1 = (CompanyHome) PortableRemoteObject.narrow(home, CompanyHome.class);

System.out.println("got home reference from Company");
Company remote = home1.create(new CompanyPK("3"),"ghi");
System.out.println("create for Company called from client and about to call fnc_temp() ");
remote.fnc_temp();
System.out.println("after fnc_temp()");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RemoteException
 
Similar Threads
problem with connect with URL
what does this Exception mean???thanx!@!!!
PeerGoneException
Image transfer through sockets
How to write to the servlet with standalone application