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.
I got the same problem with rc=509, in Windows XP environment using Java 1.4.2. I solved the problem by putting <java_home>/jre/bin as the first entry in my PATH. With only <java_home>/bin in my path I encountered the mentioned problem.
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..
Just for the record, I got the same problem when I installed Java 5, but wanted to run Tomcat using 1.4.2.
The fix was simply to change the catalina.bat file to explicitly set the path to find where 1.4.2 was installed as well as the path to dt_socket.dll.
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 guess you should set up all the options. Listed below is an example.
The port 3333 is probably in use by another program. Try changing the portnumber.
I had the same issue and found the resolution in this thread...the problem is gone once I remove the debug port; pls suggest how to add the same port again since it is configured in my IDE for remote debugging
yeap, copying files into system directory or/else setting the path does solve this problem.
i traced it with the io spy. it seems to occur when multiple JVMs are installed
thanks to whoever observed this first and posted.
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.