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: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Halil-C. G�rsoy (che---)
Assigned to: Sacha Labourey (slaboure)
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

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

Comment By: Halil-C. G�rsoy (che---)
Date: 2003-03-14 13:11

Message:
Logged In: YES 
user_id=455149

After more testing and changing to JB 3.2 RC3 i couldn't
reproduce this error anymore, so this report should be closed. 

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

Comment By: Sacha Labourey (slaboure)
Date: 2003-02-07 15:50

Message:
Logged In: YES 
user_id=95900

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

I would love to get your test application so that I can debug 
more efficiently.


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

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:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to