You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by chris24 <il...@gmail.com> on 2006/05/08 19:16:52 UTC

WS Notification Example Not Working

Hello,

    I am trying to get the ws-notification example to run and am getting
class not found exceptions. I saw a different thread that resulted in
putting the wsnXXXX.jar into the servicemix\lib\optional dir. I tried that
but it does not contain the missing class. Here is the trace:
Loading Apache ServiceMix from file: servicemix2.xml
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Error re
gistering bean with name '' defined in file
[D:\users\cstokes\serviceMix\incubat
or-servicemix-3.0-SNAPSHOT\examples\ws-notification\instance2\servicemix2.xml]:
Bean class [org.apache.servicemix.wsn.spring.SubscribeFactoryBean] not
found; ne
sted exception is java.lang.ClassNotFoundException:
org.apache.servicemix.wsn.sp
ring.SubscribeFactoryBean
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registerin
g bean with name '' defined in file
[D:\users\cstokes\serviceMix\incubator-servi
cemix-3.0-SNAPSHOT\examples\ws-notification\instance2\servicemix2.xml]: Bean
cla
ss [org.apache.servicemix.wsn.spring.SubscribeFactoryBean] not found; nested
exc
eption is java.lang.ClassNotFoundException:
org.apache.servicemix.wsn.spring.Sub
scribeFactoryBean
java.lang.ClassNotFoundException:
org.apache.servicemix.wsn.spring.SubscribeFact
oryBean
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

Thanks
--
View this message in context: http://www.nabble.com/WS-Notification-Example-Not-Working-t1578283.html#a4284465
Sent from the ServiceMix - User forum at Nabble.com.


Re: WS Notification Example Not Working

Posted by Guillaume Nodet <gn...@gmail.com>.
The jar is zipped in the ./components/servicemix-wsn2005-3.0-SNAPSHOT.zip
If you have a recent version, the class file should be in it.
Else you can grab one at
http://cvs.apache.org/repository/incubator-servicemix/jars/servicemix-wsn2005-3.0-SNAPSHOT.jar

Cheers
Guillaume Nodet

On 5/8/06, chris24 <il...@gmail.com> wrote:
>
> Hello,
>
>     I am trying to get the ws-notification example to run and am getting
> class not found exceptions. I saw a different thread that resulted in
> putting the wsnXXXX.jar into the servicemix\lib\optional dir. I tried that
> but it does not contain the missing class. Here is the trace:
> Loading Apache ServiceMix from file: servicemix2.xml
> Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
> Error re
> gistering bean with name '' defined in file
> [D:\users\cstokes\serviceMix\incubat
> or-servicemix-3.0-SNAPSHOT\examples\ws-notification\instance2\servicemix2.xml]:
> Bean class [org.apache.servicemix.wsn.spring.SubscribeFactoryBean] not
> found; ne
> sted exception is java.lang.ClassNotFoundException:
> org.apache.servicemix.wsn.sp
> ring.SubscribeFactoryBean
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registerin
> g bean with name '' defined in file
> [D:\users\cstokes\serviceMix\incubator-servi
> cemix-3.0-SNAPSHOT\examples\ws-notification\instance2\servicemix2.xml]: Bean
> cla
> ss [org.apache.servicemix.wsn.spring.SubscribeFactoryBean] not found; nested
> exc
> eption is java.lang.ClassNotFoundException:
> org.apache.servicemix.wsn.spring.Sub
> scribeFactoryBean
> java.lang.ClassNotFoundException:
> org.apache.servicemix.wsn.spring.SubscribeFact
> oryBean
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>
> Thanks
> --
> View this message in context: http://www.nabble.com/WS-Notification-Example-Not-Working-t1578283.html#a4284465
> Sent from the ServiceMix - User forum at Nabble.com.
>
>