I've got a bit more information on this now, though no solution yet. The problem still 
exists in 3.2.6RC1. It can be reproduced with the code:

Properties p = new Properties();
p.put("java.naming.factory.initial",   "org.jnp.interfaces.NamingContextFactory");     
 p.put("java.naming.factory.url.pkgs", "jboss.naming:org.jnp.interfaces");
p.put("java.naming.provider.url", "jnp://localhost:1100");

InitialContext ctx = new InitialContext(p);
ctx.rebind("/name", new String("simple item"));

If you run this any time after the cluster has been established then the rebind call 
will take 60s. Notice that I'm connecting to the JNDI on port 1100, the HA-JNDI not 
the local JNDI on port 1099. Is this wrong for some reason? Like I said in my last 
post this code worked in 3.2.3. Here's the stack trace for when the machine is 
blocked.....

at java.lang.Object.wait(Native Method)
- waiting on <0x1017ee88> (a java.lang.Object)
at org.jgroups.blocks.GroupRequest.doExecute(GroupRequest.java:500)
at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:183)
- locked <0x1017ee88> (a java.lang.Object)
at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:392)
at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:133)
at 
org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:618)
at org.jboss.ha.jndi.TreeHead.rebind(TreeHead.java:133)
- locked <0x10fa9d30> (a org.jboss.ha.jndi.TreeHead)
at org.jboss.ha.jndi.HAJNDI.rebind(HAJNDI.java:119)
- locked <0x10fa6460> (a org.jboss.ha.jndi.HAJNDI)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
at $Proxy54.rebind(Unknown Source)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:441)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:414)
at com.hcl.simple.SimpleSAR.bind(SimpleSAR.java:194)

Has anyone seen this? Am I setting up my cluster properly? My testing envoronment is:

-2 W2K machines on the same router
-each machine running Jboss 3.2.5 (3.2.6RC1 gives the same result)
-Java 1.4.2_05 

If you are interested in verifying the behaviour I can send you my SAR and all of its 
source. If you need more information please let me know. Thanks


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847698#3847698

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847698


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to