You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Fizal <mo...@jpmchase.com> on 2006/07/09 21:44:37 UTC
http-binding not working
I'm new to ServiceMix. I recently downloaded "apache-servicemix-3.0-M2" and
was trying the http-binding under /examples directory. I started the http
server using the command "../../bin/servicemix servicemix.xml" and following
was the log I found
----------------------------------------------------------------------------------------------------------------------------------
Apache ServiceMix ESB: 3.0-M2-incubating
Loading Apache ServiceMix from file: servicemix.xml
Created MBeanServer with ID: 1490eb5:10c54cd2c29:-8000:L0ATW01H05G291:1
RMIConnectorServer started at:
service:jmx:rmi://l0atw01h05g291/jndi/rmi://localhost:1099/jmxrmi
INFO - JBIContainer - Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with service: null
component: org.apache.servicemix.jbi.nmr.SubscriptionManager@3aff84
INFO - ComponentMBeanImpl - Initializing component:
#SubscriptionManager#
INFO - DeploymentService - Restoring service assemblies
INFO - JBIContainer - ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0-M2-inc
ubating
INFO - JBIContainer - Activating component for:
[container=ServiceMix,name=httpReceiver] with service: {http://servi
cemix.org/demo/}httpBinding component:
org.apache.servicemix.components.http.HttpConnector@1fc1a6
INFO - ComponentMBeanImpl - Initializing component:
httpReceiver
INFO - log - Logging to
org.slf4j.impl.JCLLoggerAdapter@b1a4e2 via org.mortbay.log.Slf4jLog
INFO - JBIContainer - Activating component for:
[container=ServiceMix,name=stockQuote] with service: {http://service
mix.org/demo/}stockQuote component:
org.apache.servicemix.components.saaj.SaajBinding@9903f4
INFO - ComponentMBeanImpl - Initializing component: stockQuote
INFO - log - jetty 6.0.0beta17
INFO - log - Started SocketConnector @
localhost:8912
----------------------------------------------------------------------------------------------------------------------------------
But the problem is, when I start the http client using the command ant, it
just freezes forever with the following lines in the log
----------------------------------------------------------------------------------------------------------------------------------
15:41:01,532 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: MessageExchange[
id: ID:L0ATW01H05G291-4946-1152473967978-1:0
status: Active
role: consumer
service: {http://servicemix.org/demo/}stockQuote
in: <?xml version="1.0" encoding="UTF-8"?>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
15:41:01,542 | DEBUG | btpool0-1 | DefaultBroker |
rvicemix.jbi.nmr.DefaultBroker 390 | Routing exchange MessageExchange[
id: ID:L0ATW01H05G291-4946-1152473967978-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}stockQuote
endpoint: stockQuote
in: <?xml version="1.0" encoding="UTF-8"?>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
] to:
ServiceEndpoint[service={http://servicemix.org/demo/}stockQuote,endpoint=stockQuote]
15:41:01,542 | DEBUG | btpool0-1 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
15:41:01,562 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 703 | Waiting for exchange
ID:L0ATW01H05G291-4946-1152473967978-1:0 (19518cc) to be answered in
DeliveryChannel{httpReceiver} from sendSync
15:41:01,562 | DEBUG | Thread-9 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@940b84 dequeued
exchange: MessageExchange[
id: ID:L0ATW01H05G291-4946-1152473967978-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}stockQuote
endpoint: stockQuote
in: <?xml version="1.0" encoding="UTF-8"?>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
15:41:01,562 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange:
MessageExchange[
id: ID:L0ATW01H05G291-4946-1152473967978-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}stockQuote
endpoint: stockQuote
in: <?xml version="1.0" encoding="UTF-8"?>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
15:41:01,562 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 613 | Received: MessageExchange[
id: ID:L0ATW01H05G291-4946-1152473967978-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}stockQuote
endpoint: stockQuote
in: <?xml version="1.0" encoding="UTF-8"?>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
15:41:02,293 | DEBUG | Thread-9 | SaajBinding |
ix.components.saaj.SaajBinding 101 | <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
</soapenv:Body>
</soapenv:Envelope>
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I tried to access the url http://localhost:8912 via the browser, which again
takes forever but returns nothing. It'd be great if someone could help me on
this. BTW, I'm running Servicemix on JDK 1.4.2.
--
View this message in context: http://www.nabble.com/http-binding-not-working-tf1915135.html#a5242977
Sent from the ServiceMix - User forum at Nabble.com.