RE: [JBoss-user] ExternalContext and HA-JNDI weirdness
Hello, That would be great if you could directly give me the complete stacktrace. Thank you. Cheers, Sacha -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Brian Towles Envoyé : samedi, 28 septembre 2002 20:49 À : [EMAIL PROTECTED] Objet : RE: [JBoss-user] ExternalContext and HA-JNDI weirdness Sorry too little sleepI'm not communicating effectively.. Heres a quick sketch out Using JBoss 3.0.2 -Situation A - Works JBoss Instance A JBoss Instance B ExternalConext points to --- Standard JNDI Port -Situation B - Does not Work (NameNotFoundException) Cluster A Cluster B JBoss Instance A JBoss Instance B DefaultPartition ADefaultPartition B ExternalContext points to -- HA-JNDI Port (Different Multicast IPs for DefaultPartions A and B as well as for Different Multicast IPs and Names for Other Partitions for EJBs.) -Situation C - Does Work Cluster A Cluster B JBoss Instance A JBoss Instance B Default Partition - Default Partition ExternalContext points to -| HA-JNDI Port (localhost:1100 -| (Same Multicast IP for DefaultPatition on both A and B Different Multicast IPs and Partition names for EJBs in each cluster) *Note JNDIView shows an empty tree under the entry for the ExternalContext in both Situation B and C A failure in this case means that a NameNotFoundException (NNF) is being returned from the HA-JNDI in the case of Situation B. I have not verified but I believe that it is the Local HA-JNDI returning NNF in case B. Since the ExternalContext uses a simple InitialContext inside of it why would that be going through the local HA-JNDI? If its not local to Instance A then why would Instance B fail to look up in one case (B) but not the other (C). Im going to stick with Situation C anyways ass it lets me drop machines in Cluster B without any configuration to cluster A like situation B would make me do. Depending on the network traffic generated of course. Hope that explains it a bit better... im operating on 3 hours of sleep in the past 48. crunch time. Nice work on the clustering btw Sacha, Bill and crew works like a fscking champ. Our arch even has a farm of Resin instances in front of Cluster A load balancing and and failing over. Thanks -=Brian On Sat, 2002-09-28 at 12:06, Sacha Labourey wrote: What do you mean by It doesn't work? and It fails? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Brian Towles Envoyé : samedi, 28 septembre 2002 18:44 À : [EMAIL PROTECTED] Objet : [JBoss-user] ExternalContext and HA-JNDI weirdness Howdy all I having an issue using ExternalContext to point to a a HAJNDI instance on a separate cluster of jboss machines. I have JBoss to JBoss communication working fine with tyrex on an instance to instance basis. And I have ExternalContext working fine when I point it to the normal JNDI port. But when I point it to a HA-JNDI port on the other instance it fails. To get around this I can place all of the instances in the same Default Partition and point the external context to the localhost HA-JNDI port and it works. Im just confused as to why pointing to the HA-JNDI port of a separate cluster doesnt work any hints? Thanks -=Brian --- 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 --- 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 --- 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 --- 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
[JBoss-user] ExternalContext and HA-JNDI weirdness
Howdy all I having an issue using ExternalContext to point to a a HAJNDI instance on a separate cluster of jboss machines. I have JBoss to JBoss communication working fine with tyrex on an instance to instance basis. And I have ExternalContext working fine when I point it to the normal JNDI port. But when I point it to a HA-JNDI port on the other instance it fails. To get around this I can place all of the instances in the same Default Partition and point the external context to the localhost HA-JNDI port and it works. Im just confused as to why pointing to the HA-JNDI port of a separate cluster doesnt work any hints? Thanks -=Brian --- 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
RE: [JBoss-user] ExternalContext and HA-JNDI weirdness
What do you mean by It doesn't work? and It fails? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Brian Towles Envoyé : samedi, 28 septembre 2002 18:44 À : [EMAIL PROTECTED] Objet : [JBoss-user] ExternalContext and HA-JNDI weirdness Howdy all I having an issue using ExternalContext to point to a a HAJNDI instance on a separate cluster of jboss machines. I have JBoss to JBoss communication working fine with tyrex on an instance to instance basis. And I have ExternalContext working fine when I point it to the normal JNDI port. But when I point it to a HA-JNDI port on the other instance it fails. To get around this I can place all of the instances in the same Default Partition and point the external context to the localhost HA-JNDI port and it works. Im just confused as to why pointing to the HA-JNDI port of a separate cluster doesnt work any hints? Thanks -=Brian --- 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 --- 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
RE: [JBoss-user] ExternalContext and HA-JNDI weirdness
Sorry too little sleepI'm not communicating effectively.. Heres a quick sketch out Using JBoss 3.0.2 -Situation A - Works JBoss Instance A JBoss Instance B ExternalConext points to --- Standard JNDI Port -Situation B - Does not Work (NameNotFoundException) Cluster A Cluster B JBoss Instance A JBoss Instance B DefaultPartition ADefaultPartition B ExternalContext points to -- HA-JNDI Port (Different Multicast IPs for DefaultPartions A and B as well as for Different Multicast IPs and Names for Other Partitions for EJBs.) -Situation C - Does Work Cluster A Cluster B JBoss Instance A JBoss Instance B Default Partition - Default Partition ExternalContext points to -| HA-JNDI Port (localhost:1100 -| (Same Multicast IP for DefaultPatition on both A and B Different Multicast IPs and Partition names for EJBs in each cluster) *Note JNDIView shows an empty tree under the entry for the ExternalContext in both Situation B and C A failure in this case means that a NameNotFoundException (NNF) is being returned from the HA-JNDI in the case of Situation B. I have not verified but I believe that it is the Local HA-JNDI returning NNF in case B. Since the ExternalContext uses a simple InitialContext inside of it why would that be going through the local HA-JNDI? If its not local to Instance A then why would Instance B fail to look up in one case (B) but not the other (C). Im going to stick with Situation C anyways ass it lets me drop machines in Cluster B without any configuration to cluster A like situation B would make me do. Depending on the network traffic generated of course. Hope that explains it a bit better... im operating on 3 hours of sleep in the past 48. crunch time. Nice work on the clustering btw Sacha, Bill and crew works like a fscking champ. Our arch even has a farm of Resin instances in front of Cluster A load balancing and and failing over. Thanks -=Brian On Sat, 2002-09-28 at 12:06, Sacha Labourey wrote: What do you mean by It doesn't work? and It fails? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Brian Towles Envoyé : samedi, 28 septembre 2002 18:44 À : [EMAIL PROTECTED] Objet : [JBoss-user] ExternalContext and HA-JNDI weirdness Howdy all I having an issue using ExternalContext to point to a a HAJNDI instance on a separate cluster of jboss machines. I have JBoss to JBoss communication working fine with tyrex on an instance to instance basis. And I have ExternalContext working fine when I point it to the normal JNDI port. But when I point it to a HA-JNDI port on the other instance it fails. To get around this I can place all of the instances in the same Default Partition and point the external context to the localhost HA-JNDI port and it works. Im just confused as to why pointing to the HA-JNDI port of a separate cluster doesnt work any hints? Thanks -=Brian --- 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 --- 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 --- 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
[JBoss-user] ExternalContext: Using a queue from the global JNDI namespace
Hi, I've added a queue, which is from jboss on a remote machine, to the global JNDI namespace on my local machine using org.naming.jboss.ExternalContext. I can access the queue's name but get the following exception when I try to send a message to the queue: [OILServerILService] Client request resulted in a server exception: javax.jms.JMSException: This destination does not exist ! Does anyone know why I'm unable to use the queue? Thanks, Renae. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ExternalContext
Does anyone know how I can configure an externalContext mbean within a jboss.jcml file to allow the jboss on one machine access a queue defined in a jboss running on a seperate machine? Thanks for any response. Renae. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user