|
From: Leif M. <le...@ta...> - 2006-11-10 22:49:59
|
Mehul,
The best place to look for the cause is your wrapper.log file. In
most cases, the
problem is pretty obvious. I am not able to make many guesses without
seeing your
geronimo.conf file. (It wasn't attached).
If the application is working correctly in console mode, but failing
as a service, the
cause is most likely an environment problem. The most common causes are
due to
differences in the PATH and JAVA_HOME environment variables. When running
as a console, you will be running as the user you are logged in as.
When running as
a service however, you will be running as the SYSTEM user by default.
If you set wrapper.debug=true in your conf file, you will get even
more detailed info
in your wrapper.log file.
Cheers,
Leif
Mehul N. Sanghvi wrote:
> 'allo,
>
> I came across JWS a couple of days ago because I was looking for a way to
> start up Apache Geronimo as a service on Windows XP Pro. It took me a couple
> of days to figure out the wrapper.conf that I had come across on Google, and
> using the documentation on the JWS website, have managed to get things to the
> point where I can start Geronimo for the console.
>
> Trying to start it as a service though does not seem to be working. It
> just seems to stop unexpectedly. I am not sure if it is JWS, or Geronimo or
> WinXP. I am attaching my conf file for wrapper (geronimo.conf), and can
> provide logs if needed.
>
> Here is what I do to start the service:
>
>
> wrapper.exe -t ..\conf\geronimo.conf
>
> which does tell me that it started successfully. Then when I do a query
>
> wrapper.exe -q ..\conf\geronimo.conf
>
> it shows that the service is not running. Doing a "net start" to see
> what services are running also does not show the service as running. Geronimo
> takes a little while to start up, so I have already set the time-out delay
> settings that I gathered from the documentation. Doesn't seem to be related to
> that. Anyway to get information as to what is happening when the service is
> starting ?
>
>
> cheers,
>
> mehul
>
>
|