About issue 1:
I found it resulted from QueueProducer.send(Message)
java.lang.NoSuchMethodError:
org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination

However, it can run in AMQ4.x, but not in AMQ5.0
Does anyone get idea why??

About issue2:
Could I change settings in activemq.xml so that I could monitor queues in my
project??

Sincerely,
Jean


JS75 wrote:
> 
> 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 so that I got this exception 
> java.lang.NoSuchMethodError:
> org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;
> 
> 
> 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-tp14451122s2354p14483694.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to