1 Reply Latest reply on Mar 13, 2009 10:54 AM by deleted user

    problems running logisticx demo

    William Moser Newbie

      Hi - I'm getting a few errors when running the logisticx demo against smx4.  I've installed fuse-esb-4.0.0.4, and jetty-6.1.6, and deployed the zips in the logisticx deployables dir to the smx deploy dir, and the wars to jetty's webapps dir.  smx starts up fine, as does jetty, and the logistics page appears correctly in the browser.  However, when I enter a customer id and po number, and then hit the submit button, the browser pops up this message in a window:

      AjaxOrderService Failed: com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details

       

      Both jetty and smx show errors about "no matching endpoints" (see below).  Anyone have any ideas why this is happening?  Note: I've also build from source, with exactly the same errors.

      - Bill

       

      smx error trace:

       

      servicemix> Mar 10, 2009 5:47:16 PM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel

      INFO: configuring DeliveryChannel:     org.apache.servicemix.common.EndpointDeliveryChannel@162ffa1

      3936  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 4412020 SELECT t0.deliveryDate, t0.description, t0.itemId, t0.name, t0.price, t0.quantity, t0.totalPrice FROM LineItem t0 WHERE t0.lineItemId = ?

      3940  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4027  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 26506109 SELECT SEQUENCE_VALUE FROM OPENJPA_SEQUENCE_TABLE WHERE ID = ? FOR UPDATE WITH RR

      4032  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4070  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 6702394 UPDATE OPENJPA_SEQUENCE_TABLE SET SEQUENCE_VALUE = ? WHERE ID = ? AND SEQUENCE_VALUE = ?

      4073  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4121  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 27424661 SELECT SEQUENCE_VALUE FROM OPENJPA_SEQUENCE_TABLE WHERE ID = ? FOR UPDATE WITH RR

      4124  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4141  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 8865351 UPDATE OPENJPA_SEQUENCE_TABLE SET SEQUENCE_VALUE = ? WHERE ID = ? AND SEQUENCE_VALUE = ?

      4155  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4247  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 26704350 INSERT INTO Ord (ORDER_ID, customerId, customerPoNumber, orderDate, LINEITEM_ID, ORDERSTATUS_STATUSID) VALUES (?, ?, ?, ?, ?, ?)

      4291  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      4311  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 14008463 INSERT INTO LineItem (lineItemId, deliveryDate, description, itemId, name, price, quantity, totalPrice) VALUES (?, ?, ?, ?, ?, ?, ?, ?)

      4323  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      837  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 11635600 SELECT SEQUENCE_VALUE FROM OPENJPA_SEQUENCE_TABLE WHERE ID = ? FOR UPDATE WITH RR

      839  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      843  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 25050008 UPDATE OPENJPA_SEQUENCE_TABLE SET SEQUENCE_VALUE = ? WHERE ID = ? AND SEQUENCE_VALUE = ?

      845  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      1035  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 2345702 SELECT t0.customerId, t0.customerPoNumber, t1.lineItemId, t1.deliveryDate, t1.description, t1.itemId, t1.name, t1.price, t1.quantity, t1.totalPrice, t0.orderDate, t2.statusId, t2.comments, t3.ORDER_ID, t3.customerId, t3.customerPoNumber, t3.LINEITEM_ID, t3.orderDate, t3.ORDERSTATUS_STATUSID, t2.statusCode FROM Ord t0 LEFT OUTER JOIN LineItem t1 ON t0.LINEITEM_ID = t1.lineItemId LEFT OUTER JOIN OrderStatus t2 ON t0.ORDERSTATUS_STATUSID = t2.statusId LEFT OUTER JOIN Ord t3 ON t2.ORDER_ID = t3.ORDER_ID WHERE t0.ORDER_ID = ?

      1058  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      1161  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 10438132 INSERT INTO OrderStatus (statusId, comments, statusCode, ORDER_ID) VALUES (?, ?, ?, ?)

      1216  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      1089  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 2120856 SELECT t0.statusId, t0.comments, t1.ORDER_ID, t1.customerId, t1.customerPoNumber, t2.lineItemId, t2.deliveryDate, t2.description, t2.itemId, t2.name, t2.price, t2.quantity, t2.totalPrice, t1.orderDate, t3.statusId, t3.comments, t3.ORDER_ID, t3.statusCode, t0.statusCode FROM OrderStatus t0 LEFT OUTER JOIN Ord t1 ON t0.ORDER_ID = t1.ORDER_ID LEFT OUTER JOIN LineItem t2 ON t1.LINEITEM_ID = t2.lineItemId LEFT OUTER JOIN OrderStatus t3 ON t1.ORDERSTATUS_STATUSID = t3.statusId WHERE (t0.ORDER_ID = ?)

      1097  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      1162  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 22752902 UPDATE OrderStatus SET comments = ?, statusCode = ?, ORDER_ID = ? WHERE statusId = ?

      1167  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      1207  order-processor  TRACE  openjpa.jdbc.SQL -  executing prepstmnt 18589261 UPDATE Ord SET customerId = ?, customerPoNumber = ?, orderDate = ?, LINEITEM_ID = ?, ORDERSTATUS_STATUSID = ? WHERE ORDER_ID = ?

      1212  order-processor  TRACE  openjpa.jdbc.SQL -  spent

      Using orderId Mar 10, 2009 5:47:24 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept

      INFO: Application has thrown exception, unwinding now Could not dispatch exchange. No matching endpoints.

      Mar 10, 2009 5:47:24 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept

      INFO: Interceptor has thrown exception, unwinding now Could not dispatch exchange. No matching endpoints.

       

      ===========================================================

       

      jetty error trace:

       

      INFO: Outbound Message

      -


      Encoding: UTF-8

      Headers: {SOAPAction=[""], Accept=[*]}

      Messages:

      Payload:

      -


      2009-03-10 17:47:25.488:/logisticx-web-gwt:WARN:  Exception while dispatching incoming RPC call

      com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.iona.fuse.demo.logisticx.web.customer.client.customer.model.OrderStatus com.iona.fuse.demo.logisticx.web.customer.client.customer.AjaxOrderService.doSubmit(com.iona.fuse.demo.logisticx.web.customer.client.customer.model.Order)' threw an unexpected exception: javax.xml.ws.soap.SOAPFaultException: Could not dispatch exchange. No matching endpoints.

           at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)

           at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)

           at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)

           at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

           at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)

           at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:46)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

           at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

           at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

           at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

           at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)

           at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)

           at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)

           at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

           at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

           at org.mortbay.jetty.Server.handle(Server.java:324)

           at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

           at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)

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

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

           at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

           at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

           at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

      Caused by: javax.xml.ws.soap.SOAPFaultException: Could not dispatch exchange. No matching endpoints.

           at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)

           at $Proxy120.putOrder(Unknown Source)

           at com.iona.fuse.demo.logisticx.web.customer.server.AjaxOrderServiceImpl.doSubmit(AjaxOrderServiceImpl.java:53)

           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

           at java.lang.reflect.Method.invoke(Method.java:597)

           at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)

           ... 24 more

      Caused by: org.apache.cxf.binding.soap.SoapFault: Could not dispatch exchange. No matching endpoints.

           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)

           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)

           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)

           at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)

           at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)

           at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)

           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)

           at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:633)

           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2066)

           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1944)

           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1869)

           at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)

           at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:170)

           at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)

           at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:595)

           at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)

           at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466)

           at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)

           at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)

           at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)

           at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)

           ... 31 more