Re: [JBoss-user] Cannot send a message to the JMS server

2004-01-05 Thread Adrian Brock
On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > Of course it does. The question is, the JBoss instance is always > talking to itself, on the same machine. Shouldn't the TCP/IP > connection just stay up all the time? I've never encountered this > behaviour before JBoss 3.2.3. > Are you in the

Re: [JBoss-user] Cannot send a message to the JMS server

2004-01-05 Thread Adrian Brock
jndiContext.lookup("java:/ConnectionFactory"); Regards, Adrian > On Tue, 2003-12-23 at 20:27, Neal Sanche wrote: > My code is something like the following: > > /** > * Allocate the JMS Resources if needed. > */ > private void allocateResourcesIfNeeded() { > try { >

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
My code is something like the following: /** * Allocate the JMS Resources if needed. */ private void allocateResourcesIfNeeded() { try { InitialContext jndiContext = new InitialContext(); Topic topic = (Topic) jndiContext .lookup("topic

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Adrian Brock
> On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > > Of course it does. The question is, the JBoss instance is always > > talking to itself, on the same machine. Shouldn't the TCP/IP > > connection just stay up all the time? I've never encountered this > > behaviour before JBoss 3.2.3. > > >

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
Of course it does. The question is, the JBoss instance is always talking to itself, on the same machine. Shouldn't the TCP/IP connection just stay up all the time? I've never encountered this behaviour before JBoss 3.2.3. -Neal On December 23, 2003 12:56 pm, Adrian Brock wrote: > The message s

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Adrian Brock
The message says the tcp/ip connection was broken. You can monitor for this event using javax.jms.Connection.setExceptionListener() and reconnect. Regards, Adrian On Tue, 2003-12-23 at 17:44, Neal Sanche wrote: > Hi All, > > I'm running a JBoss on a machine that tends to have an IP address > c

[JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
Hi All, I'm running a JBoss on a machine that tends to have an IP address change periodically on it's PPP adaptor. I am suspecting that might be the reason for the following exceptions that I get after a certain amount of time on my system: 2003-12-23 12:30:48,577 INFO [com.cartel.usc.jmx.Tim