Hi Matthieu,
Which JVM version do you use ?
Regards
JB
On 12/14/2010 06:55 PM, Matthieu Cormier wrote:
Hello all,
I am using servicemix 3.3.2 and following the servicemix tutorial. I am
currently on this page:
http://servicemix.apache.org/33-adding-a-jms-su.html
Section 3, adding a JMS SU to the camel example and I am getting the following
error when I build.
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/Software/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Implementing class
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
...
I have traced the error to the<jms:provider> tag defined in the xbean.xml file of the jms su.
If I change<jms:provider> to<jms:endpoint> the project builds fine,<jms:consumer>
does not cause an issue.
Any ideas?
Is this a servicemix or a maven error?
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
xmlns:tutorial="urn:org:apache:servicemix:tutorial:camel"
<jms:provider service="tutorial:jms"
endpoint="provider"
destinationName="tutorial.camel.queue"
connectionFactory="#connectionFactory" />
<jms:consumer service="tutorial:jms"
endpoint="consumer"
destinationName="tutorial.camel.queue"
connectionFactory="#connectionFactory"
targetService="tutorial:jms"
targetEndpoint="consumer" />
<bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:51616" />
</bean>
Matthieu Cormier
Cell: (902) 229-1677
concertia Technologies Inc.
1869 Upper Water Street
Halifax NS B3J 1S9
www.concertia.com