6 Replies Latest reply on Jun 10, 2009 9:39 AM by edelln

    Problem with logisticx-demo

    vitalif

      Hello!

      I've installed FUSE ESB 4.1 and tried to run logisticx-demo.

      It deploys (ServiceMix SAs as well as webapps), processes StockInventory normally, but raises "AjaxOrderService Failed: com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details" on the client side caused by the following exception on the server side (see below).

      Also I get some warnings "Warning:  The encoding 'UTF-8' is not supported by the Java runtime." on the SMX console when starting it. Don't know is this relevant or not.

      Could you tell me, what I'm doing wrong?

       

      19:41:34,709 | INFO  | 10373568@qtp3-0  | PhaseInterceptorChain            | ransport.ChainInitiationObserver   89 | Interceptor has thrown exception, unwinding now

      org.apache.cxf.interceptor.Fault

              at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:751)

              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:631)

              at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302)

              at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:265)

              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.content(HttpConnection.java:879)

              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)

              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)

              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.NullPointerException

              at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)

              at org.apache.servicemix.jbi.deployer.artifacts.AssemblyReferencesListener.pending(AssemblyReferencesListener.java:110)

              at org.apache.servicemix.jbi.deployer.artifacts.AssemblyReferencesListener.exchangeSent(AssemblyReferencesListener.java:98)

              at org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:282)

              at org.apache.servicemix.nmr.core.ChannelImpl.sendSync(ChannelImpl.java:141)

              at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:196)

              at org.apache.servicemix.common.EndpointDeliveryChannel.sendSync(EndpointDeliveryChannel.java:101)

              at org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:723)

              ... 18 more

        • 1. Re: Problem with logisticx-demo
          edelln

          Hi,

           

          Can i ask what version of the logisticx demo you deployed. I tried smx4 version but I did not get all the SA's to deploy correctly

           

          If when you start servicemix - after a few minutes - can you do the following command

           

          jbi/list

           

          there should be 5 Service Assemblies deployed.

           

          I did not get one deployed due to an error with

           

          javax.jbi.management.DeploymentException: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http.

           

          this issue is fixed in CXF 2.2 but we may need to do a release a new version of the demo. Will work on doing this but in the meantime can you let me know if the 5 assemblies deployed for you ?

           

          thanks, Edell.

          • 2. Re: Problem with logisticx-demo
            socallag

            Hi,

             

            I have reproduced this issue and raised it as a bug with our engineering team.

            Thanks for your feedback,

             

            Seán.

            • 3. Re: Problem with logisticx-demo
              vitalif

              I did not get one deployed due to an error with

              javax.jbi.management.DeploymentException: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http.

               

              Try to start ServiceMix without HTTP proxy, i.e

              "http_proxy=  bin/servicemix"

               

              Don't know HOW, but it worked for me O_o

              • 4. Re: Problem with logisticx-demo
                juanita728

                Dear Vitalif,

                 

                Does this "http_proxy= bin/servicemix" need to be added to a configuration file before starting servicemix? Where would I specify this setting?

                 

                I am running into the same problem in FUSE ESB 4.1 with a simple CFX binding context service unit that I modeled after the wsdl-first example.

                 

                Thanks,

                    Juanita

                • 5. Re: Problem with logisticx-demo
                  vitalif

                  I meant just starting FUSE from the console like that.

                  OS - Linux.

                  • 6. Re: Problem with logisticx-demo
                    edelln

                    Hi,

                     

                    We have reproduced this issue and it has been fixed.

                    We will release a new version of the logisticx demo for the next 4.1 patch which will be released before the end of the month.

                     

                     

                    hope this helps, Edell.