zoukankan      html  css  js  c++  java
  • Linux环境下weblogic12开启远程debug端口

    转发自https://blog.csdn.net/jayson1001/article/details/105967727/

    在使用weblogic12部署应用测试中遇到一些奇葩问题,除了查看日志可能就需要使用debug模式来跟下代码结果了,记录下weblogic12开启debug端口的配置。

    首先找到部署目录domain下的bin/setDomainEnv.sh文件,找到如下代码修改如下,删除两行if语句:

    if [ "${DEBUG_PORT}" = "" ] ; then--删除
    DEBUG_PORT="8453"
    export DEBUG_PORT
    fi--删除
    找到export JAVA_DEBUG一行,加入如下代码:

    if ["%DEBUG_PORT%"=="" ] ; then
    debugFlag=false
    export debugFlag

    else
    debugFlag=true
    export debugFlag

    fi
    重启domain,在启动日志中能看到Listening for transport dt_socket at address: 8453就表明端口开启成功,可以使用idea或者其他工具debug了。

    centos 中在vim 编辑配置文件时,需要粘贴外部文本,进入编辑模式后,按鼠标右键,即可粘贴

  • 相关阅读:
    JNUOJ 1187
    JNUOJ 1184
    HDU 4848
    HDU 4849
    哈夫曼树和哈弗曼编码小记
    HDU 5726
    POJ 3368 & UVA 11235
    2016江苏省CPC省赛 I
    POJ 3928
    POJ 3067
  • 原文地址:https://www.cnblogs.com/liuzhenguo/p/12919076.html
Copyright © 2011-2022 走看看