Skip to content

Documentation for --server-output, plus fixes after testing#25807

Merged
arjantijms merged 5 commits into
eclipse-ee4j:masterfrom
dmatej:restartdocs
Nov 28, 2025
Merged

Documentation for --server-output, plus fixes after testing#25807
arjantijms merged 5 commits into
eclipse-ee4j:masterfrom
dmatej:restartdocs

Conversation

@dmatej
Copy link
Copy Markdown
Contributor

@dmatej dmatej commented Nov 28, 2025

  • Refactoring around GFLauncher and both children
  • Fixed printing output for restart-domain
  • Fixed links to JPDA
  • Improved output of start/restart commands
    • ie. Konsole in KDE now allows to click directly on the admin endpoint link and open it in a default browser
  • I did not document other parameters added in More flexibility to control server start #25790 , because it is not much safe to use them as I tried locally and on Windows machines. They might be useful sometimes, however, ie. when we start docker container, and we don't care about the admin port, just about PID. However there we would still use rather start-serv ... it depends, because sometimes I am restarting domain in container, and in such case I prefer asadmin. We have pretty flexible monster ;-)
/usr/lib/jvm/jdk25/bin/java ./glassfish7/bin/asadmin.java restart-domain 
Server is not running, will attempt to start it...
Waiting until start of domain domain1 completes.. ... finished after 1446 ms.

Successfully started the domain domain1.
  Location: /app/appservers/glassfish7/glassfish/domains/domain1
  Log File: /app/appservers/glassfish7/glassfish/domains/domain1/logs/server.log
  The pid file /app/appservers/glassfish7/glassfish/domains/domain1/config/pid contains pid 2462207.
  Process with pid 2462207 is alive
  Admin Endpoints:
    http://localhost:4848 is reachable.

Command restart-domain executed successfully.

- Some user messages moved to later phase so user would not miss them
- Better separation of server and embedded, now I can see what is not
  supported by embedded's launcher
- Improved user output.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- other are rather experimental, so I will not document them for now

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej added this to the 7.1.0 milestone Nov 28, 2025
@dmatej dmatej requested a review from a team November 28, 2025 01:13
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@arjantijms arjantijms merged commit 3dc52fb into eclipse-ee4j:master Nov 28, 2025
2 checks passed
@arjantijms arjantijms deleted the restartdocs branch November 28, 2025 13:16
Comment thread docs/reference-manual/src/main/asciidoc/copy-config.adoc
bvfalcon pushed a commit to bvfalcon/eclipse-glassfish that referenced this pull request Apr 25, 2026
Documentation for --server-output, plus fixes after testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants