Transport dt_socket failed to initialize, rc = 509

错误说明:用JbuilderX编译工程,运行没有问题,debug调试就出现错误。记得前几天还好好的啊。奇怪?~!!

折磨了我好几天。错误如下。

错误现象:

-- Cannot start Java debug process VM --
com.sun.jdi.connect.VMStartException: VM initialization failed for: C:/JBuilderX/jdk1.4/bin/javaw -classpath "C:/JBuilderX/thirdparty/jakarta-tomcat-4.0.6-LE-jdk14/bin/bootstrap.jar;C:/JBuilderX/jdk1.4/lib/tools.jar"  -Dcatalina.home="C:/JBuilderX/thirdparty/jakarta-tomcat-4.0.6-LE-jdk14"  -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=sensky-200:1076,suspend=y org.apache.catalina.startup.Bootstrap -config D:/Project/ResourceManage/Tomcat/conf/server8083.xml start
Transport dt_socket failed to initialize, rc = 509.

查了半天资料,大部分文章都说是Path中java.exe的路径与Jbuilder中的启动程序路径不同造成的。

检查了一下,没错啊。就是这么设置的啊。还是不行。

后来干脆把Path变量中的jdk路径删除,ok了。

原来,前几天,为了手动编译单个java文件方便,把jdk的bin目录加到了path中,结果,脱裤子放屁,多此一举。提示大家注意。

另外,安装jre5以后,它可能会自动把它的bin目录加到path中,注意。

时间: 2024-09-25 05:19:33

Transport dt_socket failed to initialize, rc = 509的相关文章

Eclipse远程调试出现“JDWP Transport dt_socket failed to initialize”如何解决

工作中经常需要使用Eclipse远程连接Tomcat,调试Web应用程序. eclipse远程调试Tomcat方法 1.Linux中配置tomcat在catalina.sh中添加如下 CATALINA_OPTS="-Xdebug  -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"(不要换行,要在同一行) 2.Window中修改 catalina,bat文件,添加: Set  "CATALINA_OPT

MySQL主从配置提示Failed to initialize the master info structure错误

大清早收到一个MySQL的自定义语言告警 :replication interrupt,看来是主从同步报错了. 登陆MySQL,执行 show slave status \G 发现salve已经停止了,于是使用 start slave启动,结果有如下报错: ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MySQL error log 搜

DRP问题集结(二)---【Error】JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["ht

              问题一:  Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory           问题二:[Error]JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]           问题三:The APR based Ap

DDMS报错:Failed to initialize Monitor Thread: ......

    晚上做了个Demo准备用手机调试一下看看效果,结果运行Android程序时,DDMS却给出了这样的错误: Failed to initialize Monitor Thread: Unable to establish loopback connection 此时控制台也不停的输出: [2014-02-04 21:54:14 - DeviceMonitor] Connection attempts: 1 [2014-02-04 21:54:15 - DeviceMonitor] Conn

Running as a packaged application--- -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n

19.2 Running as a packaged application If you use the Spring Boot Maven or Gradle plugins to create an executable jar you can run your application using java -jar. For example: $ java -jar target/myproject-0.0.1-SNAPSHOT.jar It is also possible to ru

Fatal error: session_start(): Failed to initialize storage module: files问题解决方法_php技巧

之前编译安装的LNMP环境+phpmyamdin4.02的版本,今天突然出现这个问题: 复制代码 代码如下: Fatal error: session_start(): Failed to initialize storage module: files (path: ) in /data/www/phpmyadmin/libraries/session.inc.php on line 83 大致意思是session会话初始化的时候储存路径有误!第一反应就是查看php.ini的配置文件中的: 复

Fatal error: session_start(): Failed to initialize storage module:

原创解决: Fatal error: session_start(): Failed to initialize storage module: files问题 之前编译安装的LNMP环境+phpmyamdin4.02的版本,今天突然出现这个问题: Fatal error: session_start(): Failed to initialize storage module: files (path: ) in /data/www/phpmyadmin/libraries/session.i

ADB启动问题(Failed to initialize Monitor Thread: Unable to..)解决办法

重装了系统,再用ADT(adt-bunlde-windows),总会出现ddms初始化错误,logcat也无法获取log,报错信息为: Failed to initialize Monitor Thread: Unable to establish loopback connection 后来发现实际问题是无法启动adb进程,在命令行使用adb devices 就会有下面的报错信息: * daemon not running. starting it now on port 5037 * ADB

php Fatal error: session_start(): Failed to initialize storage module: files

原创解决: Fatal error: session_start(): Failed to initialize storage module: files问题 之前编译安装的LNMP环境+phpmyamdin4.02的版本,今天突然出现这个问题: Fatal error: session_start(): Failed to initialize storage module: files (path: ) in /data/www/phpmyadmin/libraries/session.i