dcsimg
Debugging JSPs, when LAN Cable Plugged...
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kasra_R
Posted On:   Wednesday, February 2, 2005 02:53 AM

Hi, I have a problem with Borland JBuilder. When I want to run my web application (JSP/Struts) in debug mode and the local area network cable is pluged it raises this error: -- Cannot start Java debug process VM -- com.sun.jdi.connect.VMStartException: VM initialization failed for: C:BorlandJBuilder2005jdk1.4 injavaw -classpath "C:BorlandJBuilder2005 hirdpartyjakarta-tomcat-5.0.27 in ootstrap.jar;C:BorlandJBuilder2005jdk1.4lib ools.jar" "-Dcatalina.home=C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_soc   More>>

Hi,



I have a problem with Borland JBuilder.

When I want to run my web application (JSP/Struts) in debug mode and the local
area network cable is pluged it raises this error:



-- Cannot start Java debug process VM --



com.sun.jdi.connect.VMStartException: VM initialization failed for:
C:BorlandJBuilder2005jdk1.4 injavaw -classpath
"C:BorlandJBuilder2005 hirdpartyjakarta-tomcat-5.0.27 in ootstrap.jar;C:BorlandJBuilder2005jdk1.4lib ools.jar"
"-Dcatalina.home=C:/Borland/JBuilder2005/thirdparty/jakarta-tomcat-5.0.27"
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=Kasra-Notebook:2445,suspend=y
org.apache.catalina.startup.Bootstrap -config
C:Projects harfnegarDataPayBillTomcatconfserver8080.xml start

err:: No such file or directory

Error [2] in connect() call!

Socket transport failed to init.

Transport dt_socket failed to initialize, rc = -1.



Also it has not any problem when the local area network cable is unpluged.

Can you help me ?



Best Regards,

Kasra


 

   <<Less

Re: Debugging JSPs, when LAN Cable Plugged...

Posted By:   Filip_Hanik  
Posted On:   Saturday, April 23, 2005 10:47 AM

the new jbuilder will try to bind to a host, and if that host doesn't resolve to your localhost, then you need to add it in /etc/hosts or /windows/system32/drivers/etc/hosts

for example, jbuilder will do this

-Xrunjdwp:transport=dt_socket,address=fedora2.domain.com:33195,suspend=y

in this case, fedora2.domain.com must resolve to 127.0.0.1 or your machines IP

Re: Debugging JSPs, when LAN Cable Plugged...

Posted By:   Anonymous  
Posted On:   Sunday, March 13, 2005 05:48 AM

Did you ever resolve this problem. My computer is suffering from the same problem. It has just come on.

Removing the network cable does not make any difference on my machine.

Regards Mark
About | Sitemap | Contact