Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3557

implementation.python can't find Java dependencies packaged in the contribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • Java-SCA-1.x
    • None
    • None

    Description

      A component that uses implementation.python can't be executed if the Python script refers to a Java class that is packaged in the same contribution but isn't present on the runtime classpath. Attempting this with the travel sample produces the stack trace shown below. The only solution is to add all the Java class dependencies to the classpath, which breaks SCA's contribution-based packaging model.

      [java] 17-May-2010 17:40:28 org.apache.tuscany.sca.node.impl.NodeImpl <init
      >
      [java] INFO: Creating node: null
      [java] 17-May-2010 17:40:29 org.apache.tuscany.sca.node.impl.NodeImpl confi
      gureNode
      [java] INFO: Loading contribution: file:/E:/td/book/rel/travelsample/binari
      es/target/launchers/../contributions/scatours-contribution-payment-python.jar
      [java] 17-May-2010 17:40:30 org.apache.tuscany.sca.node.impl.NodeImpl confi
      gureNode
      [java] INFO: Loading contribution: file:/E:/td/book/rel/travelsample/binari
      es/target/launchers/../contributions/scatours-contribution-creditcard-payment-ja
      xb.jar
      [java] 17-May-2010 17:40:30 org.apache.tuscany.sca.node.impl.NodeImpl confi
      gureNode
      [java] INFO: Loading contribution: file:/E:/td/book/rel/travelsample/binari
      es/target/launchers/../contributions/scatours-contribution-emailgateway.jar
      [java] 17-May-2010 17:40:31 org.apache.tuscany.sca.node.impl.NodeImpl start

      [java] INFO: Starting node: null
      [java] 17-May-2010 17:40:31 org.apache.tuscany.sca.http.jetty.JettyServer a
      ddServletMapping
      [java] INFO: Added Servlet mapping: http://GrosMorne:8081/Payment
      [java] 17-May-2010 17:40:31 org.apache.tuscany.sca.http.jetty.JettyServer a
      ddServletMapping
      [java] INFO: Added Servlet mapping: http://GrosMorne:8082/CreditCardPayment

      [java] 17-May-2010 17:40:31 org.apache.tuscany.sca.http.jetty.JettyServer a
      ddServletMapping
      [java] INFO: Added Servlet mapping: http://GrosMorne:8088/EmailGateway
      [java] Payment Python test
      [java] 17-May-2010 17:40:33 org.apache.tuscany.sca.binding.ws.axis2.Axis2Se
      rviceInOutSyncMessageReceiver invokeBusinessLogic
      [java] SEVERE: org.apache.tuscany.sca.core.factory.ObjectCreationException:
      javax.script.ScriptException: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.core.fa
      ctory.ObjectCreationException: javax.script.ScriptException: Traceback (innermos
      t last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:138)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:104)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:98)
      [java] at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(R
      untimeWireImpl.java:173)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.
      invokeTarget(Axis2ServiceProvider.java:766)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSync
      MessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:70
      )
      [java] at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.i
      nvokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
      [java] at org.apache.axis2.receivers.AbstractMessageReceiver.receive(Ab
      stractMessageReceiver.java:100)
      [java] at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:17
      6)
      [java] at org.apache.axis2.transport.http.HTTPTransportUtils.processHTT
      PPostRequest(HTTPTransportUtils.java:275)
      [java] at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServle
      t.java:133)
      [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      [java] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.
      java:487)
      [java] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandle
      r.java:362)
      [java] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandle
      r.java:181)
      [java] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandle
      r.java:726)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrappe
      r.java:139)
      [java] at org.mortbay.jetty.Server.handle(Server.java:324)
      [java] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection
      .java:505)
      [java] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpC
      onnection.java:842)
      [java] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      [java] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:2
      11)
      [java] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:3
      80)
      [java] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEnd
      Point.java:395)
      [java] at org.apache.tuscany.sca.core.work.Work.run(Work.java:63)
      [java] at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$Decora
      tingWork.run(ThreadPoolWorkManager.java:215)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
      PoolExecutor.java:885)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
      Executor.java:907)
      [java] at java.lang.Thread.run(Thread.java:619)
      [java] Caused by: org.apache.tuscany.sca.core.factory.ObjectCreationExcepti
      on: javax.script.ScriptException: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.init(ScriptInvokerFactory.java:113)
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.createInvoker(ScriptInvokerFactory.java:82)
      [java] at org.apache.tuscany.sca.extension.helper.impl.ImplementationIm
      plementationProvider$InvokerProxy.init(ImplementationImplementationProvider.java
      :95)
      [java] at org.apache.tuscany.sca.extension.helper.impl.ImplementationIm
      plementationProvider$InvokerProxy.invoke(ImplementationImplementationProvider.ja
      va:89)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
      onInterceptor.invoke(DataTransformationInterceptor.java:67)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:129)
      [java] ... 29 more
      [java] Caused by: javax.script.ScriptException: Traceback (innermost last):

      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScrip
      tEngine.java:292)
      [java] at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEng
      ine.java:170)
      [java] at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEng
      ine.java:175)
      [java] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.j
      ava:232)
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.init(ScriptInvokerFactory.java:110)
      [java] ... 34 more
      [java] Caused by: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.python.core.Py.ImportError(Unknown Source)
      [java] at org.python.core.imp.import_logic(Unknown Source)
      [java] at org.python.core.imp.import_name(Unknown Source)
      [java] at org.python.core.imp.importName(Unknown Source)
      [java] at org.python.core.ImportFunction.load(Unknown Source)
      [java] at org.python.core.ImportFunction._call_(Unknown Source)
      [java] at org.python.core.PyObject._call_(Unknown Source)
      [java] at org.python.core._builtin.import_(Unknown Source)
      [java] at org.python.core.imp.importFromAs(Unknown Source)
      [java] at org.python.core.imp.importFrom(Unknown Source)
      [java] at org.python.pycode._pyx0.f$0(<unknown>:18)
      [java] at org.python.pycode._pyx0.call_function(<unknown>)
      [java] at org.python.core.PyTableCode.call(Unknown Source)
      [java] at org.python.core.PyCode.call(Unknown Source)
      [java] at org.python.core.Py.runCode(Unknown Source)
      [java] at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScrip
      tEngine.java:289)
      [java] ... 38 more
      [java] - org.apache.tuscany.sca.core.factory.ObjectCreationException: javax
      .script.ScriptException: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] org.apache.axis2.AxisFault: org.apache.tuscany.sca.core.factory.Obje
      ctCreationException: javax.script.ScriptException: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSync
      MessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:10
      0)
      [java] at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.i
      nvokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
      [java] at org.apache.axis2.receivers.AbstractMessageReceiver.receive(Ab
      stractMessageReceiver.java:100)
      [java] at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:17
      6)
      [java] at org.apache.axis2.transport.http.HTTPTransportUtils.processHTT
      PPostRequest(HTTPTransportUtils.java:275)
      [java] at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServle
      t.java:133)
      [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      [java] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.
      java:487)
      [java] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandle
      r.java:362)
      [java] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandle
      r.java:181)
      [java] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandle
      r.java:726)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrappe
      r.java:139)
      [java] at org.mortbay.jetty.Server.handle(Server.java:324)
      [java] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection
      .java:505)
      [java] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpC
      onnection.java:842)
      [java] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      [java] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:2
      11)
      [java] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:3
      80)
      [java] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEnd
      Point.java:395)
      [java] at org.apache.tuscany.sca.core.work.Work.run(Work.java:63)
      [java] at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$Decora
      tingWork.run(ThreadPoolWorkManager.java:215)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
      PoolExecutor.java:885)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
      Executor.java:907)
      [java] at java.lang.Thread.run(Thread.java:619)
      [java] Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.
      sca.core.factory.ObjectCreationException: javax.script.ScriptException: Tracebac
      k (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:138)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:104)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:98)
      [java] at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(R
      untimeWireImpl.java:173)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.
      invokeTarget(Axis2ServiceProvider.java:766)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSync
      MessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:70
      )
      [java] ... 24 more
      [java] Caused by: org.apache.tuscany.sca.core.factory.ObjectCreationExcepti
      on: javax.script.ScriptException: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.init(ScriptInvokerFactory.java:113)
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.createInvoker(ScriptInvokerFactory.java:82)
      [java] at org.apache.tuscany.sca.extension.helper.impl.ImplementationIm
      plementationProvider$InvokerProxy.init(ImplementationImplementationProvider.java
      :95)
      [java] at org.apache.tuscany.sca.extension.helper.impl.ImplementationIm
      plementationProvider$InvokerProxy.invoke(ImplementationImplementationProvider.ja
      va:89)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
      onInterceptor.invoke(DataTransformationInterceptor.java:67)
      [java] at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.inv
      oke(RuntimeWireInvoker.java:129)
      [java] ... 29 more
      [java] Caused by: javax.script.ScriptException: Traceback (innermost last):

      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScrip
      tEngine.java:292)
      [java] at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEng
      ine.java:170)
      [java] at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEng
      ine.java:175)
      [java] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.j
      ava:232)
      [java] at org.apache.tuscany.sca.implementation.script.ScriptInvokerFac
      tory.init(ScriptInvokerFactory.java:110)
      [java] ... 34 more
      [java] Caused by: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org
      .apache.tuscany.sca.interfacedef.util.FaultException: org.apache.tuscany.sca.cor
      e.factory.ObjectCreationException: javax.script.ScriptException: Traceback (inne
      rmost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateF
      ault(MediatorImpl.java:317)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
      onInterceptor.invoke(DataTransformationInterceptor.java:78)
      [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
      nvoke(JDKInvocationHandler.java:349)
      [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
      nvoke(JDKInvocationHandler.java:193)
      [java] at org.python.core.Py.ImportError(Unknown Source)
      [java] at org.python.core.imp.import_logic(Unknown Source)
      [java] at org.python.core.imp.import_name(Unknown Source)
      [java] at org.python.core.imp.importName(Unknown Source)
      [java] at org.python.core.ImportFunction.load(Unknown Source)
      [java] at org.python.core.ImportFunction._call_(Unknown Source)
      [java] at org.python.core.PyObject._call_(Unknown Source)
      [java] at org.python.core._builtin.import_(Unknown Source)
      [java] at org.python.core.imp.importFromAs(Unknown Source)
      [java] at org.python.core.imp.importFrom(Unknown Source)
      [java] at org.python.pycode._pyx0.f$0(<unknown>:18)
      [java] at org.python.pycode._pyx0.call_function(<unknown>)
      [java] at org.python.core.PyTableCode.call(Unknown Source)
      [java] at org.python.core.PyCode.call(Unknown Source)
      [java] at org.python.core.Py.runCode(Unknown Source)
      [java] at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScrip
      tEngine.java:289)
      [java] ... 38 more
      [java] at $Proxy31.makePaymentMember(Unknown Source)
      [java] at scatours.payment.PaymentLauncher.main(PaymentLauncher.java:43
      )
      [java] Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException:
      org.apache.tuscany.sca.core.factory.ObjectCreationException: javax.script.Script
      Exception: Traceback (innermost last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
      nvoke(Axis2BindingInvoker.java:129)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
      onInterceptor.invoke(DataTransformationInterceptor.java:67)
      [java] ... 4 more
      [java] Caused by: org.apache.axis2.AxisFault: org.apache.tuscany.sca.core.f
      actory.ObjectCreationException: javax.script.ScriptException: Traceback (innermo
      st last):
      [java] File "<unknown>", line 18, in ?
      [java] ImportError: no module named emailgateway
      [java]
      [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
      (Utils.java:512)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.handleR
      esponse(OutInAxisOperation.java:370)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.send(Ou
      tInAxisOperation.java:416)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.execute
      Impl(OutInAxisOperation.java:228)
      [java] at org.apache.axis2.client.OperationClient.execute(OperationClie
      nt.java:163)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1
      .run(Axis2BindingInvoker.java:172)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
      nvokeTarget(Axis2BindingInvoker.java:170)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
      nvoke(Axis2BindingInvoker.java:124)
      [java] ... 5 more
      [java] Exception in thread "Thread-1" java.lang.IllegalStateException: Shut
      down in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r$ListenerManagerShutdownThread.run(TuscanyListenerManager.java:100)
      [java] Exception in thread "Thread-5" java.lang.IllegalStateException: Shut
      down in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r$ListenerManagerShutdownThread.run(TuscanyListenerManager.java:100)
      [java] java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.axis2.context.ConfigurationContext.terminate(Confi
      gurationContext.java:744)
      [java] at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServl
      et.java:465)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.d
      estroy(Axis2ServiceServlet.java:295)
      [java] at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(Servl
      etHolder.java:315)
      [java] at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.
      java:286)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandle
      r.java:170)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandle
      r.java:124)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandle
      r.java:566)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.Server.doStop(Server.java:281)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:5
      59)
      [java] Exception in thread "Thread-8" java.lang.IllegalStateException: Shut
      down in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r$ListenerManagerShutdownThread.run(TuscanyListenerManager.java:100)
      [java] java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.axis2.context.ConfigurationContext.terminate(Confi
      gurationContext.java:744)
      [java] at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServl
      et.java:465)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.d
      estroy(Axis2ServiceServlet.java:295)
      [java] at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(Servl
      etHolder.java:315)
      [java] at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.
      java:286)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandle
      r.java:170)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandle
      r.java:124)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandle
      r.java:566)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.Server.doStop(Server.java:281)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:5
      59)
      [java] java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdown
      Hooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManage
      r.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.axis2.context.ConfigurationContext.terminate(Confi
      gurationContext.java:744)
      [java] at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServl
      et.java:465)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.d
      estroy(Axis2ServiceServlet.java:295)
      [java] at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(Servl
      etHolder.java:315)
      [java] at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.
      java:286)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandle
      r.java:170)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandle
      r.java:124)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandle
      r.java:566)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrappe
      r.java:129)
      [java] at org.mortbay.jetty.Server.doStop(Server.java:281)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycl
      e.java:65)
      [java] at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:5
      59)

      Attachments

        Activity

          People

            Unassigned Unassigned
            scnash Simon Nash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: