Hi, Thanks for your feedback. I solved it by copying the quartz-1.5.2.jar manually (or actually by our deploying ant-script) to the /lib directory. Perhaps I was naive that thought that it would be enough to have the servicemix-quartz-3.1-incubating-installer.zip installed or that the quartz-1.5.2.jar was in the in my deployed Component-sa.jar.
I do not need to add the classpath in the xbean.xml, since my xxx/lib directory is already in the classpath through the conf/servicemix.conf file. Thanks again! /j Jevgeni Holodkov wrote: > > Hi, > > Not quite sure that this was the solution, but try to add to quartz's > xbean.xml the following: > > <classpath> > <location>.</location> > <location>./lib/quartz-1.5.2.jar </location> > </classpath> > > so, the result will look like: > > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns:quartz="http://servicemix.apache.org/quartz/1.0" > xmlns:my="http://my.com/timer"> > > <classpath> > <location>.</location> > <location>./lib/quartz-1.5.2.jar </location> > </classpath> > > <quartz:endpoint service="my:timer" endpoint="timerEndpoint" > targetService="my:trace"> > <quartz:trigger> > <quartz:cron cronExpression="0/5 * * * * ?" /> > </quartz:trigger> > </quartz:endpoint> > > </beans> > > Hope that will help you. > > With best wishes, > Jevgeni Holodkov > > > J.Gustafsson wrote: >> >> Hi, >> >> I have exactly the same problem as you. Did you find/get any solution for >> it? >> >> regards, >> >> Jonas >> > > -- View this message in context: http://www.nabble.com/NoClassDefFoundError-exception-when-using-servicemix-quartz-configuration-with-servicemix-web-%283.1%29-tf3765326s12049.html#a12775479 Sent from the ServiceMix - User mailing list archive at Nabble.com.
