For issue 1: it sure does look like you're not picking up the jar files. My JMS applications' reference activemq-all-5.0.0.jar and commons-logging-1.1.jar, and have no problem.
For issue 2: You can leverage the CommandAgent. http://activemq.apache.org/command-agent.html And/or use mirrored queues to monitor the traffic. http://activemq.apache.org/mirrored-queues.html Joe JS75 wrote: > > About issue 1: > I found it resulted from QueueProducer.send(Message) > java.lang.NoSuchMethodError: > org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination > > public void send(javax.jms.Message message) throws javax.jms.JMSException; > 0 aload_0 [this] > 1 aload_0 [this] > > 2 invokevirtual > org.apache.activemq.ActiveMQMessageProducerSupport.getDestination() : > javax.jms.Destination [21] > <Problem should be here!!! But I have no idea why and what I can do!!> > > However, it can run in AMQ4.x, but not in AMQ5.0 > > About issue2: > Could I change settings in activemq.xml so that I could monitor queues in > my project?? > > Sincerely, > Jean > > > > > rajdavies wrote: >> >> 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: >>> org >>> .apache >>> .activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/ >>> Destination; >>> And now I've included two jars - activemq-all-5.0.0.jar and >>> commons-logging-1.1.jar >>> I should have missed certain jar, right? >>> >>> 2. I'd want to monitor the broker embedded in my project, (better >>> with web >>> console), could I? >>> >>> 3. Test senario : 10 producers who send 1000 messages separately and >>> 10 >>> consumers receive. >>> Comparing performance of VM and its of TCP, I found the TCP is >>> quicker than >>> VM (how could that happend?) about 32:25. However according to FAQ >>> documents, VM is more efficient because of lack of socket, but I got >>> different results?! >>> PS, there are during about 10 second that no producers nor consumers >>> did >>> something! >>> >>> 4. I have an issue that backup queue or topic data every morning or >>> on a >>> certain time, could that be implemented?...I read other people's >>> suggestions, db trigger is one of the method, however, I wish it can >>> be >>> implemented by AMQ setting. >>> >>> After surfing this forum and countless try and error tests, I finally >>> realize AMQ a little~ >>> Thank you for your help!! >>> >>> Sincerely, >>> Jean >>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Performance---Backup-problems-tp14451122s2354p14451122.html >>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >>> >> >> >> > > -- View this message in context: http://www.nabble.com/Performance---Backup-problems-tp14451122s2354p14488953.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.