Seems like a reasonable approach. Obviously if you can figure out how to fix it then please do.
Paul On 9 May 2011 08:28, Miyuru Wanninayaka <[email protected]> wrote: > Hi all, > > While I testing ESB samples found that JMS transport does not works with > activeMQ 5.5.0 ( latest) JMS client jars, but works with pre 5.5.0 versions > ( >=5.4.2 ...... ) > > here is startup log. > > [2011-05-09 10:22:33,556] INFO - JMSListener JMS listener started > [2011-05-09 10:22:33,576] INFO - ServiceTaskManager Task manager for > service : QueueService [re-]initialized > [2011-05-09 10:22:33,897] ERROR - NativeWorkerPool Uncaught exception > java.lang.AbstractMethodError: > org.slf4j.impl.Log4jMDCAdapter.getCopyOfContextMap()Ljava/util/Map; > at org.slf4j.MDC.getCopyOfContextMap(MDC.java:176) > at > org.apache.activemq.util.MDCHelper.getCopyOfContextMap(MDCHelper.java:30) > at > org.apache.activemq.thread.PooledTaskRunner.<init>(PooledTaskRunner.java:42) > at > org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner(TaskRunnerFactory.java:80) > at > org.apache.activemq.ActiveMQSessionExecutor.wakeup(ActiveMQSessionExecutor.java:101) > at > org.apache.activemq.ActiveMQMessageConsumer.start(ActiveMQMessageConsumer.java:1339) > at > org.apache.activemq.ActiveMQMessageConsumer.<init>(ActiveMQMessageConsumer.java:261) > at > org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1116) > at > org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:1060) > at > org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:635) > at > org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConsumer(ServiceTaskManager.java:873) > at > org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getMessageConsumer(ServiceTaskManager.java:743) > at > org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:505) > at > org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:416) > at > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > and this exception continuously prints until ESB stopped. > > reason might be different slf4j versions used in activeMQ and carbon, > > miyuru@miyuru-laptop:~/Downloads/wso2esb-4.0.0-SNAPSHOT$ find . -name > *slf4j* > > ./repository/components/configuration/org.eclipse.osgi/bundles/16/1/.cp/slf4j-api-1.5.10.jar > > ./repository/components/configuration/org.eclipse.osgi/bundles/16/1/.cp/slf4j-log4j12-1.5.10.jar > > ./repository/components/configuration/org.eclipse.osgi/bundles/59/1/.cp/slf4j-log4j12-1.4.3.jar > > > miyuru@miyuru-laptop:~/apps/apache-activemq-5.5.0$ find .. -name *slf4j* > ../apache-activemq-5.4.2/lib/web/slf4j-jcl-1.5.0.jar > ../apache-activemq-5.4.2/lib/web/slf4j-api-1.5.0.jar > ../apache-activemq-5.5.0/lib/slf4j-api-1.5.11.jar > ../apache-activemq-5.5.0/lib/optional/slf4j-log4j12-1.5.11.jar > ../apache-activemq-5.5.0/lib/jcl-over-slf4j-1.5.11.jar > ../soapui-3.6.1/lib/slf4j-log4j12-1.5.8.jar > ../soapui-3.6.1/lib/slf4j-api-1.5.8.jar > > Any idea about how to support activeMQ 5.5.0? > One possible workaround that I found is, we can use 5.4.2 activeMQ libs > with 5.5.0 broker. > > -- > Thanks, > Miyuru > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Paul Fremantle CTO and Co-Founder, WSO2 OASIS WS-RX TC Co-chair, VP, Apache Synapse Office: +44 844 484 8143 Cell: +44 798 447 4618 blog: http://pzf.fremantle.org twitter.com/pzfreo [email protected] wso2.com Lean Enterprise Middleware Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
