Error in jetty setup : Failed to connect to remote VM. Connection refused. Connection refused: connect ?
Hello,
I am trying Jetty server setup on CLM 6.0.1 which is installed on WAS 8.5.5. I have successfully completed WorskshopSetup and now stuck on the debug step with the error "Failed to connect to remote VM. Connection refused. Connection refused: connect" "java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376) at java.net.Socket.connect(Socket.java:546) at java.net.Socket.connect(Socket.java:495) at java.net.Socket.<init>(Socket.java:392) at java.net.Socket.<init>(Socket.java:203) at org.eclipse.jdi.internal.connect.SocketTransportService$2.run(SocketTransportService.java:136) at java.lang.Thread.run(Thread.java:767)" Any solution for this error ? Thanks |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 04 '16, 3:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 04 '16, 3:16 a.m.
This question does not make a lot of sense to me.
Please provide the step in the workshop you are stuck. If you are talking about launching a Jetty based development server, I would expect more log information. If you are trying to connect remotely to WAS to debug an extension, the workshop is basically done for Tomcat and the same steps work with WAS Liberty and there is no notion of any other WAS app server based debug in it. Debugging might or might not work with the description with a full WAS (I doubt it), in any case the changes to the server.startup.bat that are described in the workshop would have to be done in the WAS Admin console. I would suggest you follow the workshop closely. Since there is no description for 6.0.1 yet, here what I have seen with WAS liberty in 6.0.1: You can basically follow the Tomcat description and replace Tomcat with WAS liberty and it works. Comments I am stuck on this step - Test connecting the Eclipse debugger to Tomcat
There is no description for doing this with WAS, so you will have to find out for yourself.
Note that by adding the parameters in steps 1.3_12 you define which debug port to use - as described in the notes marked as "Trouble shooting".
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.