Description of problem: debug port in jbossas-7.0 and jbossews-1.0 , jbosseap-6.0 ,jbossews-2.0 doesn't work sometimes Version-Release number of selected component (if applicable): devenv_3262 STG(2.0.27.2) rhc 1.8.9 How reproducible: sometimes Steps to Reproduce: 1. rhc app create app1 jbossas-7 2. touch app1/.openshift/markers/enabled_jpda 3. git push 4. ssh <app> 5. env | grep 127, get the <internal-127-ip-of-app> 6. jdb -attach <internal-127-ip-of-app>:8787 Actual results: 6. [app3-hcx.stg.rhcloud.com 519daa88dbd93c0eba00001c]\> jdb -attach 127.11.153.1:8787 java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:222) at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:116) at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:90) at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:519) at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:328) at com.sun.tools.example.debug.tty.Env.init(Env.java:63) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1066) Fatal error: Unable to attach to target VM. [app3-hcx.stg.rhcloud.com 519daa88dbd93c0eba00001c]\> Expected results: can input some command(eg:suspend) Additional info:
Between steps 2 and 3 shouldn't you have done a "git add" and a "git commit" for the enabled_jpda marker file? Could this explain the problem?
The marker is "enable_jpda" not "enabled_jpda"
(In reply to Thomas Wiest from comment #1) > Between steps 2 and 3 shouldn't you have done a "git add" and a "git commit" > for the enabled_jpda marker file? > > Could this explain the problem? I used "git add ." and βgit comment -a -m 'my comments'" before "git push"
(In reply to Bill DeCoste from comment #2) > The marker is "enable_jpda" not "enabled_jpda" I used "enable_jpda" when testing, but wrote "enabled_jpda" when filing a bug, sorry for my mistake,but I use "enable_jpda" indeed.
Verified in STG(2.0.27.2)