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. <mbean code="org.jboss.mq.il.uil2.UILServerILService" name="jboss.mq:service=InvocationLayer,type=UIL2"> <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends> <attribute name="ConnectionFactoryJNDIRef">UIL2ConnectionFactory</attribute> <attribute name="XAConnectionFactoryJNDIRef">UIL2XAConnectionFactory</attribute> <attribute name="BindAddress">${jboss.bind.address}</attribute> <!-- !!! HERE !!! --> <attribute name="ServerBindPort">8093</attribute> <attribute name="PingPeriod">60000</attribute> <attribute name="EnableTcpNoDelay">true</attribute> <!-- Used to disconnect the client if there is no activity --> <!-- Ensure this is greater than the ping period --> <attribute name="ReadTimeout">70000</attribute> <!-- The size of the buffer (in bytes) wrapping the socket --> <!-- The buffer is flushed after each request --> <attribute name="BufferSize">2048</attribute> <!-- Large messages may block the ping/pong --> <!-- A pong is simulated after each chunk (in bytes) for both reading and writing --> <!-- It must be larger than the buffer size --> <attribute name="ChunkSize">1000000</attribute> </mbean> 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.<init>(Connection.java:238) > 21:27:21,987 ERROR [STDERR] at > org.jboss.mq.Connection.<init>(Connection.java:315) > 21:27:21,988 ERROR [STDERR] at > org.jboss.mq.SpyConnection.<init>(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 -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- 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