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

Databinding sample fails with AxisFault: The system cannot infer the transport information from the /ComponentA URL.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.6
    • Java-SCA-1.6
    • Java SCA Samples
    • None

    Description

      run:
      [java] Jan 21, 2010 10:16:58 AM org.apache.tuscany.sca.node.impl.NodeImpl <init>
      [java] INFO: Creating node: EchoDataBinding.composite
      [java] - Using Persistence Adapter: MemoryPersistenceAdapter
      [java] - ActiveMQ null JMS Message Broker (localhost) is starting
      [java] - For help or more information please see: http://activemq.apache.org/
      [java] - Listening for connections at: tcp://macBook-2.local:58763
      [java] - Connector tcp://macBook-2.local:58763 Started
      [java] - Network Connector localhost Started
      [java] - ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58764-1264097819055-0:0) started
      [java] Jan 21, 2010 10:16:59 AM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      [java] INFO: Loading contribution: file:/Users/lresende/opensource/apache/tuscany/releases/tuscany-sca-1.6-SNAPSHOT/samples/databinding-echo/target/sample-databinding-echo.jar
      [java] [Deprecated] Xalan: org.apache.xml.serializer.XMLEntities
      [java] Jan 21, 2010 10:17:00 AM org.apache.tuscany.sca.assembly.xml.CompositeProcessor
      [java] WARNING: No namespace found: Composite = EchoDataBinding
      [java] Jan 21, 2010 10:17:00 AM org.apache.tuscany.sca.node.impl.NodeImpl start
      [java] INFO: Starting node: EchoDataBinding.composite
      [java] Jan 21, 2010 10:17:01 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
      [java] INFO: Added Servlet mapping: http://macBook-2.local:8080/ComponentA
      [java] Jan 21, 2010 10:17:01 AM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
      [java] INFO: Added Servlet mapping: http://macBook-2.local:8080/ComponentB
      [java] - The system cannot infer the transport information from the /ComponentA URL.
      [java] - ActiveMQ Message Broker (localhost, ID:macBook-2.local-58764-1264097819055-0:0) is shutting down
      [java] - Network Connector localhost Stopped
      [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault: The system cannot infer the transport information from the /ComponentA URL.
      [java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateFault(MediatorImpl.java:317)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
      [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:349)
      [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:193)
      [java] at $Proxy9.call(Unknown Source)
      [java] at dbecho.EchoDataBindingClient.main(EchoDataBindingClient.java:34)
      [java] Caused by: org.apache.axis2.AxisFault: The system cannot infer the transport information from the /ComponentA URL.
      [java] at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:82)
      [java] at org.apache.axis2.client.OperationClient.prepareMessageContext(OperationClient.java:302)
      [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:179)
      [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.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.invokeTarget(Axis2BindingInvoker.java:170)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:124)
      [java] at org.apache.tuscany.sca.binding.sca.axis2.impl.Axis2SCABindingInvoker.invoke(Axis2SCABindingInvoker.java:98)
      [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:67)
      [java] ... 4 more
      [java] Exception in thread "Thread-3" java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager$ListenerManagerShutdownThread.run(TuscanyListenerManager.java:100)
      [java] Exception in thread "Thread-7" java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager$ListenerManagerShutdownThread.run(TuscanyListenerManager.java:100)
      [java] java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:744)
      [java] at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:465)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.destroy(Axis2ServiceServlet.java:295)
      [java] at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:315)
      [java] at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.java:286)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandler.java:170)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:124)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:566)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.Server.doStop(Server.java:281)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:559)
      [java] java.lang.IllegalStateException: Shutdown in progress
      [java] at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)
      [java] at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.TuscanyListenerManager.stop(TuscanyListenerManager.java:87)
      [java] at org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:744)
      [java] at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:465)
      [java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.destroy(Axis2ServiceServlet.java:295)
      [java] at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:315)
      [java] at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.java:286)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandler.java:170)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:124)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:566)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
      [java] at org.mortbay.jetty.Server.doStop(Server.java:281)
      [java] at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
      [java] at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:559)
      [java] - Connector tcp://macBook-2.local:58763 Stopped
      [java] - ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58764-1264097819055-0:0) stopped
      [java] Java Result: 1

      Attachments

        Activity

          People

            lresende Luciano Resende
            lresende Luciano Resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: