geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Weberhofer, Weberhofer GmbH" <>
Subject Running Apache with the "Apache Commons Daemon" under Microsoft Windows
Date Thu, 21 Jan 2010 15:17:05 GMT

I have been investigating a problem deploying an Application onto a Geronimo 2.1 or 2.2 Server
on a Windows System using the "Apache Commons Daemon". The issue was, that I regularly got
PermGenSpace errors.  Following the guides, I added "-XX:MaxPermSize=256m" to geronimosrvw.exe's
"Java Options". However, I tried many things, but didn't succeed;

After some time I found the issues (and a
related? bug, which are the reason for that

Geronimo should - in my optinion - be started in "Java"-Mode. In Java (and the currently used
exe-Mode) it is necessary to add all important options directly into the "start up"-"arguments"
fields before the "-jar" line, which should be noticed in the Wiki.

That solved the PermGenSpace issue permanently for me.


At the "shutdown" page, it is necessary to explicitly select the "Java"-Mode and set a timeout
(30 seconds or so); otherwise the geronimo server will simply be killed without any chance
to terminate gracefully.

The following parameters in the shutdown arguments-field should be changed when the password
changes, which should be noticed in the Wiki, too:


I have opened a issue:

Best regards,


|  weberhofer GmbH             | Johannes Weberhofer
|  information technologies    |
|  Austria, 1080 Wien, Blindengasse 52/3
|  Firmenbuch: 225566s, Handelsgericht Wien
|  UID: ATU55277701
|  phone : +43 (0)1 5454421 0  | email:
|  fax   : +43 (0)1 5454421 19 | web  :
|  mobile: +43 (0)699 11998315 |

View raw message