-
1. Re: jboss+eclipse + MS Sqlserver 20000
stetsonab Jan 6, 2006 10:05 AM (in response to fresher)I received exactly the same error trying to set up an ejb client. PLEASE HELP! I AM STUCK!! Fresher, if you solved the problem in the meantime, can you let me know what you did? Thanks!!!
-
2. Re: jboss+eclipse + MS Sqlserver 20000
stetsonab Jan 6, 2006 10:08 AM (in response to fresher)Here is my exception: I am also using Jboss with exclipse with db connectivity to db2.
javax.naming.CommunicationException: Failed to retrieve stub from server localhost:8180 [Root exception is java.io.EOFException]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:209)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1183)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.wcom.rrs.remote.client.CATsClientBean.login(CATsClientBean.java:76)
at com.wcom.rrs.remote.client.CATsClientBean.main(CATsClientBean.java:105)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.(ObjectInputStream.java:253)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:197) -
3. Re: jboss+eclipse + MS Sqlserver 20000
k_gajan Jan 17, 2006 7:24 AM (in response to fresher)I received exactly the same error trying to set up an ejb client.
Since I am fresher , i got stuck in there
When I ran the JBoss server , I got the exception
10:41:54,562 WARN [HANamingService] Failed to start AutomaticDiscovery
java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.join(Unknown Source)
at java.net.MulticastSocket.joinGroup(Unknown Source)
after that I tried to make a method call from the client in the same machine as server [client -jar created]
Then I got the following
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.invocation.MarshallingInvokerInterceptor; unable to create instance]
Lookup of java:/comp/env/ failed
could any one help me out?