Re: Failover / Persistence

2008-07-23 Thread James Strachan
2008/7/24 AD <[EMAIL PROTECTED]>: > does pure master/slave replicate the messages yes, thats exactly what it does > or do you lose any messages > that were on the master when it died ? if you don't use any master/slave implementations this happens; but if you use master/slave it doesn't. -- Ja

Re: Failover / Persistence

2008-07-23 Thread AD
does pure master/slave replicate the messages or do you lose any messages that were on the master when it died ? On Wed, Jul 23, 2008 at 6:31 AM, James Strachan <[EMAIL PROTECTED]> wrote: > 2008/7/23 AD <[EMAIL PROTECTED]>: > > Hello, > > I am relatively new to activemq and I am trying to find t

Re: Duplex connection: Is this possible?

2008-07-23 Thread Joe Fernandez
I have seen the InvalidClientIDException in these types of 'duplex' scenarios and in most cases it is hurled because two brokers have duplex connectors (forwarding bridges) to each other. If you can, post the exception's stack trace and the brokers' cfg files. There have been duplex-related is

Re: DLQ & message redelivery handling

2008-07-23 Thread vadimos
I've answered question #2 ByteSequence byteSeq = amqMessage.getMarshalledProperties(); DataInputStream dataIn = new DataInputStream(new ByteArrayInputStream(byteSeq)); Map properties = MarshallingSupport.unmarshalPrimitiveMap(dataIn); but the rest I am still struggling with. vadim vadimos wro

Purging delivered messages

2008-07-23 Thread sk123
Hi, Is there way to purge delivered message from AMQ store? Enabling archiving does move the messages to the archive folder. I would like to know if there is any other approach. I am using Active MQ 5.1. Thanks s -- View this message in context: http://www.nabble.com/Purging-delivered-messages

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
wozzer wrote: > > > the activemq-all-*.jar will work if it is put in the web app WEB-INF/lib . > > I mean in the web app WEB-INF/lib when deployed to Tomcat 6 -- View this message in context: http://www.nabble.com/activemq-all-*.jar-not-recognised-in-Tomcat-6-tp18608426p18619653.html Sent

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
Just to make sure :-) the activemq-all-*.jar bundles work in a current Tomcat 5.5 deployment from ${TOMCAT_HOME}/common/lib but does not in Tomcat 6 ${TOMCAT_HOME}/lib the individual jars work in both Tomcat versions in the respective directories the activemq-all-*.jar will work if it is put

Duplex connection across multiple brokers

2008-07-23 Thread kpalania
Is this possible via ActiveMQ? * Client sends message to broker A that has no network connectors defined. * Broker B has a network connector pointing to broker A and has duplex set to TRUE. * Message is sent to a queue named "Test". * Consumer listening to "Test" on broker B gets the message . N

DLQ & message redelivery handling

2008-07-23 Thread vadimos
Hi, I've configured message redelivery via Spring 2.5 and ActiveMQ 5.1.0 to redeliver messages on a runtime exception thrown by a listener. If redelivered message still could not be handled, it is sent to DLQ. After picking it from DLQ and I would like to have access to the original message prope

Re: consumer receives on stopped connection

2008-07-23 Thread Joe Fernandez
Try the following settings for your connection factory This will turn off the warning message warnAboutUnstartedConnectionTimeout = -1 alwaysSessionAsync = false See the following page to read about these options. http://activemq.apache.org/connection-configuration-uri.html Hope this helps,

Re: How can I change the port camel connects to in activemq.xml

2008-07-23 Thread DominicTulley
Thanks Guys, that sorted it out. Interestingly, if I define the ActiveMqcomponent, I don't get the following lines at startup: INFO FailoverTransport - Successfully connected to tcp://localhost:61616 INFO FailoverTransport - Successfully connected to tcp://localhost:6

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
2008/7/23 wozzer <[EMAIL PROTECTED]>: > > > There is only lib with Tomcat 6. When you say "custom/lib" I presume you > meant the Tomcat 5.5 common/lib. Sorry I didn't realise we were talking about different Tomcat versions as well :) So the 2 directories are just the different directories you use

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
There is only lib with Tomcat 6. When you say "custom/lib" I presume you meant the Tomcat 5.5 common/lib. -- View this message in context: http://www.nabble.com/activemq-all-*.jar-not-recognised-in-Tomcat-6-tp18608426p18613517.html Sent from the ActiveMQ - User mailing list archive at Nabbl

consumer receives on stopped connection

2008-07-23 Thread rpratt
I have a bunch of servers running software listening on the same queues for load balancing. The app goes through a startup period where it creates the connection, creates queues and consumers, thread pools, etc and then eventually calls start on the JMS connection. However, the consumer threads ca

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
And things work the same in lib versus custom/lib? 2008/7/23 wozzer <[EMAIL PROTECTED]>: > > These files work: > > activemq-core-5.1.0.jar > commons-logging-1.1.jar > geronimo-jta_1.0.1B_spec-1.0.1.jar > geronimo-j2ee-management_1.0_spec-1.0.jar > geronimo-jms_1.1_spec-1.1.1.jar > > These do not:

Re: Multiple brokers in duplex mode: Expected Behavior?

2008-07-23 Thread kpalania
If I remove the "duplex" attribute from both the brokers in the LAN, I get an InvalidClientIDException on one of the brokers.. kpalania wrote: > > This is my setup: > * I have 3 brokers configured and running: 1 broker in the cloud and 2 > brokers in the LAN. > * There is no network connector d

A question about time synchronization

2008-07-23 Thread hagai
Hi, Does activemq assume any time synchronization between the producer, broker and consumer? Thanks, Hagai. -- View this message in context: http://www.nabble.com/A-question-about-time-synchronization-tp18613001p18613001.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
These files work: activemq-core-5.1.0.jar commons-logging-1.1.jar geronimo-jta_1.0.1B_spec-1.0.1.jar geronimo-j2ee-management_1.0_spec-1.0.jar geronimo-jms_1.1_spec-1.1.1.jar These do not: geronimo-jta_1.0.1B_spec-1.0.1.jar activemq-all-5.1.0.jar ..and of course this does not activemq-all-5.1

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
2008/7/23 wozzer <[EMAIL PROTECTED]>: > > Just to make things clear. I just deployed: > > activemq-core-5.1.0.jar > commons-logging-1.1.jar > geronimo-jta_1.0.1B_spec-1.0.1.jar > geronimo-j2ee-management_1.0_spec-1.0.jar > geronimo-jms_1.1_spec-1.1.1.jar > > individually into ${CATALINA_HOME}/lib a

Re: new transfer protokols for blob-messages

2008-07-23 Thread Marco Buss
Hello, first have a look at the test class org.apache.activemq.blob.FTPBlobTest.java. If you have problems with this, i will help you with a more detailed description. regards Marco Bala M wrote: > > Hi, > Can you please give some example on how to use FTP protocol to transter > blob messages

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
Just to make things clear. I just deployed: activemq-core-5.1.0.jar commons-logging-1.1.jar geronimo-jta_1.0.1B_spec-1.0.1.jar geronimo-j2ee-management_1.0_spec-1.0.jar geronimo-jms_1.1_spec-1.1.1.jar individually into ${CATALINA_HOME}/lib and our app finds the classes and works fine. The proble

Multiple brokers in duplex mode: Expected Behavior?

2008-07-23 Thread kpalania
This is my setup: * I have 3 brokers configured and running: 1 broker in the cloud and 2 brokers in the LAN. * There is no network connector defined in broker 1. The transport connector is set to use TCP on 61616. * The network connectors on both the brokers in the LAN have "duplex" set to TRUE an

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
I am sure it is something to do with the jar itself. If you got a clean Tomcat 6.0.16, dropped the active-all-5.x.0.jar in ${CATALINA_HOME}/lib and deployed a web app using activemq you will get the same problem. However, I tried what you suggested and the same problem persists.. 2008-07-23 15:0

Re: Constant load settings for acticemq.xml

2008-07-23 Thread buchnerm
is there nobody who can help?? greetings max Hi - buchnerm wrote: > > Hi > > I try to use activemq but I always get some issues: > > I produce a load of 360 messages/sec on the "OIconveyer" Queue > and read with a camel component from this queue > > first it works fine: > write (360 messa

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
Ah - looking in the jar I don't think we include the JTA jar (javax.transaction.*). I wonder if adding the geronimo-spec-jta.jar along with the activemq-all.jar from 5.1.0 works? 2008/7/23 wozzer <[EMAIL PROTECTED]>: > > The problem is isolated to the jar's themselves because if we provide the > r

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
Are you using Java 5 BTW? 2008/7/23 wozzer <[EMAIL PROTECTED]>: > > The problem is isolated to the jar's themselves because if we provide the > required libs, generally as instructed in > http://activemq.apache.org/initial-configuration.html, in > ${CATALINA_HOME}/binit works. So the classes are t

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
The problem is isolated to the jar's themselves because if we provide the required libs, generally as instructed in http://activemq.apache.org/initial-configuration.html, in ${CATALINA_HOME}/binit works. So the classes are then found. -- View this message in context: http://www.nabble.com/active

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
Hmm, it doesn't say what class it was looking for that generated the NoClassDefFoundError so its a bit hard to see whats missing :( I wonder if its related to tomcat's JNDI implementation; what does the JNDI configuration look like? 2008/7/23 wozzer <[EMAIL PROTECTED]>: > > Below is the exception

Constant load settings for acticemq.xml

2008-07-23 Thread buchnerm
Hi I try to use activemq but I always get some issues: I produce a load of 360 messages/sec on the "OIconveyer" Queue and read with a camel component from this queue first it works fine: write (360 messages/sec) read (400 messages/sec) but after a while its getting lesser and lesser till its

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
Below is the exception from the Tomcat log file. It can not find the classes in the jar. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myJmsTemplate' defined in ServletContext resource [/WEB-INF/cmdb-messaging.xml]: Cannot create inner bean '

Re: activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread James Strachan
Do you get some kinda exception? Its a bit hard to know exactly whats wrong without seeing some stack traces etc 2008/7/23 wozzer <[EMAIL PROTECTED]>: > > We are finding that the required classes for ActiveMQ are not found when > active-all-5.0.0.jar or active-all-5.1.0.jar are placed in > ${TOMCA

activemq-all-*.jar not recognised in Tomcat 6

2008-07-23 Thread wozzer
We are finding that the required classes for ActiveMQ are not found when active-all-5.0.0.jar or active-all-5.1.0.jar are placed in ${TOMCAT_HOME}/lib on Tomcat 6. Classes in other libraries are being found by the web app so we know putting jar's here should work. We have also observered: 1) They

Expired messages not moved to dead letter queue.

2008-07-23 Thread RavshanKos
I'm using ActiveMQ 5.1.0. I've setup dead letter strategy for all queues, using IndividualDeadLetterStrategy. But message that expired in queue not moved to dead letter queue. Very rarely it works, but most of time it not works. When I looked thru the JConsole on queue where all messages must be e

Re: Failover / Persistence

2008-07-23 Thread James Strachan
2008/7/23 AD <[EMAIL PROTECTED]>: > Hello, > I am relatively new to activemq and I am trying to find the optimal setup > for a failover cluster of brokers. What i have is the following > > 2 physical servers each running a broker > 2 physical servers each running a consumer > 1 Java applicatio