eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
369 stars 137 forks source link

`start-domain --debug=true` does not display port number #24956

Closed pzygielo closed 1 month ago

pzygielo commented 1 month ago

Environment Details


Problem Description

Currently:

$ ./glassfish7/glassfish/bin/asadmin start-domain --debug=true
Waiting for domain1 to start .........
Waiting finished after 8,630 ms.
Successfully started the domain : domain1
domain  Location: .../glassfish7/glassfish/domains/domain1
Log File: .../glassfish7/glassfish/domains/domain1/logs/server.log
Admin Port: 4,848
Command start-domain executed successfully.

and no port used for debugging is displayed.

Expected - per man page:

$ ./glassfish7/glassfish/bin/asadmin start-domain --help
...
       --debug, -d
...
           true
               The instance is started with JPDA debugging enabled and the
               port number for JPDA debugging is displayed.

to have port displayed.