[jboss-jira] [JBoss JIRA] (WFCORE-1904) Enviroment variable DEBUG_PORT doesn't work with standalone.bat

Tomaz Cerar (JIRA) issues at jboss.org
Fri Oct 28 10:13:00 EDT 2016


Tomaz Cerar created WFCORE-1904:
-----------------------------------

             Summary: Enviroment variable DEBUG_PORT doesn't work with standalone.bat
                 Key: WFCORE-1904
                 URL: https://issues.jboss.org/browse/WFCORE-1904
             Project: WildFly Core
          Issue Type: Bug
          Components: Scripts
         Environment: windows
            Reporter: Tomaz Cerar
            Assignee: Tomaz Cerar
             Fix For: 3.0.0.Alpha11


This issue is blocked by JBEAP-5551 in 7.1.0.DR2. But I fixed standalone.conf.bat locally (I used fix from PR from JBEAP-5551) and port still can't be changed by env variable, see this example:
{noformat}
set DEBUG=true
set DEBUG_PORT=7878

C:\Users\Administrator\playground\7.1.0.DR2\jboss-eap-7.1\bin>standalone.bat
Calling "C:\Users\Administrator\playground\7.1.0.DR2\jboss-eap-7.1\bin\standalone.conf.bat"
Setting JAVA property to "C:\jdk1.8.0_45\bin\java"

===============================================================================
  JBoss Bootstrap Environment
  JBOSS_HOME: "C:\Users\Administrator\playground\7.1.0.DR2\jboss-eap-7.1"
  JAVA: "C:\jdk1.8.0_45\bin\java"
  JAVA_OPTS: "-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogF

ileSize=3M -Xloggc: -XX:-TraceClassUnloading -Dprogram.name=standalone.bat -Xms1G -Xmx1G -XX:MetaspaceSize=96M -XX:MaxMetaspaceSiz

e=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -agentlib:jdwp=transport=dt_socket,address=87

87,server=y,suspend=n"
===============================================================================
Listening for transport dt_socket at address: 8787
{noformat}
8787 port is used. 7878 port should be used in this example.



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jboss-jira mailing list