Skip to main content



      Home
Home » Archived » Swordfish » FlightBooking demo not working(IWAB0135E An unexpected error has occurred. 500 javax.xml.ws.WebServiceException)
FlightBooking demo not working [message #642747] Thu, 02 December 2010 10:26 Go to next message
Eclipse UserFriend
Hi everybody,

I have the problem that running my 'CompositeProvider' throws these Exceptions:

Exception in thread "JMX Connector Thread [service:jmx:rmi:///jndi/rmi://localhost:4711/jmxrmi]" org.springframework.jmx.JmxException: Could not start JMX connector server after delay; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:4711/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]
    at org.springframework.jmx.support.ConnectorServerFactoryBean$1.run(ConnectorServerFactoryBean.java:157)
Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:4711/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]
    at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source)
    at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
    at org.springframework.jmx.support.ConnectorServerFactoryBean$1.run(ConnectorServerFactoryBean.java:154)
Caused by: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]
    at com.sun.jndi.rmi.registry.RegistryContext.bind(Unknown Source)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
    at javax.naming.InitialContext.bind(Unknown Source)
    at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source)
    ... 2 more
Caused by: java.rmi.AlreadyBoundException: jmxrmi
    at sun.rmi.registry.RegistryImpl.bind(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    ... 6 more


and therefor the WS test of 'FlightBookingProvider' ends in a:

IWAB0135E An unexpected error has occurred.
500
javax.xml.ws.WebServiceException

This is bothering me a lot since 'FlightReservation' and 'PaymentProcessing' did work just fine on there own.
I also made sure to add '-DrmiRegistryPort=4711' is added to the arguments of 'CompositeProvider' and that the endpoint in the spring file of 'FlightBookingProvider' is pointing to 'http://localhost:8198/FlightBooking_Service/'
Re: FlightBooking demo not working [message #642752 is a reply to message #642747] Thu, 02 December 2010 10:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi Christian,

actually the NameAlreadyBoundException has no effect on the functioning of the service, but results in the osgi instance not starting up JMX only.

I expect you have started
- one instance / run config containing providers for reservation and payment processing
- one containing consumers for reservation, payment processing and the provider for booking
- try to access the flight booking service using the web services explorer

Is that correct?

Cheers
Jürgen
Re: FlightBooking demo not working [message #642783 is a reply to message #642752] Thu, 02 December 2010 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jürgen,

thanks for this super quick reply first of all.
I went to 'run configurations' and first started 'Provider' which contains 'FlightReservation (1.0.0.qualifier)' and 'PaymentProcessing_Service(1.0.0.qualifier)' and then i used 'run confidurations' again to start up 'CompositeProvider' containing all the other stuff.
After that i tried the 'FlightBooking.wsdl' file but it still throws the error.
Cheers,

Christian
Re: FlightBooking demo not working [message #643740 is a reply to message #642783] Wed, 08 December 2010 01:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Christian,

sorry for the late reply.

I am not sure about what your problem is so let me just briefly describe what I would look at to get it running:

1. Make sure that the target platform is set correctly.

2. Start up the "low level" providers (FlightReservationProvider, PaymentProcessingProvider) in a run configuration

3. Start up the composite service (FlightReservationConsumer, PaymentProcessingConsumer, FlightBookingProvider). In here you may want to change the JMX port to a separate number (as described in the docs).

4. Verify that all non-fragment bundles have been started in your OSGi instances using the ss console command.

5. Do a short check by pasting the Service URL of the FlightBookingProvider into my WebBrowser - normallly you should be able to get a list of services containing a link that will then display the WSDL of your service...

6. Point WSExplorer to the WSDL URL from the browser and send a request or create a FlightBookingConsumer (including sample code), add a call to the provider there and run this consumer separately ...

HTH
Jürgen
Re: FlightBooking demo not working [message #644072 is a reply to message #643740] Thu, 09 December 2010 05:52 Go to previous message
Eclipse UserFriend
Hi Jürgen,

sorry for my slowness but I just don't manage to get it running.
After starting the 'CompositeProvider'and typing 'ss', it prints:

Framework is launched.

id    State       Bundle
0    ACTIVE      org.eclipse.osgi_3.6.0.v20100517
                Fragments=13
1    ACTIVE      org.apache.servicemix.jbi.deployer_1.0.0.v201006150915
2    ACTIVE      org.apache.servicemix.nmr.core_1.0.0.v201006150915
3    ACTIVE      org.apache.xbean.spring_3.5.0.v201006150915
4    ACTIVE      org.springframework.osgi.io_1.0.2.v201006150915
5    ACTIVE      org.mortbay.jetty.util_6.1.15.v200905182336
6    ACTIVE      org.apache.xml.resolver_1.2.0.v201005080400
7    ACTIVE      org.eclipse.swordfish.plugins.cxf.support_0.10.0.v201006150915
8    ACTIVE      org.eclipse.swordfish.plugins.resolver.backend.local_0.10.0.v201006150915
9    ACTIVE      org.eclipse.osgi.util_3.2.100.v20100503
10    ACTIVE      javax.xml.soap_1.3.0.v201005080502
11    ACTIVE      org.apache.commons.httpclient_3.1.0.v201005080502
12    ACTIVE      org.apache.servicemix.soap2_2009.1.0.v201006150915
13    RESOLVED    javax.transaction_1.1.1.v201006150915
                Master=0
14    ACTIVE      org.apache.servicemix.nmr.management_1.0.0.v201006150915
15    ACTIVE      org.springframework.aop_2.5.2.v201006150915
16    ACTIVE      org.eclipse.swordfish.core.resolver_0.10.0.v201006150915
17    ACTIVE      org.springframework.osgi.extender_1.0.2.v201006150915
18    ACTIVE      javax.xml.ws_2.1.0.v200902101523
19    ACTIVE      org.eclipse.swordfish.plugins.compression_0.10.0.v201006150915
20    ACTIVE      org.eclipse.swordfish.plugins.tracking_0.10.0.v201006150915
21    ACTIVE      org.apache.servicemix.cxf.transport.nmr_4.0.0.v201006150915
22    ACTIVE      PaymentProcessingConsumer_1.0.0.qualifier
23    ACTIVE      javax.servlet_2.5.0.v200910301333
24    ACTIVE      org.apache.servicemix.soap_2009.1.0.v201006150915
25    ACTIVE      javax.annotation_1.1.1.v201006150915
26    ACTIVE      com.ctc.wstx_3.2.8.v201006150915
27    ACTIVE      org.apache.xbean.classloader_3.5.0.v201006150915
28    ACTIVE      javax.xml.stream_1.0.1.v201004272200
29    ACTIVE      org.eclipse.swordfish.plugins.resolver.backend.base_0.10.0.v201006150915
30    ACTIVE      org.springframework.core_2.5.2.v201006150915
31    ACTIVE      org.apache.servicemix.kernel.jaas.boot_1.1.0.v201006150915
32    ACTIVE      org.eclipse.swordfish.core.planner_0.10.0.v201006150915
33    ACTIVE      org.apache.cxf_2.1.3.v201006150915
34    ACTIVE      javax.jbi_1.2.0.v201006150915
35    ACTIVE      javax.xml_1.3.4.v201005080400
36    ACTIVE      org.apache.neethi_2.0.4.1
37    ACTIVE      org.apache.servicemix.kernel.jaas.modules_1.1.0.v201006150915
38    RESOLVED    org.eclipse.swordfish.compatibility.wsdl4j_0.10.0.v201006150915
                Master=87
39    ACTIVE      org.eclipse.swordfish.core.configuration_0.10.0.v201006150915
40    ACTIVE      org.eclipse.swordfish.api_0.10.0.v201006150915
41    ACTIVE      javax.jws_2.0.0.v201005080400
42    ACTIVE      org.apache.servicemix.cxf.binding.nmr_4.0.0.v201006150915
43    ACTIVE      org.mortbay.jetty.client_6.1.15.v201006150915
44    ACTIVE      org.apache.servicemix.cxf.transport.osgi_4.0.0.v201006150915
45    ACTIVE      org.apache.servicemix.jbi.runtime_1.0.0.v201006150915
46    RESOLVED    org.mortbay.jetty.security_6.1.15.v201006150915
                Master=52
47    ACTIVE      org.apache.servicemix.http_2009.1.0.v201006150915
48    ACTIVE      org.apache.servicemix.nmr.spring_1.0.0.v201006150915
49    ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503
50    ACTIVE      javax.activation_1.1.0.v201005080500
51    ACTIVE      org.springframework.osgi.core_1.0.2.v201006150915
52    ACTIVE      org.mortbay.jetty.server_6.1.15.v200905151201
                Fragments=46
53    ACTIVE      org.eclipse.equinox.http.servlet_1.1.0.v20100503
54    ACTIVE      org.eclipse.swordfish.plugins.planner.policy_0.10.0.v201006150915
55    ACTIVE      org.eclipse.swordfish.core.util.smx_0.10.0.v201006150915
56    ACTIVE      org.apache.servicemix.nmr.osgi_1.0.0.v201006150915
57    ACTIVE      org.eclipse.equinox.preferences_3.3.0.v20100503
58    ACTIVE      org.springframework.context_2.5.2.v201006150915
59    ACTIVE      org.apache.servicemix.kernel.management_1.1.0.v201006150915
60    ACTIVE      javax.mail_1.4.0.v201005080615
61    ACTIVE      org.apache.cxf.transport.jbi_2.1.3.v201006150915
62    ACTIVE      org.eclipse.equinox.http.jetty_2.0.0.v20100503
63    ACTIVE      org.eclipse.swordfish.plugins.resolver.backend.remote_0.10.0.v201006150915
64    ACTIVE      org.apache.servicemix.kernel.jaas.config_1.1.0.v201006150915
65    ACTIVE      FlightReservationConsumer_1.0.0.qualifier
66    ACTIVE      org.apache.cxf.binding.jbi_2.1.3.v201006150915
67    ACTIVE      org.eclipse.swordfish.core_0.10.0.v201006150915
68    ACTIVE      org.apache.servicemix.common_2009.1.0.v201006150915
69    ACTIVE      org.eclipse.equinox.cm_1.0.100.v20090520-1800
70    ACTIVE      org.apache.axiom_1.2.4.v201006150915
71    ACTIVE      org.eclipse.swordfish.core.event_0.10.0.v201006150915
72    ACTIVE      org.apache.commons.logging_1.1.1.v201005080502
73    ACTIVE      org.apache.commons.codec_1.3.0.v20100518-1140
74    ACTIVE      FlightBookingProvider_1.0.0.qualifier
75    ACTIVE      org.apache.servicemix.jbi.osgi_1.0.0.v201006150915
76    ACTIVE      org.objectweb.asm_3.1.0.v200803061910
77    ACTIVE      org.eclipse.equinox.event_1.2.0.v20100503
78    ACTIVE      org.aopalliance_1.0.0.v200905130917
79    ACTIVE      org.eclipse.swordfish.core.util_0.10.0.v201006150915
80    ACTIVE      org.eclipse.swordfish.compatibility.cxf.minimal_0.10.0.v201006150915
81    ACTIVE      org.eclipse.equinox.util_1.0.200.v20100503
82    ACTIVE      org.apache.ant_1.7.1.v20100518-1145
83    ACTIVE      org.apache.servicemix.document_1.0.0.v201006150915
84    ACTIVE      org.apache.servicemix.kernel.filemonitor_1.1.0.v201006150915
85    ACTIVE      org.apache.servicemix.utils_1.1.0.v201006150915
86    ACTIVE      org.mortbay.management_6.1.15.v201006150915
87    ACTIVE      javax.wsdl_1.6.2.v201005080631
                Fragments=38
88    ACTIVE      org.springframework.beans_2.5.2.v201006150915
89    ACTIVE      org.eclipse.swordfish.plugins.resolver.policy_0.10.0.v201006150915
90    ACTIVE      org.apache.servicemix.nmr.api_1.0.0.v201006150915
91    ACTIVE      com.sun.xml.bind_2.1.12.v201003251730
92    ACTIVE      org.eclipse.swordfish.plugins.ws.wsdlgenerator_0.10.0.v201006150915
93    ACTIVE      org.apache.ws.commons.schema_1.4.2.v201003051240
94    ACTIVE      org.eclipse.equinox.common_3.6.0.v20100503
95    ACTIVE      javax.xml.bind_2.1.9.v201005080401

osgi> 


Then I copied the URI from the cfx-enpoint.xml of 'FlightBookingProvider' into my browser (http://localhost:8198/FlightBooking_Service/) and it says:

Quote:
HTTP ERROR 404

Problem accessing /FlightBooking_Service/. Reason:

Unable to find requested resource


I altered the Arguments of 'CompositeProvider' the following:

-DrmiRegistryPort=4711
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Dservicemix.base=.
-Dorg.osgi.service.http.port=9002


As you can see I also use another http-port just to be on the save side but it didn't change the result.

Running the 'FlightBooking.wsdl' ends up in the following errors:

09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Filtering the interceptors with the followng list of policy based hints: []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerRequestCompressionInterceptor@f8395f from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerResponseDecompressionInterceptor@1381960 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderRequestDecompressionInterceptor@e99ce5 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderResponseCompressionInterceptor@1eb904d from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.internal.core.interceptor.CxfDecoratingInterceptor@1a503f from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl bookFlight
INFO: Executing operation bookFlight
09.12.2010 11:47:27 org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
INFO: Could not determine bean name for instance of class org.apache.servicemix.cxf.transport.nmr.NMRConduit.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: {ResponseContext={}, RequestContext={java.lang.reflect.Method=public abstract java.lang.String org.eclipse.swordfish.samples.flightreservation.FlightReservation.reserveFlight(org.eclipse.swordfish.samples.flightreservation.FlightData), org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION}, org.apache.cxf.message.Message.ENDPOINT_ADDRESS=nmr:FlightReservationService}}
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: [MessageInfo INPUT{http://www.eclipse.org/swordfish/samples/FlightReservation/}reserveFlight]
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: true
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: public abstract java.lang.String org.eclipse.swordfish.samples.flightreservation.FlightReservation.reserveFlight(org.eclipse.swordfish.samples.flightreservation.FlightData)
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: true
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: false
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: {SOAPAction=["http://www.eclipse.org/swordfish/samples/FlightReservation/reserveFlight"]}
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: [null]
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: UTF-8
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: nmr:FlightReservationService
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: {}
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: {org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION}
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: org.apache.cxf.service.model.BindingMessageInfo@1bcfbeb
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: text/xml
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream createNMRMessageExchange
INFO: Invoking serviceinterface org.eclipse.swordfish.samples.flightreservation.FlightReservation
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream createNMRMessageExchange
INFO: Create messageExchange{http://www.eclipse.org/swordfish/samples/FlightReservation/}FlightReservationService
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream createNMRMessageExchange
INFO: Exchange endpoint {http://www.eclipse.org/swordfish/samples/FlightReservation/}FlightReservationService
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream createNMRMessageExchange
INFO: setup message contents on Message []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream createNMRMessageExchange
INFO: service for exchange {http://www.eclipse.org/swordfish/samples/FlightReservation/}FlightReservationService
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.cxf.support.NMROutputStream sendOutputMessage
INFO: Sending message
null
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Filtering the interceptors with the followng list of policy based hints: []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerRequestCompressionInterceptor@f8395f from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerResponseDecompressionInterceptor@1381960 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderRequestDecompressionInterceptor@e99ce5 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderResponseCompressionInterceptor@1eb904d from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.internal.core.interceptor.CxfDecoratingInterceptor@1a503f from the list of valid interceptors.
09.12.2010 11:47:27 org.apache.servicemix.nmr.management.ManagementEndpointRegistry exchangeSent
WARNUNG: No managed endpoint registered with id: b42ce6aa-771d-4480-94b0-4ca1c7d54e9a
09.12.2010 11:47:27 org.apache.servicemix.common.AsyncBaseLifeCycle processExchangeInTx
SCHWERWIEGEND: Error processing exchange org.apache.servicemix.jbi.runtime.impl.InOutImpl@10bbf6d
org.apache.servicemix.soap.SoapFault: Unrecognized element: html at [1,1]. Expecting 'Envelope'.
    at org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingStax(SoapReader.java:167)
    at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:89)
    at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:76)
    at org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:165)
    at org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:368)
    at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
    at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
    at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:478)
    at org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:347)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyAssertionHintExtractor extractHints
WARNUNG: Couldn't extract hints from terminated (status == DONE) message exchange!
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Filtering the interceptors with the followng list of policy based hints: []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerRequestCompressionInterceptor@f8395f from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerResponseDecompressionInterceptor@1381960 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderRequestDecompressionInterceptor@e99ce5 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderResponseCompressionInterceptor@1eb904d from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.internal.core.interceptor.CxfDecoratingInterceptor@1a503f from the list of valid interceptors.
09.12.2010 11:47:27 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
    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)
    at $Proxy154.reserveFlight(Unknown Source)
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:136)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
    at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
    at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:116)
    at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)
    at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)
    at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Remote service error
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.sendOutputMessage(NMROutputStream.java:102)
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.doClose(NMROutputStream.java:77)
    at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    ... 28 more
javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:142)
    at $Proxy154.reserveFlight(Unknown Source)
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:136)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
    at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
    at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:116)
    at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)
    at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)
    at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
    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)
    ... 22 more
Caused by: java.io.IOException: Remote service error
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.sendOutputMessage(NMROutputStream.java:102)
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.doClose(NMROutputStream.java:77)
    at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    ... 28 more
09.12.2010 11:47:27 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:119)
    at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:83)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:107)
    at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
    at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:116)
    at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)
    at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)
    at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:136)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
    ... 14 more
Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:142)
    at $Proxy154.reserveFlight(Unknown Source)
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:51)
    ... 20 more
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
    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)
    ... 22 more
Caused by: java.io.IOException: Remote service error
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.sendOutputMessage(NMROutputStream.java:102)
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.doClose(NMROutputStream.java:77)
    at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    ... 28 more
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyAssertionHintExtractor extractHints
WARNUNG: Couldn't extract hints from terminated (status == DONE) message exchange!
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Filtering the interceptors with the followng list of policy based hints: []
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerRequestCompressionInterceptor@f8395f from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ConsumerResponseDecompressionInterceptor@1381960 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderRequestDecompressionInterceptor@e99ce5 from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.plugins.compression.ProviderResponseCompressionInterceptor@1eb904d from the list of valid interceptors.
09.12.2010 11:47:27 org.eclipse.swordfish.plugins.planner.policy.PolicyBasedFilterStrategy filter
INFO: Dropped interceptor org.eclipse.swordfish.internal.core.interceptor.CxfDecoratingInterceptor@1a503f from the list of valid interceptors.
2010-12-09 11:47:27.573::WARN:  ERROR:  /FlightBooking_Service/
org.apache.cxf.interceptor.Fault: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:119)
    at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:83)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:107)
    at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
    at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:116)
    at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)
    at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)
    at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:136)
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
    ... 14 more
Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:142)
    at $Proxy154.reserveFlight(Unknown Source)
    at org.eclipse.swordfish.samples.flightbooking.FlightBookingImpl.bookFlight(FlightBookingImpl.java:51)
    ... 20 more
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
    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)
    ... 22 more
Caused by: java.io.IOException: Remote service error
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.sendOutputMessage(NMROutputStream.java:102)
    at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.doClose(NMROutputStream.java:77)
    at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167)
    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    ... 28 more


The endpoints of 'FlightReservation' and 'PaymentProcessing' are:

http://localhost:8198/FlightBooking_Service/
http://localhost:8197/PaymentProcessing_Service/

Sorry for the long message but I just thought I give u everything I get.
Thanks so much for your help.

Christian
Previous Topic:IWAB0135E An unexpected error has occurred. 500 javax.xml.ws.WebServiceException
Next Topic:Need help to implement Federated SOA using Swordfish
Goto Forum:
  


Current Time: Sat May 17 15:17:21 EDT 2025

Powered by FUDForum. Page generated in 0.04218 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top