Forum Home » Fuse Distributions » Fuse ESB

Thread: Problem with logisticx-demo

 
This question is answered.


Permlink Replies: 6 - Last Post: Jun 10, 2009 1:39 PM Last Post By: edelln
vitalif

Posts: 3
Registered: 05/06/09
Problem with logisticx-demo
Posted: May 6, 2009 3:43 PM
 
  Click to reply to this thread Reply
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
edelln

Posts: 44
Registered: 01/17/08
Re: Problem with logisticx-demo
Posted: May 7, 2009 10:53 AM   in response to: vitalif in response to: vitalif
 
  Click to reply to this thread Reply
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.
vitalif

Posts: 3
Registered: 05/06/09
Re: Problem with logisticx-demo
Posted: May 7, 2009 12:44 PM   in response to: edelln in response to: edelln
 
  Click to reply to this thread Reply
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
juanita728

Posts: 4
Registered: 05/22/09
Re: Problem with logisticx-demo
Posted: May 22, 2009 2:10 PM   in response to: vitalif in response to: vitalif
 
  Click to reply to this thread Reply
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
vitalif

Posts: 3
Registered: 05/06/09
Re: Problem with logisticx-demo
Posted: Jun 2, 2009 3:43 PM   in response to: juanita728 in response to: juanita728
 
  Click to reply to this thread Reply
I meant just starting FUSE from the console like that.
OS - Linux.
seanoc

Posts: 96
Registered: 09/05/08
Re: Problem with logisticx-demo
Posted: May 7, 2009 11:31 AM   in response to: vitalif in response to: vitalif
Correct
  Click to reply to this thread Reply
Hi,

I have reproduced this issue and raised it as a bug with our engineering team.
Thanks for your feedback,

Seán.
edelln

Posts: 44
Registered: 01/17/08
Re: Problem with logisticx-demo
Posted: Jun 10, 2009 1:39 PM   in response to: seanoc in response to: seanoc
 
  Click to reply to this thread Reply
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.