remote tomcat debugging and 2151

When I try to do remote debugging on tomcat process (using sockets, attach mode) I run into following exception:

java.lang.Error: no Connectors loaded
at com.sun.tools.jdi.VirtualMachineManagerImpl.]]>(VirtualMachineManagerImpl.java:106)
at com.sun.jdi.Bootstrap.virtualMachineManager(Bootstrap.java:32)
at com.intellij.debugger.c.h.d(h.java:155)
at com.intellij.debugger.c.h.a(h.java:262)
at com.intellij.debugger.c.h.access$800(h.java:184)
at com.intellij.debugger.c.h$13.e(h$13.java:3)
at com.intellij.debugger.c.c.a.f(a.java:3)
at com.intellij.debugger.c.t.a(t.java:85)
at com.intellij.debugger.e.h.d(h.java:32)
at com.intellij.debugger.e.h$1.run(h$1.java:1)

0
9 comments
Avatar
Permanently deleted user

The problem is in your JDK installation. Debugger cannot find any connectors for remote connection. If you're using Mac, you should install additional packages to be able to debug.

0
Avatar
Permanently deleted user

thanks, I was using JDK 1.5. I know you guys don't support 1.5, but any idea how can I do this?

thanks

0
Avatar
Permanently deleted user

Is T using 1.5 now ;-)]]>

Jacques

0
Avatar
Permanently deleted user

I was able to debug with 1.5 beta1

0
Avatar
Permanently deleted user

what does your JRE look like? I just copied the JRE as it from the JDK installation and made sure that rt.jar and tools.jar are in the lib dir.

Also I am using JDK 1.5 Beta 2

thanks

0
Avatar
Permanently deleted user

I've just installed Beta2 and tryed to debug. No problems at all either with local or remote debugging.

Then I copied JRE to another dir and tryed to debug remotely with JRE, again no problem.

I think you should try to reinstall JRE and use installation dir, without copying JRE.

0
Avatar
Permanently deleted user

I guess Vinay was trying to run IDEA itself under JDK 1.5. I've seen this exact same problem when I tried to do that. Just sighed and got back to 1.4 ;)

0
Avatar
Permanently deleted user

that's right. I am trying to run IDEA under jdk 1.5 moved back to using jdk 1.4. I was interested in seeing how the footprint works with the 1.5 CDS feature when tomcat, smartcvs and idea are all running under 1.5

0
Avatar
Permanently deleted user

Ah! I see. You may ran your applications under jdk 1.5, but not IDEA itself.

0

Please sign in to leave a comment.