Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RemoteException

 
nitin sachdeva
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic