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

...

Anchortoptop

This article will show you how to configure Apache Geronimo v1.1 to run as a MS Windows service. A Java Service Wrapper (JSW) will be required as an additional software to achieve this configuration. Using a JSW gives you some additional "control" on the service you are configuring such as the ability to ping the service and take action if the service is down.

...

The wrapper configuration file is located in the <jsw_home>\conf directory. Backup the original file and create a new wrapper.conf file with the content from the following example.

...

Do a search and replace all, look for the <java_home>, <geronimo_home> and <jsw_home> wildcards and replace them to match your environment.

...

You can check the installation results in the <geronimo_home>\var\log\jsw.log file. You should see something similar to this:

...

...

Running the Apache Geronimo v1.1 service

...

You should see a confirmation message similar to this:

No FormatbgColor#000000borderStylesolid E:\JavaServiceWrapper\bin>net start Geronimo The Apache Geronimo v1.1 Server service is starting.. The Apache Geronimo v1.1 Server service was started successfully.

Note that Apache Geronimo may take a few moments to start even when you receive the message that the service has successfully started Geronimo may still be loading.

Check the <geronimo_home>\var\log\jsw.log to see if Geronimo is fully started, the last line in your log should be similar to this:

...

Alternatively, if you have installed a tail command in Windows you could run the following command to monitor the status.

...