tomcat webservice and jboss esb problem
vishal12345 Sep 20, 2008 2:03 AMhi !
i have a web service axis2 web service configured on tomcat 6.0.16 and i have plugged that in to ESB using action
<action name="convertPOJO2Message" class="com.nativetung.soa.esb.actions.TMPojoToMessage" /> <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient"> <!-- "http://127.0.0.1:8080/Quickstart_webservice_consumer1/HelloWorldWS?wsdl" --> <property name="wsdl" value="http://127.0.0.1:8084/axis2/services/LipikEngine1WS?wsdl" /> <property name="responseAsOgnlMap" value="true" /> <property name="SOAPAction" value="translate"/> </action>
problem is when i deploy the esb on jboss and run it rest of the partworks fine except the Webservice invocation i get following error
10:53:57,843 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 10:53:57,843 INFO [HttpMethodDirector] Retrying request 10:53:58,828 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 10:53:58,828 INFO [HttpMethodDirector] Retrying request 10:53:59,812 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 10:53:59,812 INFO [HttpMethodDirector] Retrying request 10:54:00,906 WARN [ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/nt_tmanager/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: 3ddcf116-5134-4a8c-a8ab-2454ca207bc7 RelatesTo: jms:correlationID#3ddcf116-5134-4a8c-a8ab-2454ca207bc7 ] org.jboss.soa.esb.actions.ActionProcessingException: Failed to invoke SOAP Endpoint: 'http://127.0.0.1:80/axis2/services/LipikEngine1WS.LipikEngine1WSHttpSoap11Endpoint ' - 'translate'. at org.jboss.soa.esb.actions.soap.SOAPClient.invokeEndpoint(SOAPClient.java:443) at org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:395) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316) at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused: connect at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source) at org.apache.commons.httpclient.HttpConnection.open(Unknown Source) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) at org.jboss.soa.esb.actions.soap.SOAPClient.invokeEndpoint(SOAPClient.java:435) ... 6 more
what can be reason ?
i have run this code once successfully but later i tried making a very simple change and which i deleted back but i continued getting this error
please help needed !