16 years ago
Getting ConnectException from NetbeansPlugin, works in standalone
I have tried this with several permutations of the following components, and am getting a failure:
Netbeans 6.7.1
Netbeans 6.8m2
Netbeans 6.8Beta
SoapUI Netbeans Module 2.5.1
SoapUI Netbeans Module 3.0
I have a webservice running under Glassfish 2.1 bundled with Netbeans 6.7.1.
When trying to send to an endpoint defined as
http://localhost:20080/foo/bar/WebService:
If I send from the Netbeans module, the webservice is never hit, and I get an exception trace:
Thu Nov 12 13:03:57 MST 2009:ERROR:java.lang.Exception: java.net.ConnectException: Connection refused: connect
java.lang.Exception: java.net.ConnectException: Connection refused: connect
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:158)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:240)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1401)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:153)
... 7 more
However, if I open the same project in the Standalone UI (3.0.1), and open the same testcase, and use the same URL, the call succeeds.
Is there some way I can debug this to see what is going on and figure out what's not working in the netbeans module?
Thanks.
Netbeans 6.7.1
Netbeans 6.8m2
Netbeans 6.8Beta
SoapUI Netbeans Module 2.5.1
SoapUI Netbeans Module 3.0
I have a webservice running under Glassfish 2.1 bundled with Netbeans 6.7.1.
When trying to send to an endpoint defined as
http://localhost:20080/foo/bar/WebService:
If I send from the Netbeans module, the webservice is never hit, and I get an exception trace:
Thu Nov 12 13:03:57 MST 2009:ERROR:java.lang.Exception: java.net.ConnectException: Connection refused: connect
java.lang.Exception: java.net.ConnectException: Connection refused: connect
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:158)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.
at java.net.Socket.
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1401)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:153)
... 7 more
However, if I open the same project in the Standalone UI (3.0.1), and open the same testcase, and use the same URL, the call succeeds.
Is there some way I can debug this to see what is going on and figure out what's not working in the netbeans module?
Thanks.