Start and Stop Glassfish 4 Server
How to start and stop the Glassfish 4 server? I have it installed as part of Java EE 7 SDK.
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 7 or 8 installed.
2. Make sure you have Java EE SDK 7.
3. To start the Glassfish server:
>\fyicenter\glassfish4\bin\asadmin start-domain Waiting for domain1 to start .............................. Successfully started the domain : domain1 domain Location: \fyicenter\glassfish4\glassfish\domains\domain1 Log File: \fyicenter\glassfish4\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:
>\fyicenter\glassfish4\bin\asadmin stop-domain Waiting for the domain to stop . Command stop-domain executed successfully.
2018-02-08, 919🔥, 0💬
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
Apache Ant Source Code Files are inside the Apache Ant source package file like apache-ant-1.10.10-s...