Re: [JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton
Adrian Brock <[EMAIL PROTECTED]> writes:

> On Wed, 2003-10-15 at 23:21, Bob Cotton wrote:
>> jboss 3.2.1
>> 
>> I have JBossMQ running on a multihomed machine. 
>> 
>> The lookup (from another machine) of the connection factory works over
>> HAJNDI, but upon calling
>> QueueConnectionFactory.createQueueConnection() i get this:
>> 
>
> Bill Burke just added generic support for this in 3.2.2
>
> You will need to explictly set the system property in 3.2.1
>
> The attribute is the BindAddress, e.g.


I think that support was to *limit* the bind address to just one
interface.

netstat -na |grep 809 shows:

tcp0  0 0.0.0.0:80900.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80910.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80920.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80930.0.0.0:*   LISTEN  

All the ILServices are listening on ALL interfaces.

I believe our problem has something to do with where the Jndi cluster
is bound. We have two interfaces, call them 'front' and 'back'. I've
configured the bind_addr of javagroup to bind to the 'back' interface.

The client that throws the exception connects directly to one of the
HAJNDI ports (1098) on the 'front' network. This VM does not find the
Queue, so it asks the cluster. 

I think what is happening is the clustered jndi lookup is returning a
(stub,proxy,???) from the 'back' network. This client times out trying
to connect to the 'back' network.

I'm going to try to bind the Jndi cluster to the front network, or
feed the client the direct jndi url of the VM that has these queues.

- Bob

-- 
SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
Denver, CO  80202   | Fax:(303)534-4257 | 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Adrian Brock
On Wed, 2003-10-15 at 23:21, Bob Cotton wrote:
> jboss 3.2.1
> 
> I have JBossMQ running on a multihomed machine. 
> 
> The lookup (from another machine) of the connection factory works over
> HAJNDI, but upon calling
> QueueConnectionFactory.createQueueConnection() i get this:
> 

Bill Burke just added generic support for this in 3.2.2

You will need to explictly set the system property in 3.2.1

The attribute is the BindAddress, e.g.

  
jboss.mq:service=Invoker
UIL2ConnectionFactory
UIL2XAConnectionFactory
${jboss.bind.address} 
8093
6
true


7


2048



100
  

Regards,
Adrian

> 
> 
> 21:27:21,987 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate user; 
> - nested throwable: (java.net.ConnectException: Connectio
> n timed out)
> 21:27:21,987 ERROR [STDERR] at 
> org.jboss.mq.Connection.authenticate(Connection.java:883)
> 21:27:21,987 ERROR [STDERR] at 
> org.jboss.mq.Connection.(Connection.java:238)
> 21:27:21,987 ERROR [STDERR] at 
> org.jboss.mq.Connection.(Connection.java:315)
> 21:27:21,988 ERROR [STDERR] at 
> org.jboss.mq.SpyConnection.(SpyConnection.java:59)
> 21:27:21,988 ERROR [STDERR] at 
> org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)
> 
> 
> Do I need to bind another service to a particular interface?
> 
> Thanks
>  -Bob
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton

jboss 3.2.1

I have JBossMQ running on a multihomed machine. 

The lookup (from another machine) of the connection factory works over
HAJNDI, but upon calling
QueueConnectionFactory.createQueueConnection() i get this:



21:27:21,987 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate user; - 
nested throwable: (java.net.ConnectException: Connectio
n timed out)
21:27:21,987 ERROR [STDERR] at 
org.jboss.mq.Connection.authenticate(Connection.java:883)
21:27:21,987 ERROR [STDERR] at org.jboss.mq.Connection.(Connection.java:238)
21:27:21,987 ERROR [STDERR] at org.jboss.mq.Connection.(Connection.java:315)
21:27:21,988 ERROR [STDERR] at 
org.jboss.mq.SpyConnection.(SpyConnection.java:59)
21:27:21,988 ERROR [STDERR] at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)


Do I need to bind another service to a particular interface?

Thanks
 -Bob

-- 
SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
Denver, CO  80202   | Fax:(303)534-4257 | 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user