Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Start and Stop Glassfish 5 Server
How to start and stop the Glassfish 5 server? I have it installed as part of Java EE 8 SDK.
✍: FYIcenter
You can use the "asadmin" tool in Java EE SDK to start and stop
the Glassfish server in a command window as descriped below:
1. Make sure you have Java SE JDK 8 installed.
2. Make sure you have Java EE SDK 8.
3. To start the Glassfish server:
C:\>set AS_JAVA=\fyicenter\jdk-1.8.0 C:\>\fyicenter\glassfish5\bin\asadmin start-domain Waiting for domain1 to start .............................. Successfully started the domain : domain1 domain Location: C:\fyicenter\glassfish5\glassfish\domains\domain1 Log File: C:\fyicenter\glassfish5\glassfish\domains\domain1\logs\server.log Admin Port: 4848 Command start-domain executed successfully.
By default, Glassfish is starting with "domain1" at port 4848.
2. To stop the Glassfish server:
C:>\fyicenter\glassfish5\bin\asadmin stop-domain Waiting for the domain to stop . Command stop-domain executed successfully.
⇒ Download and Install Java EE 7 SDK
2023-02-19, 563🔥, 0💬
Popular Posts:
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....