Please help with a strange ibatis problem

2009-01-09 Thread Woody Dickson
Hi, I am using iBatis to automatically store some info into the database when a message is received by Activemq. My routing is shown as follows: The the data is received, I am getting com.mysql.jdbc.exceptions.jdbc4.Communi

Re: Need help with EOFException

2009-01-09 Thread Juan Backson
Hi, I think the problem is that the end-of-line or end-of-message indicator I sent to activemq from my C client is not correctly recognized. I have tried '\0' and '\n' to end the line ( similar to ctrl-@ in telnet window ), but it does not work. Does anyone know how I can solved this problem? T

Stale connections

2009-01-09 Thread moschel
Hey guys, I'm having a problem with seemingly stale connections with ActiveMQ. I'm using Jetty to connect to ActiveMQ server, and after some time, the Jetty instances' MessageListener class stops responding to messages, even though they are being sent. After I restart the Jetty instances, they

RE: Newbie Question

2009-01-09 Thread Glenn Macgregor
James, Thanks for the response. Not exactly sure which I want to do in your terms...maybe some hybrid. The end result is to build from front-end GUI that attaches to ActiveMQ and shows stats (and potentially manages) some Java jmx enabled apps. Kind of like a JConsole which gets its data from

Re: JBoss 4.2.3.GA Embedded AMQ 5.2.0 broker and web console help

2009-01-09 Thread Dejan Bosanac
> So, more work to do for the ActiveMQ team :-) > Yeah. I'll take a look at that next week. Regards -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net

Re: Newbie Question

2009-01-09 Thread James Strachan
2009/1/9 Glenn Macgregor : > Hi All, > > I am looking into user ActiveMQ for our main message bus. I currently have a > few Java applications which we manage using JConsole (jmx) and monitor. > > This may seem like a strange question due to my lack of knowledge about > this...but is there a way

Newbie Question

2009-01-09 Thread Glenn Macgregor
Hi All, I am looking into user ActiveMQ for our main message bus. I currently have a few Java applications which we manage using JConsole (jmx) and monitor. This may seem like a strange question due to my lack of knowledge about this...but is there a way to hook up my jmx enabled apps into Act

Re: Uses of SpringSslContext

2009-01-09 Thread nestabur
Isue created https://issues.apache.org/activemq/browse/AMQ-2058 AMQ-2058 Dejan Bosanac wrote: > > On a second look, it seems like SpringSslContext could not be used with > connection factories, but only for broker configuration. You should use > the > system properties for now and you can rai

Re: BrokerService.isSlave() for pure master/slave only?

2009-01-09 Thread Ryan Stewart
That may work. I went and found the openwire connector and checked its status since slave brokers don't start their connectors. This required a bit of reflection, but it's very fast and only a temporary solution. The problem still remains, though, that isSlave() seems to make bad assumptions, and

Re: JBoss 4.2.3.GA Embedded AMQ 5.2.0 broker and web console help

2009-01-09 Thread Eric Ma
Dejan Bosanac wrote: > > Hi Eric, > > I didn't try embedding web console into JBoss, but from what you said it > seems to me that the problem with your configuration is the default > WEB-INF/webconsole-embedded.xml configuration file that tries to start new > broker instance. > > Can you try r

Re: Uses of SpringSslContext

2009-01-09 Thread Dejan Bosanac
On a second look, it seems like SpringSslContext could not be used with connection factories, but only for broker configuration. You should use the system properties for now and you can raise a Jira enhancement request for this. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.

Re: ActiveMQ client library hanging indefinitely when attempting to use failover URL in conjunction with connection paramters

2009-01-09 Thread Dejan Bosanac
Hi, can you file this as Jira issue, ideally with the test case? Regards -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jan 6, 2009 at 8:35 PM, brent.nash wrote: > >

Re: Uses of SpringSslContext

2009-01-09 Thread nestabur
Yes, I'm using that certificates provided by activemq: activemq.ssl.trust.store=/WEB-INF/certificates/client.ts activemq.ssl.trust.pwd=password activemq.ssl.key.store=/WEB-INF/certificates/client.ks activemq.ssl.key.pwd=password NEStor Dejan Bosanac wrote: > > Hi, > > it seems like you are t

Re: Uses of SpringSslContext

2009-01-09 Thread Dejan Bosanac
Hi, it seems like you are trying to use wrong certificates to connect to the broker. If you are using default broker certificate, that you should reference conf/client.ks and conf/client.ts from your client. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Act

Re: network of brokers - behavior does not seem right.

2009-01-09 Thread Dejan Bosanac
Hi Joel, that's exactly how network of brokers should work. Messages from one broker are forwarded to another only if there are consumers for that message on another broker. What you need for your high-availability requirements is some kind of master-slave configuration. You can find available op

Re: Need help with EOFException

2009-01-09 Thread Dejan Bosanac
Hi Juan, EOFException means that your client closed the socket unexpectedly. I'm afraid I cannot help you much more. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Jan 9, 2009

Re: JBoss 4.2.3.GA Embedded AMQ 5.2.0 broker and web console help

2009-01-09 Thread Dejan Bosanac
Hi Eric, I didn't try embedding web console into JBoss, but from what you said it seems to me that the problem with your configuration is the default WEB-INF/webconsole-embedded.xml configuration file that tries to start new broker instance. Can you try replacing it with webconsole-invm.xml or th

Need help with EOFException

2009-01-09 Thread Juan Backson
Hi When I use my c stomp client to send TCP/IP message to activemq, I am getting EOFException. I am using '\0' to represent ^@ (request = switch_mprintf( "SEND\ndestination:%s\n\n%s\n\n\0",dest,msg);) Does anyone know what is wrong with that? When I use the telnet window to send the message, this