Hi, I was trying to create a RemoteServiceMixClient connection to servicemix
using standard invocation:
RemoteServiceMixClient client = new
RemoteServiceMixClient("http://localhost:61616");
client.start();
using this .start() or . init() it gives error :
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/transaction/SystemException
at
org.apache.activemq.pool.PooledConnectionFactory.createConnectionPool(PooledConnectionFactory.java:117)
at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:110)
at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:85)
at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow.init(AbstractJMSFlow.java:206)
at
org.apache.servicemix.jbi.nmr.DefaultBroker.init(DefaultBroker.java:122)
at
org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:626)
at
org.apache.servicemix.client.RemoteServiceMixClient.init(RemoteServiceMixClient.java:92)
at Reenvio.main(Reenvio.java:64)
Caused by: java.lang.ClassNotFoundException:
javax.transaction.SystemException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 8 more
this is probably an problem because some import that was missing, but I
can't find what it is? can some give a standard import list that may be
missing? thanks..
--
View this message in context:
http://www.nabble.com/RemoteServiceMixClient-tp24200040p24200040.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.