Bugs item #682243, was opened at 2003-02-07 11:51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=682243&group_id=22866

Category: Clustering
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Halil-C. G�rsoy (che---)
Assigned to: Nobody/Anonymous (nobody)
Summary: 3.0.6 / HAJND: Unable to retrieve remote objects from HAJNDI

Initial Comment:
I have a small test applikation for my small two/three
machine cluster with a very simple SLSB and an Entity
(CMP).

The cluster is based on two linux boxes:

SuSe 7.2
SUN JDK 1.4.1
JB 3.0.6 (standalone)
Catalina 4.1.18 

Red Hat HA 6
SUN J.D.K 1.4.1
JB 3.0.6 (standalone)
Catalina 4.1.18 

The third testing machine is a Win2k but with the same
other things.

The Web Application has some servlets which access the
SB through it's remote interface (i don't use the JB /
TC bundle!).

All needed JAR's (like the jbossha-client.jar) are
packed in the WAR, too.

If i connect to JBoss through the local JNDI it
functions very nice and i see round robin and fail over
functions in the cluster without any problems.

But, if i try to connect to the HA JNDI i have allways
an exception. 
I tryied evrything: Autosense while getting in the
client the initial context (not set the
Context.PROVIDER_URL parameter), set the provider-url
to "jnp://localhost:1100" etc.
I have set the "loopback" attribute in the cluster
settings to true, too, the i tried with on the Win2k
machine.
It looks like that autosensing functions but during the
connection to the HAJNDI there is an error while
getting the stub.

The Exception is this (see full stack trace in the
added file):

Failed to look up EmployeeSession from JNDI Context
javax.naming.CommunicationException: Failed to retrieve
stub from server 192.168.67.65:1100.
Root exception is java.io.StreamCorruptedException:
unexpected block data at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1288)

Thanks and bye
Halil

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=682243&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to