Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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, ∼1058🔥, 0💬
Popular Posts:
Java Servlet API 4.0.1 Source Code Files are important if you want to compile them with different JD...
JDK 17 java.security.jgss.jmod is the JMOD file for JDK 17 Security JGSS (Java Generic Security Serv...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...