master slave clustering with amq5.0

2007-08-28 Thread den!s
Hi all i'm trying to use amq5.0 in a cluster master slave with Shared File System. It worked with the 4.1.1, and I took the same config, but now i got this error ERROR BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Control file

Re: two instances of web amq - one webconsole

2007-08-28 Thread den!s
Mario Siegenthaler-2 wrote: Only if the two are a master/slave pair (only one running at a time). This is what i'm using : master/slave with Shared File system. But I realize that my main problem is (and was from the beginning) that when I deploy the console(4.1.1), it start a queue (i

Re: two instances of web amq - one webconsole

2007-08-28 Thread Mario Siegenthaler
If the console starts up an own ActiveMQ instance then you most likely forgot to set -Dwebconsole.type=properties The webconsole supports multiple types of configuration and the type is specified via a system property. For every type there's an own spring configuration file inside the webconsole

Will the connection be invalidte if there is no activity for a long time?

2007-08-28 Thread bill richard
I m implementing a pool mechanism for amq connection. take db connection as an example,u know,if the connection has been idled for a long time,the connection be will be invalidte by the db server. Could this happen on AMQ or any Jms implement? if could,how long the time is? Thanks!! -- View

RE: Need help regarding ActiveMQ with Tomcat

2007-08-28 Thread sediga
Thank you for this instruction - i wanted to clear a couple of things up if that is ok. I have question mainly on ActiveMQBroker.java class. Is this a standalone class? does it inherite from any class? Do i need to follow a specific interface? Do you have a complete example that you can

Re: two instances of web amq - one webconsole

2007-08-28 Thread den!s
Thank you for your answers mario but it still doesn't work. I'll write once again all i've done perhaps something will appear to you What i'm trying to do : Administrate an activemq already runnning with a web console deployed on tomcat. What i've done : 1) grab the amq4.1.1 zip on the site

spring broker doesn't work

2007-08-28 Thread novotny
Hi, I followed instructions at http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html and in my spring.xml added: bean id=broker class=org.apache.activemq.xbean.BrokerFactoryBean property name=config value=conf/discovery.xml / property name=start

Re: How to monitor ActiveMQ that run in JBOSS

2007-08-28 Thread Bruce Snyder
On 8/27/07, ferry97 [EMAIL PROTECTED] wrote: Yup, I have no problem running it in standalone. The web console works perfectly fine... OK, so how are you starting ActiveMQ? Via a resource adapter that hooks into JBoss? Bruce -- perl -e 'print unpack(u30,D0G)[EMAIL

Re: How to monitor ActiveMQ that run in JBOSS

2007-08-28 Thread ferry97
Yes, via resource adapter, refer to JBoss integration guide in ActiveMQ website. The queue works fine --Ferry bsnyder wrote: On 8/27/07, ferry97 [EMAIL PROTECTED] wrote: Yup, I have no problem running it in standalone. The web console works perfectly fine... OK, so how are you

Handle Message losting

2007-08-28 Thread bill richard
Actually i have got 2 questions. first, if i use the method MessageProducer's send(message, DeliveryMode.persistent, priority, Integer.MAX_VALUE ) method to send messages,is there any possibility of send failure(exclude the disk error)? second, when does send(message, DeliveryMode.persistent,