Hi please send mail to [EMAIL PROTECTED] Thanks and regards Amol
Hi, I am getting the following error while attaching jdb with a process. I use the following syntax jdb -attach [processid] I am using JDK1.2.2 of blackdown on RedHatLinux7.0 . java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:313) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) at java.net.Socket.<init>(Socket.java:269) at java.net.Socket.<init>(Socket.java:98) at com.sun.tools.jdi.SocketTransport.attach(SocketTransport.java:60) at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:79) at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:279) at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:127) at com.sun.tools.example.debug.tty.Env.init(Env.java:61) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:875) Fatal error: Unable to attach to target VM. Also i find that jdb doesnt wok on RedHatLinux7.0 any reason for this or is this abug . I use the following syntax jdb [classfile name] After this it gives Initializing jdb... > On prompt i type run and hit enter. After that i see nothing. The jdb hungs. I am using JDK1.2.2 of blackdown on RedHatLinux7.0