"Cannot connect to VM" when trying to Debug [message #300403] |
Wed, 08 March 2006 16:22 |
Eclipse User |
|
|
|
Originally posted by: e0326320.student.tuwien.ac.at
I use winXP, SP2, Eclipse 3.1.1, JDK1.5.0_06, JRE1.5.0_06.
Everything worked fine until a few days ago:
If i want to Debug a (local) Java Application i get the Message "Cannot
connect to VM" when i hit dem "Debug"-Button!!!
I tried with Eclipse 3.0 but there i have the same Problem. In Eclipse 3.0 i
get also an Stack-Trace:
>> Cannot connect to VM
>> java.net.BindException: Address already in use: JVM_Bind
>> java.net.PlainSocketImpl.socketBind(Native Method)
>> java.net.PlainSocketImpl.bind(Unknown Source)
>> java.net.ServerSocket.bind(Unknown Source)
>> java.net.ServerSocket.<init>(Unknown Source)
>> java.net.ServerSocket.<init>(Unknown Source)
>> org.eclipse.jdi.internal.connect.SocketTransportImpl.listen( SocketTransportImpl.java:56)
>> org.eclipse.jdi.internal.connect.SocketListeningConnectorImp l.startListening(SocketListeningConnectorImpl.java:103)
>> org.eclipse.jdt.internal.launching.StandardVMDebugger.run(St andardVMDebugger.java:196)
>> org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunc hConfigurationDelegate.launch(JavaLocalApplicationLaunchConf igurationDelegate.java:109)
>> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
>> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:788)
>> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:955)
>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
I didn't change any settings concerning windows, eclipse or java. I have no
Firewall installed, except the WinXP-SP2-Firewall. But also when it is not
active the error occours.
I have no idea why there should be an "Address already in use"....this
Problem is annoying...i hope someone can help me!! Otherwise i have to
reinstall my entire system.
Franz-Stefan
|
|
|
|
Re: "Cannot connect to VM" when trying to Debug [message #300558 is a reply to message #300472] |
Sun, 12 March 2006 11:39 |
Eclipse User |
|
|
|
Originally posted by: e0326320.student.tuwien.ac.at
> have you tried another port for remote debug already?
No. I didn't know that i can do that and i don't know how i can do that, so:
how can i do that?
Now i noticed that the Help of my Eclipse is also not working. If i want to
run the Help->Help Contents i get an error "Help cannot be displayed. The
embeded application server could not run help web application. Check the log
for details.". I suppose that this error is is related to my "Cannot connect
to VM"-Error....
Franz-Stefan
>
> Vera
>
> Franz-Stefan Preiss wrote:
>> I use winXP, SP2, Eclipse 3.1.1, JDK1.5.0_06, JRE1.5.0_06.
>> Everything worked fine until a few days ago:
>> If i want to Debug a (local) Java Application i get the Message "Cannot
>> connect to VM" when i hit dem "Debug"-Button!!!
>>
>> I tried with Eclipse 3.0 but there i have the same Problem. In Eclipse
>> 3.0 i get also an Stack-Trace:
>>
>>>>Cannot connect to VM
>>>>java.net.BindException: Address already in use: JVM_Bind
>>>>java.net.PlainSocketImpl.socketBind(Native Method)
>>>>java.net.PlainSocketImpl.bind(Unknown Source)
>>>>java.net.ServerSocket.bind(Unknown Source)
>>>>java.net.ServerSocket.<init>(Unknown Source)
>>>>java.net.ServerSocket.<init>(Unknown Source)
>>>> org.eclipse.jdi.internal.connect.SocketTransportImpl.listen( SocketTransportImpl.java:56)
>>>> org.eclipse.jdi.internal.connect.SocketListeningConnectorImp l.startListening(SocketListeningConnectorImpl.java:103)
>>>> org.eclipse.jdt.internal.launching.StandardVMDebugger.run(St andardVMDebugger.java:196)
>>>> org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunc hConfigurationDelegate.launch(JavaLocalApplicationLaunchConf igurationDelegate.java:109)
>>>> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
>>>> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:788)
>>>> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:955)
>>>>org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>>
>>
>>
>> I didn't change any settings concerning windows, eclipse or java. I have
>> no Firewall installed, except the WinXP-SP2-Firewall. But also when it is
>> not active the error occours.
>> I have no idea why there should be an "Address already in use"....this
>> Problem is annoying...i hope someone can help me!! Otherwise i have to
>> reinstall my entire system.
>>
>> Franz-Stefan
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05277 seconds