Tuesday, March 04, 2008

Tomcat Debug in Eclipse

Tomcat can be started in non-debug mode, but in debug mode, it got error,

Transport dt_socket failed to initialize, rc = 509.

JAVA version = 1.4.2_16
JAVA_HOME = <>\j2sdk1.4.2_16\bin
IDE = Eclipse 3.2
Web Server = Tomcat 5.0.28

I solved this by copying the two dll files (dt_shmem.dll, dt_socket.dll) from "<>\j2sdk1.4.2_16\jre\bin" to "<>\j2sdk1.4.2_16\bin".

1 comment:

Vivek Jain said...

Yes dude its working,


But i want to know why this happen?