[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s

2004-09-13 Thread k-town
After several days of investigation I finally have something working! The culptrit is 
VMWare! I have 2 physical machines, one of which has 2 VMWare sessions on it as well.  
I was doing all of my testing with the host OS and a separate physical machine. When I 
went into my network setup and disabled the VMWare network adapters on the host OS 
everything started working.
I've seem problems like this before with Multicast and VMWare. Is this a problem 
in JGroups or the way JBoss uses it?  

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

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


---
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


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s

2004-09-10 Thread k-town
Hi Bela, I definitely have a cluster. I didn't check the JMX console, but I can see 
the logging stating that I have 2 machines in the cluster and they are the machines I 
am expecting. As well, the above code works just fine until the second machine comes 
up. As soon as I see the logging stating the cluster has been formed the delays kick 
in. Is there something I need to do to set up clustering that I am missing? Thanks




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

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


---
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


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI bind taking 60s

2004-09-09 Thread k-town
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


[JBoss-user] [Clustering/JBoss] - HA-JNDI bind taking 60s

2004-09-08 Thread k-town
Hello. I've got a two machine cluster set up with JBoss 3.2.5. I'm seeing that once 
the cluster is properly established binding and unbinding with JNDI always takes 60 
seconds.  I'm just using the default cluster-service.xml.   This used to work properly 
with 3.2.3. Has anyone else ever seen this? Is there any way to fix it?

Duncan

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user