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, 469🔥, 0💬
Popular Posts:
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...