zoukankan      html  css  js  c++  java
  • Intellj IDEA14上用Debug启动项目启动不了:Unable to open debugger port: java.net.SocketException "socket closed"

    01.jreber下启动

    02.报错信息

    03IDEA的Debug启动
    详情见上图更清晰


    15:11:10 Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:8080
    Disconnected from the target VM, address: '127.0.0.1:55965', transport: 'soc Unable to open debugger port: java.net.SocketException "socket closed"

    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
    ERROR: transport library not found: dt_shmem
    ERROR: JDWP Transport dt_shmem failed to initialize, TRANSPORT_LOAD(509)
    JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [../../../src/share/back/debugInit.c:750]
    Disconnected from server

    Error running NGCRM: Invalid arguments : Already listening [timeout, name]

    
    检查了,用dos命令:netstat -ano 
    看了没有占用那个端口,8080也没有。

    网上说要,重启电脑才可以重新运行debug模式运行项目(每次都是),因为是win10,有快速启动,所有暂时没有重启(问完就重启)。

    环境:win10x64,JBoss4.2.3,jdk1.6_31,IDEA14.1.4

    求解释,http://blog.csdn.net/cicada688/article/details/8549031
    这里说是JDK的bug,确实IDEA会配置jdk的启动参数,但是改不了。

    该故障是JVM远程debug存在的缺陷,只有在开启远程debug端口时才会出现;原因是由于接收到不符合JDWP协议的数据包,导致JVM崩溃。

    可能问题描述还不是很清晰,需提供其他截图请回复,谢谢。

    凌霄于16-03-10提问,问题暂时未解决。正在重启,昨晚无意重启可以Debugger运行项目

    初步断定:可能是有断点没去掉

    已解决:应该是有个文件的断点没去掉导致的问题,暂时是没事了,此问题一次终结吧。

  • 相关阅读:
    如何选择硅谷的IT公司
    NSDateFormatter设定日期格式
    内存映射文件
    double 转 int 的精度损失问题
    #ifndef #define 的用法
    How to improve the performance of MB5B
    Vendor Evaluation Questionair弹出空白页
    接受报价后创建合同,却无法弹出相应的合同类型
    SRM税务代码的决定逻辑
    How to improve the performance of MB51
  • 原文地址:https://www.cnblogs.com/jpfss/p/8865500.html
Copyright © 2011-2022 走看看