Re: Running 2 instances of AMQ on the same machine

2011-05-31 Thread teapot
Hi: Thanks for the response. We don't use AMQ console and didn't config conf/jetty.xml entry in AMQ config xml file. We embedded AMQ into our application and we do want to run more than 1 separate instance without any sharing. This is for some automated testing on the same machine so that the te

Running 2 instances of AMQ on the same machine

2011-05-24 Thread teapot
Hello; We configure AMQ on our app server via spring bean and specify the port of transportConnector as follows: We want to run multiple instance of our app server on the same machine. So we change the 61616 to different port number available on that machine(we already assigned different p

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-05-20 Thread teapot
Gary: Is there any code example I can reference to add a plugin with overridden addConnection() method? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-catch-javax-jms-InvalidClientIDException-from-AMQ-tp3458347p3539348.html Sent from the ActiveMQ - User mai

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-21 Thread teapot
Gary: We already have code on the client site(where connection is initiated) to handle the exception. But the same message also showed up on server log and we would like to filter it out. Our AMQ broker is configured and started via spring bean(org.apache.activemq.xbean.BrokerFactoryBean). Is th

How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-18 Thread teapot
Hi: I am using ActiveMQ 5.4.2. I used spring bean to configure ActiveMQ broker and run the application on Tomcat. Is there any way to plug in an exception handler for javax.jms.InvalidClientIDException from the broker? The handler is to deal with the exception the broker output to the Tomcat serve