I wanted to reask about SAs in Servicemix 4.0.  When I start Servicemix 4.0
fresh (no data directory), certain SAs that it deploys, will end up in the
stopped state.  There are no errors, and it seems to be random.  If I stop
Servicemix, delete the data directory and start it back up, then different
SAs will be stopped, or sometimes they'll all start up and be fine.  It
appears that if they do all start up, then they seem to start everytime if I
restart the server.  It just seems like on a fresh start, sometimes an SA
won't start up properly.  Is there anyway to find out the reason why an SA
doesn't start?  I don't see anything in the log, is there something I can
turn on to see what might be causing the intermittent problem?

If I try to access an external endpoint on one of the SAs that don't show up
in jbi/list (such as a CXF endpoint), I'll see this error (it's the only
error I see).

Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Endpoint is stopped
    at
org.apache.servicemix.cxfbc.CxfBcConsumer$1.handleMessage(CxfBcConsumer.java:440)
    at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
    at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
    at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiChainInitiationObserver.onMessage(CxfBcConsumer.java:646)
    at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302)
    at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:266)
    at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
    at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
    at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
    at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.lang.Exception: Endpoint is stopped
    ... 19 more

Reply via email to