Thanks for the pointer I'll take a look. Rajika
On Wed, Feb 2, 2011 at 10:18 AM, Lahiru Gunathilake <[email protected]> wrote: > Hi Rajika, > > This is because we already have commons-codec in our OSGi environment and > OSGi cannot load the same class in two Jar files, when you copy required > jars in to lib/core/WEB-INF/lib you need to make sure you do not duplicate > anything we already have and that is why we have used a merged jar with > previous version of Qpid (0.6) so if you are using 0.9/0.8 you need to do > the same. > > Regards > Lahiru > > On Tue, Feb 1, 2011 at 4:12 PM, Rajika Kumarasiri <[email protected]> wrote: > >> I am having problems with using Qpid client libraries with JMS transport. >> I have dropped the required libraries(qpid-client-0.9.jar, >> qpid-common-0.9.jar, slf4j-api-1.6.1.jar and slf4j-log4j12-1.6.1.jar) into >> $CARBON_HOME/lib/core/WEB-INF/lib and the following stack trace is pops up. >> The mentioned class is available in qpid-commons jar. Any clue what went >> wrong ? >> >> Rajika >> >> [2011-02-01 15:32:16,402] ERROR >> {org.apache.axis2.transport.base.threads.NativeWorkerPool} - Uncaught >> exception >> java.lang.NoClassDefFoundError: org/apache/qpid/codec/AMQCodecFactory >> at >> org.apache.qpid.client.protocol.AMQProtocolHandler.<init>(AMQProtocolHandler.java:189) >> at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:533) >> at >> org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:276) >> at >> org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:554) >> at >> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:804) >> at >> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:686) >> at >> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:484) >> at >> org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:412) >> 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:619) >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Lahiru Gunathilake > Senior Software Engineer - WSO2 Inc. www.wso2.com > > Email:[email protected] <email%[email protected]> Blog: www.lahiru.org > Mobile: +94716381143 > > Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
