Hello,
Testing the servicemix-wsn2005 component in ServiceMix 3.1, I'm facing a
problem for the servicemix-wsn2005-3.1-incubating.jar library.
Putting the servicemix-wsn2005-3.1-incubating-installer.zip in the install
directroy and deploying a SU on the servicemix-wsn2005 component, all is
correct. From the outsite on the JBI bus I'm able to subscribe on a topic
and send notification messages.
I'm developing a POJO (that must deployed on the servicemix-jsr181
component) to be able to send a notification message to the notification
broker with this code :
try {
NotificationBroker wsnBroker = new NotificationBroker(context);
wsnBroker.notify("myTopic", parse("<hello>Bonjour !</hello>"));
} catch (Exception e) {
e.printStackTrace();
}
But when deploying the corresponding SA I get a NoClassDefFoundError for the
NotificationBroker class :
java.lang.NoClassDefFoundError:
org/apache/servicemix/wsn/client/NotificationBroker
This class commes form the servicemix-wsn2005-3.1-incubating.jar library.
So if a copy the servicemix-wsn2005-3.1-incubating.jar library (coming from
servicemix-wsn2005-3.1-incubating-installer.zip) in the lib, and restart
ServiceMix I get an exception at the installation of the servicemix-wsn2005
component (something like BaseComponent not found).
How can I shared the servicemix-wsn2005-3.1-incubating.jar library ?
Any idea about this problem ?
Thank you.
--
View this message in context:
http://www.nabble.com/Test-on-the-servicemix-wsn2005-component-tf4013469s12049.html#a11397594
Sent from the ServiceMix - User mailing list archive at Nabble.com.