• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to access the ejb deployed on weblogic application server

 
anish reddy
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i success fully deployed ejb on weblogic server but unable to access in a client application

the exception is

javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at weblogic.jrmp.Context.lookup(Context.java:189)
at weblogic.jrmp.Context.lookup(Context.java:195)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.an.AddClient.main
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at weblogic.jrmp.Context.lookup(Context.java:185)
... 3 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(Unknown Source)
... 8 more

my weblogic version is 9.0 and jdk i 5.0
can any one give information regarding it
 
Ankit Garg
Sheriff
Posts: 9591
34
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I don't know much about this but still I would like to try . First of all I think you are talking about a statefull or stateless session bean. Now is the client application remote or local?? Also how do you know that the EJBs are deployed. Did you check the JNDI tree or something (I do this on jBoss but I don't have any idea about weblogic). The 4th comment on this page might be helpful...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!