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, 418🔥, 0💬
Popular Posts:
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
Apache Log4j Core Implementation provides the functional components of the logging system. Users are...
Swingx is the SwingLabs Swing Component Extensions. JAR File Size and Download Location: File name: ...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...