This content has been marked as final. Show 26 replies
Hi !I am also using linux / JDK_141 and am attempting to debug with Eclipse however, when I start Tomcat I get the following error:
Using Linux / JDK_141
I've got the same problem when trying to launch Tomcat
Server in debug mode from Eclipse 2.1 whith sysdeo 2.1
If someone knows, please help !
Transport dt_socket failed to initialize, rc = -1
<jdk14>/bin is in the path
Any other suggestions?
The reason is the same- the dt_socket library could not be located. Some of the other users succeeded by placing the %JAVA_HOME%\bin in their path, because the Java SDKs for Windows, version 1.3.1 or higher, include the dt_socket.dll and dt_shmem.dll.
Find where the dt_* libraries are located on your Linux distribution, and make sure that Eclipse starts the Tomcat server providing the PATH environment var that would list the location of the dt_* libs.
Stupid me....i got the same error while i tried to debug my project and tried ev'rything all of you suggested.
it didn't work out.....BUT finally i solved the problem.
Due to the fact that Eclipse uses the IP protocol in debug mode I disabled my firewall and guess what...i worked.. ;-)
maybe I could help some of you..
i am using weblogic 8.1 i am trying to install it but i am getting this error message on the console
Error  in bind() call!
err:: No such file or directory
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
ERROR: No transports initialized
please suggest any solution.
I am also facing the same problem. Your suggetion make solution to my problem very near. I am successfully started the server(JBoss) in the debug mode, After I put the my Eclipse (MyEclispe) in the debug mode and put some breake points. Ever it is not comming to debug in the eclispe.
I am trying from the Eclipse it self by createing new Remote Java Application
Project Name: Matrix1
Connection Type: Standard(Socket Attach)
Source : source
And In I configured JBoss 4 in the Preferences:
JBoss Server Enable: yes
Home Directory: C:\jboss-4.0.2
Server Name: Default
Optional Program Arguments: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000, server=y, suspend=n
Optional Shutdown Arguments: --shotdown
Home: java home directory
I am not specifying any arguments.
Launch � Debug mode.
I am facing somuch problem lake of this. It is taking so much time to locate the bug manually. At present, I am working on bug fixing in EJB and Web project.
Could you please help me .
Thanks and Regards,
I encountered the same problem. My environment is:
JAVA version = 1.4.2_13
JAVA_HOME = C:\j2sdk1.4.2_13\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 "C:\j2sdk1.4.2_13\jre\bin" to "C:\j2sdk1.4.2_13\bin".
Hope it is helpful.