Re: Performance & Backup problems

2007-12-20 Thread JS75
Yeah... In AMQ4.1.1, what Jar I need is only apache-activemq-4.1.1.jar In AMQ 5.0, I added activemq-all-5.0.0.jar first But I got this exception java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory So, I added commons-logging-1.1.jar That's why I guess I might miss certain jar s

Re: another exception i got!

2007-12-20 Thread bill richard
Hi Rob thanks. like what kind of exceptions? it seems to me that when i got this,there is no other exception printed with it. but i did got EOFException or socket closed exceptions. but not with this exception. rajdavies wrote: > > Hi Bill, > > there's a possibility this could be related to t

Re: Performance & Backup problems

2007-12-20 Thread Rob Davies
Your sure you're picking up the jar correctly? On Dec 21, 2007, at 6:47 AM, JS75 wrote: Dear Sir: Thanked to your help, I build a simple project profile. However, I have some issues and problems!! 1. As posted before, I get certain exception from AMQ4.1 to AMQ5.0 java.lang.NoSuchMethodError:

Re: How to setup amq development envirment?

2007-12-20 Thread Rob Davies
Really the best bet is to follow the instructions fully here: http://activemq.apache.org/building.html On Dec 21, 2007, at 5:40 AM, bill richard wrote: hi,all i want to debug the amq source fully,and i want to be able to modify the code and jar it myself. i downloaded the source code,but t

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
Can you send the actual xml configuration for all three brokers ? On Dec 21, 2007, at 5:04 AM, Lephix wrote: hi rajdavies: i just using wildcards to filter the messages for my destinations. but in the Environment i said before. i found there are still messages sent to the destinations i don't

Re: ActiveMQ v5.0.0 Performance issue

2007-12-20 Thread Rob Davies
Although syncOnWrite will be slow - I think the size of the data logs - 1000mb is very large. Its is possible that syncOnWrite will provide acceptable performance for smaller data log size - have you tried it with the default size ? On Dec 21, 2007, at 4:18 AM, EricMeena wrote: I was to

Re: another exception i got!

2007-12-20 Thread Rob Davies
Hi Bill, there's a possibility this could be related to the InactivityMonitor closing down transports - did you see any other exceptions? thanks, Rob On Dec 21, 2007, at 1:55 AM, bill richard wrote: And this exception did not show up all the time,sometimes it did. it will take about half

Performance & Backup problems

2007-12-20 Thread JS75
Dear Sir: Thanked to your help, I build a simple project profile. However, I have some issues and problems!! 1. As posted before, I get certain exception from AMQ4.1 to AMQ5.0 java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;

How to setup amq development envirment?

2007-12-20 Thread bill richard
hi,all i want to debug the amq source fully,and i want to be able to modify the code and jar it myself. i downloaded the source code,but the amq project is build by maven2(i never use that before). How i can set up a develop envirment for Activemq? many thanks!! -- View this message in context:

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Lephix
hi rajdavies: i just using wildcards to filter the messages for my destinations. but in the Environment i said before. i found there are still messages sent to the destinations i don't want to. the content of my xml below: = ===

ActiveMQ v5.0.0 Performance issue

2007-12-20 Thread EricMeena
I was to a point where the AMQ performance was really impressive, but when I added some AMQ message storage configurations, the performance becomes questionable, I think I am combining wrong properties: I have two JMS clients(producer & receiver), I am sending about 10,000 messages (500KB each) a

Re: another exception i got!

2007-12-20 Thread bill richard
And this exception did not show up all the time,sometimes it did. it will take about half a hour to got that exception. rajdavies wrote: > > Hi Bill, > > which version are you using ? > > thanks, > > Rob > > On Dec 20, 2007, at 7:26 AM, bill richard wrote: > >> >> when I got exception,i wi

Re: another exception i got!

2007-12-20 Thread bill richard
activemq 5.0.0 linux server, rajdavies wrote: > > Hi Bill, > > which version are you using ? > > thanks, > > Rob > > On Dec 20, 2007, at 7:26 AM, bill richard wrote: > >> >> when I got exception,i will close the connection and reconnect,then >> do the >> dural subscribe. >> but incured th

Re: Messages are not getting persisted in database table.(jdbcPersistenceAdapter>

2007-12-20 Thread Hiram Chirino
What version you using? On Oct 25, 2007 6:28 AM, navneek <[EMAIL PROTECTED]> wrote: > > Hi, > > Im using the following configuration for persisting messages into oracle > database. Ultimately When I start activemq the tables (activemq_acks, > activemq_lock, activemq_msgs) are created but it is not

Re: message is truncated at \0 ?

2007-12-20 Thread Hiram Chirino
Per http://stomp.codehaus.org/Protocol "It is recommended that SEND frames include a content-length header which is a byte count for the length of the message body. If a content-length header is included, this number of bytes should be read, regardless of whether or not there are null characters i

Re: how to get version number; 5.0 RC4 = 5.0 release ?

2007-12-20 Thread Hiram Chirino
Yes RC4 became the final release. On Dec 19, 2007 1:46 PM, amaas <[EMAIL PROTECTED]> wrote: > > This is a very simple quetsion but I couldn't find the answer easily. > > I tried both RC4 and 5.0 release and after seeing the bug I found in RC4, > RC3 and 5.0 are not yet fixed I started to check if

Re: AMQ 100% of CPU in RCP application

2007-12-20 Thread Hiram Chirino
Hi I don't think your interpreting the profiler correctly. It is expected that most of the time that thread will be spent on the SocketInputStream.socketRead0() call. But that's just wall time not CPU time. The method is blocking/idle waiting for IO from the socket. Regards, Hiram On Dec 19,

Re: NetworkTTL and Duplex Problem

2007-12-20 Thread tpounds
Thanks guys! I will try this out soon. -Trevor rajdavies wrote: > > hi Joe this issue has been fixed recently: > https://issues.apache.org/activemq/browse/AMQ-1521 > > cheers, > > Rob > On Dec 20, 2007, at 4:29 PM, ttmdev wrote: > >> >> Well, I pulled out my test environment for this and g

Re: unable to lookup a topic

2007-12-20 Thread Rob Davies
This certainly shouldn't be the case - could you submit a test case ? On Dec 20, 2007, at 7:07 PM, QWERTY? wrote: OK so what I take from that is, if there are undelivered messages in the Queue when it goes down it wont deliver them once it comes back up (and a client connects) James.Stra

Re: unable to lookup a topic

2007-12-20 Thread QWERTY?
OK so what I take from that is, if there are undelivered messages in the Queue when it goes down it wont deliver them once it comes back up (and a client connects) James.Strachan wrote: > > On 20/12/2007, QWERTY? <[EMAIL PROTECTED]> wrote: >> >> Now for my second issue, now to get the Queue'd me

Re: NetworkTTL and Duplex Problem

2007-12-20 Thread Rob Davies
hi Joe this issue has been fixed recently: https://issues.apache.org/activemq/browse/AMQ-1521 cheers, Rob On Dec 20, 2007, at 4:29 PM, ttmdev wrote: Well, I pulled out my test environment for this and gave it a go against the just-released AMQ 5.0 and things wouldn't work. This is my con

Re: NetworkTTL and Duplex Problem

2007-12-20 Thread ttmdev
Well, I pulled out my test environment for this and gave it a go against the just-released AMQ 5.0 and things wouldn't work. This is my configuration. [producer]-->[broker 1]<-->[broker 2]-->[broker 3]<--[consumer] The messages would be forwarded from broker 1 to 2, but not 3. So, just for kic

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
Yes - wild cards are supported! On Dec 20, 2007, at 3:37 PM, Lephix wrote: thank you rajdavies. i searched the solution for my problem. and solved it. and one more question. can i just hard code for the queue name? could i type the queue name like ? thank you very much. rajdavies wrote

Re: Master/Slave - JDBC Persistence with Journal

2007-12-20 Thread James Strachan
If you've got a shared file system, you'd be better off using it to store the messages as well (i.e. using the AMQ message store)... http://activemq.apache.org/amq-message-store.html It'll be loads faster as well as being a single point of consistency. On 20/12/2007, simesj <[EMAIL PROTECTED]> w

Master/Slave - JDBC Persistence with Journal

2007-12-20 Thread simesj
I've been looking at the Master/Slave documentation and have ran both the JDBC and Filestore based configurations. I was wondering however if it was possible to use the JDBC with Journal option if the Journal was located on a networked filesystem and both brokers connect to a common JDBC store. Th

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Lephix
thank you rajdavies. i searched the solution for my problem. and solved it. and one more question. can i just hard code for the queue name? could i type the queue name like ? thank you very much. rajdavies wrote: > > The way to do this is to set excludedDestinations on the network > connec

Fwd: ActiveMQ - Maven - ActiveIO

2007-12-20 Thread Geoffrey Wiseman
As far as I can tell, this message didn't make it through to the mailing list (sent it right after joining), so I'll fire it off a second time. Apologies if this is a repeat. -- Forwarded message -- From: Geoffrey Wiseman <[EMAIL PROTECTED]> Date: Dec 19, 2007 1:34 PM Subject: Acti

Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

2007-12-20 Thread Lephix
thank you guys~~ i will try what you said. James.Strachan wrote: > > On 20/12/2007, Rob Davies <[EMAIL PROTECTED]> wrote: >> Unfortunately ActiveMQ 5 runs on JRE 5 and above > > If you must use Java 1.4 you can install the retrotranslator JIT... > http://retrotranslator.sourceforge.net/#jit

Re: unable to lookup a topic

2007-12-20 Thread James Strachan
On 20/12/2007, QWERTY? <[EMAIL PROTECTED]> wrote: > > Now for my second issue, now to get the Queue'd messages to be sent after the > MQ restarts? > > someone want to point me in the right direction? Try read this FAQ entry... http://activemq.apache.org/how-do-i-create-new-destinations.html -- J

Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

2007-12-20 Thread James Strachan
On 20/12/2007, Rob Davies <[EMAIL PROTECTED]> wrote: > Unfortunately ActiveMQ 5 runs on JRE 5 and above If you must use Java 1.4 you can install the retrotranslator JIT... http://retrotranslator.sourceforge.net/#jit see http://cwiki.apache.org/ACTIVEMQ/can-i-use-activemq-5x-or-later-on-java-14.h

Re: Secure a subset of destinations

2007-12-20 Thread ttmdev
You can define more than one broker in a broker xml file, but the result is one JVM hosting multiple brokers. Below is a very simple example that I deployed against AMQ 5.0. http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.org/config/1.0"; xmlns:xsi="http://www.w3.org

Re: how to set the message distination of Networks of Broker.

2007-12-20 Thread Rob Davies
The way to do this is to set excludedDestinations on the network connections between 192.9.105.141 and 192.9.105.142 see http://activemq.apache.org/networks-of-brokers.html On Dec 20, 2007, at 1:26 PM, Lephix wrote: i got 3 machines and each of one got a AMQ on it. IP are 192.9.105.140, 192.

Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

2007-12-20 Thread Rob Davies
Unfortunately ActiveMQ 5 runs on JRE 5 and above On Dec 20, 2007, at 1:03 PM, Lephix wrote: i just download the activemq 5.0 and when i typed ACTIVEMQ.BAT in to command line, there is an error seems there is something wrong with my jdk. my jdk version is SUN 1.4.2_04. i got activemq 4.1.

how to set the message distination of Networks of Broker.

2007-12-20 Thread Lephix
i got 3 machines and each of one got a AMQ on it. IP are 192.9.105.140, 192.9.105.141, 192.9.105.142 i write the setting to make 3 AMQs connected using the code below: =

Re: a error occured at Networks of broker when reconnecting

2007-12-20 Thread Lephix
i just change the attribute failover="true" to failover="false" and solve the problem. thanks all the same. -- View this message in context: http://www.nabble.com/a-error-occured-at-Networks-of-broker-when-reconnecting-tp14434305s2354p14436268.html Sent from the ActiveMQ - User mailing list arc

is activemq 5.0 release does not work in jdk 1.4.2_04?

2007-12-20 Thread Lephix
i just download the activemq 5.0 and when i typed ACTIVEMQ.BAT in to command line, there is an error seems there is something wrong with my jdk. my jdk version is SUN 1.4.2_04. i got activemq 4.1.1. and it can work with the jdk. these are the errors printed in the console: Exception in thread "m

ActiveMQ/Tomcat6 minimal setup

2007-12-20 Thread JoC
Hi, I've been trying to setup ActiveMQ5 with Tomcat6 for awhile now with no success. As I understand Tomcat JNDI and the ActiveMQ docs I need these things for a minimal setup: - Resource definitions of connection factory and a queue (in the context xml) - web.xml resource-refs to these resources

Secure a subset of destinations

2007-12-20 Thread joe.stapleton
Hi, I have a requirement to enforce the use of SSL over a subset of our destinations - ones that carry sensitive data. I have been through the SSL documentation but I can't see a mechanism for specifying that a particular destination must be accessed over a particular transport. I suppose we cou

Re: Example using REST interface with http post and get

2007-12-20 Thread James Strachan
On 19/12/2007, Rob Davies <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007, at 12:34 AM, marlet wrote: > > > > > Hi, > > > > I was using the ActiveMQ's REST interface for a project and wrote > > about that > > in a blog, so if you are interested: > > > > http://p-st.blogspot.com/2007/12/activemq-and-

Re: a error occured at Networks of broker when reconnecting

2007-12-20 Thread Rob Davies
move to 5.0! On Dec 20, 2007, at 11:01 AM, Lephix wrote: oh~~ i forget telling i am using Active MQ 4.1.1 thank you guys.~~ -- View this message in context: http://www.nabble.com/a-error-occured-at-Networks-of-broker-when-reconnecting-tp14434305s2354p14434375.html Sent from the ActiveMQ - Use

Re: a error occured at Networks of broker when reconnecting

2007-12-20 Thread Lephix
oh~~ i forget telling i am using Active MQ 4.1.1 thank you guys.~~ -- View this message in context: http://www.nabble.com/a-error-occured-at-Networks-of-broker-when-reconnecting-tp14434305s2354p14434375.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

a error occured at Networks of broker when reconnecting

2007-12-20 Thread Lephix
there are two Brokers in two machines. IP are 192.9.105.141, 192.9.105.142 i use networkConnectors to make two Brokers together. i can start both of they well. but when one of Brokers dies, i got the message like that: WARN TransportConnection- Unexpected extra broker info command re

Re: AMQ 100% of CPU in RCP application

2007-12-20 Thread TOPPER_HARLEY
I replied to this but cant seem to see the reply, anyway, it looks like this is still happening on 5.0.should I file a jira on 4.1.1? /Tom rajdavies wrote: > > This looks like it might be a bug - but ActiveMQ 5.0 is now available > - please give it a try ;) > On Dec 19, 2007, at 10:57 AM

Re: another exception i got!

2007-12-20 Thread Rob Davies
Hi Bill, which version are you using ? thanks, Rob On Dec 20, 2007, at 7:26 AM, bill richard wrote: when I got exception,i will close the connection and reconnect,then do the dural subscribe. but incured the below exceptions. why? Error encountered,will recover subscribtion.Broker: loca

Re: NetworkTTL and Duplex Problem

2007-12-20 Thread tpounds
Is this configuration used on all 3 machines? ttmdev wrote: > > Here's an example that works for me w/a similar 3 broker topology. > > > name="twowaybridge" > uri="static:(tcp://remotehost:61616)" > networkTTL="2" >