RE: Error on starting QueueConnection

2007-08-21 Thread denez
> MessageConsumer consumer = null; >>>>if (durable && topic) { >>>>consumer = >>>> session.createDurableSubscriber((Topic) destination, consumerName); >>>>

RE: Error on starting QueueConnection

2007-08-20 Thread denez
sukoneru) wrote: >>> >>> The JMS documentation suggests that we start the connection after >>> creating the receiver and registering it with a message listener. Please >>> look at point no: 6 in the section "Client to Consume Messages" >>> http:

RE: Error on starting QueueConnection

2007-08-20 Thread denez
>> http://java.sun.com/developer/technicalArticles/Ecommerce/jms/index.html >> >> >> -Original Message- >> From: Dave Carlson [mailto:[EMAIL PROTECTED] >> Sent: Friday, August 17, 2007 7:58 AM >> To: users@activemq.apache.org >> Cc: Suchitha

RE: Error on starting QueueConnection

2007-08-20 Thread denez
tchReceiverTechnicalService()) ; >> aqc.start() ; >> >> Also I noticed that in the jndi resource for jms/Connectionfactory >> you are not using max.Inactivity flag for the broker url. >> But while adding connector to the broker you are using this flag, >

RE: Error on starting QueueConnection

2007-08-17 Thread Suchitha Koneru \(sukoneru\)
--Original Message- From: Dave Carlson [mailto:[EMAIL PROTECTED] Sent: Friday, August 17, 2007 7:58 AM To: users@activemq.apache.org Cc: Suchitha Koneru (sukoneru) Subject: RE: Error on starting QueueConnection Are you sure about the ordering? It seems odd that you would want to start the flow o

RE: Error on starting QueueConnection

2007-08-17 Thread Dave Carlson
please > use the same broker url through out for consistency. > > > -Original Message- > From: denez [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 16, 2007 7:03 AM > To: users@activemq.apache.org > Subject: Re: Error on starting QueueConnection > > > Do

RE: Error on starting QueueConnection

2007-08-17 Thread denez
e not using max.Inactivity flag for the broker url. >> But while adding connector to the broker you are using this flag, please >> use the same broker url through out for consistency. >> >> >> -Original Message- >> From: denez [mailto:[EMAIL PROTECTED] >

RE: Error on starting QueueConnection

2007-08-17 Thread denez
flag for the broker url. > But while adding connector to the broker you are using this flag, please > use the same broker url through out for consistency. > > > -Original Message- > From: denez [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 16, 2007 7:03 AM > To:

RE: Error on starting QueueConnection

2007-08-16 Thread Suchitha Koneru \(sukoneru\)
the same broker url through out for consistency. -Original Message- From: denez [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 7:03 AM To: users@activemq.apache.org Subject: Re: Error on starting QueueConnection Do you already have this type of error ? Do i forget something

Re: Error on starting QueueConnection

2007-08-16 Thread denez
in the Tomcat console when i pass on the line : ActiveMQQueueReceiver aqr = (ActiveMQQueueReceiver)qs.createReceiver(q) ; i've got the error : SERIOUS : error starting context /jms an that all ?? Could you help me to deal with this error ??? Thanks in advance, Regards, Denez denez wrote: >

Re: Error on starting QueueConnection

2007-08-16 Thread denez
Do you already have this type of error ? Do i forget something in my configuration. I use : apache-activemq-4.1.1.jar Tomcat 5.5.23 jdk1.5.0_07 Could you tell me if something is wrong ! Here is my context declaration in Tomcat : Thanks in advance for all reply, help / answe

Re: Error on starting QueueConnection

2007-08-16 Thread denez
Hi all, I got the same error trying to create a sender ! A very strange thing appear because there is no exception throw ! Just nothing happened and the rest of my code is never (i suspect) excecuted. Could you help me, or ask me if something is not clear. Thanks in advance, Regards, Denez de

Re: Error on starting QueueConnection

2007-08-16 Thread denez
I search around to find my error and find that you should use ActiveMQConnection. Now i can start the connection but have a same problem will trying to createReceiver. See the code below (previous + modification) : public class ActiveMQBrokerStartListener implements ServletContextListener {