I'm using Servicemix 3.2.1, so I'll give 3.2.2 a try. I was kind of waiting
until it was released, but this problem is now cropping up on a regular
basis on a server so I'll definitely give it a shot. Hopefully this will
allow me to get this project done so I can then get that Joram write up done
since I should have ran across hopefully most of the gotchas for it at that
point.
Thanks!
On Tue, Jun 17, 2008 at 11:06 AM, Bruce Snyder <[EMAIL PROTECTED]>
wrote:
> On Fri, Jun 13, 2008 at 2:23 PM, Ryan Moquin <[EMAIL PROTECTED]>
> wrote:
> > Out of curiosity.. is it possible for the quartz component in servicemix
> to
> > "start up too quickly" and fire off a message to a service before it's
> > ready? I've been seeing errors like this a lot more during start up and
> I'm
> > not sure why.. but it always seems to be related to the delivery channel:
> >
> > WARN - DeliveryChannelImpl - Error calling listener: null
> > java.lang.NullPointerException
> > at
> >
> org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> > at
> >
> org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> > at
> >
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> > at java.lang.Thread.run(Thread.java:595)
> > WARN - DeliveryChannelImpl - Error calling listener: null
> > java.lang.NullPointerException
> > at
> >
> org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
> > at
> >
> org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
> > at
> >
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> > at java.lang.Thread.run(Thread.java:595)
> >
> > Another one is:
> >
> > ERROR - BeanComponent - Error processing exchange
> InOnly[
> > id: ID:192.168.1.2-11a83961a1c-9:1
> > status: Active
> > role: provider
> > service: {urn://myservice}notification-service
> > endpoint: endpoint
> > in: <?xml version="1.0"
> >
> encoding="UTF-8"?><timer><name>{urn://myservice}service-invoker:endpoint</name><group>DEFAULT</group><fullname>DEFAULT.{urn://myservice}service-
> > invoker:endpoint</fullname><description/><fireTime>Fri Jun 13 16:21:13
> EDT
> > 2008</fireTime></timer>
> > ]
> > java.lang.NullPointerException
> > at
> >
> org.apache.servicemix.bean.BeanEndpoint.getCorrelationExpression(BeanEndpoint.java:421)
> > at
> >
> org.apache.servicemix.bean.BeanEndpoint.getCorrelation(BeanEndpoint.java:298)
> > at
> >
> org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:218)
> > at
> > org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:211)
> > at
> >
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> > at
> >
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> > at
> >
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> > at
> >
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> > at
> >
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> > at java.lang.Thread.run(Thread.java:595)
> >
> > Any ideas?
>
> What version of SMX are you using? There's a fix for this sort of
> thing in 3.2.2, is it possible that you could try that and see if it
> clears up the problem?
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
>
> Blog: http://bruceblog.org/
>