Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar}

Starting and stopping Geronimo via console

There are a few command line alternatives to start the server. From a command line window or terminal change directory to <geronimo_home>/bin. From there you can either type:

java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -jar bin/server.jar or simply startup

or

and run startup or geronimo run or geronimo start command. Refer to the Startup and Geronimo from the Tools and commands section for all the options for this commandthese commands.

To stop the server you will have to open a new command line window or terminal, change directory to <geronimo_home>/bin and run the shutdown command. You will be prompted for username and password. Alternatively you can press Ctrl+C on the terminal that Geronimo is running to kill the process. Refer to the Shutdown and Geronimo from the Tools and commands section for the available options for this commandthese commands.

If the server is already running you have the option of using the Introducing Geronimo Administration Console to shutdown the server remotely. With the server up and running open a Web browser and point to the following URL to access the console:

http://localhost:8080/consoleImage Removed

Log in to the Geronimo Administration Console and click on Image Removed Server > Shutdown on the Console Navigation menul menu on the left.

Image RemovedImage Added

When you click on the Shutdown button in the Server Manager portlet, you will be prompted one more time to confirm the server shutdown. Click OK to confirm and shutdown the server. No need to mention that the The connection from the Administration Console will be lost and you will need to restart the server from a terminal or command line window.