Folks,
Steps to produce error:
1. Make sure my jboss server is not running.
2. Start my client app which tries to connect to the JBoss server

Result:
Error message that refers to a completely different 
java.naming.provider.url (actually one of my colleagues ports on a 
different server machine)

Expected result:
Error message that refers to my java.naming.provider.url (in my case 
localhost:1099)

Environment: Happens on JBoss 3.0.0, 3.0.1 and 3.0.2 running under Linux 
or Windows 2000.

(ejb.RemoteHomeFactory               122 ) Exception occurred while 
looking up a remote home object
javax.naming.CommunicationException: Failed to retrieve stub from server 
10.100.1.30:1100.  Root exception is 
java.io.StreamCorruptedException: unexpected block data
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)
        at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
        at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
        at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
        at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
        at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
        at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:169)
        at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:942)
        at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1017)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:447)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at 
xcom.traxbahn.util.ejb.RemoteHomeFactory.lookUpHome(RemoteHomeFactory.java:111)

Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to