tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: TomCat Service wont`t start any longer
Date Tue, 03 Nov 2009 09:51:05 GMT
Marc Bartrina wrote:
> Jakarta_service:
> [2009-10-28 14:04:07] [info] Starting service...
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[0] -Dcatalina.home=C:\Programme\Apache
> Software Foundation\Tomcat 6.0
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[1] -Dcatalina.base=C:\Programme\Apache
> Software Foundation\Tomcat 6.0
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[2] -Djava.endorsed.dirs=C:\Programme\Apache
> Software Foundation\Tomcat 6.0\endorsed
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[3]\Programme\Apache
> Software Foundation\Tomcat 6.0\temp
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[4] -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[5] -Djava.util.logging.config.file=C:\Programme\Apache
> Software Foundation\Tomcat 6.0\conf\

All that looks ok, although I don't like the paths with spaces in them, 
but that's a personal thing.
What does the file ..\conf\ say ?

> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[6] -XX:MaxPermSize=128m
why do you do this ?

> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[7] -Djava.class.path=C:\Programme\Apache
> Software Foundation\Tomcat 6.0\bin\bootstrap.jar
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[8] vfprintf
what is this option ?
(I'm just curious, I do not know it.)

> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[9] -Xms128m
> [2009-10-28 14:04:08] [385  javajni.c] [debug] Jvm Option[10] -Xmx440m
why these two parameters ?
(and if you really need a 440MB heap, then set "-Xms440M -Xmx440M", it's 
more efficient).

> [2009-10-28 14:04:08] [471  javajni.c] [debug] argv[0] = start
> [2009-10-28 14:04:09] [1015 prunsrv.c] [debug] Java started org/apache/catalina/startup/Bootstrap
> [2009-10-28 14:04:09] [info] Service started in 1843 ms.

> [2009-10-28 14:04:09] [1259 prunsrv.c] [debug] Waiting worker to finish...
That last one, I do not see in my logs. But I am running Tomcat 5.5, so 
it may be different.

> stderr (empty) and stdout (empty)
> No further log will be created, catalina won't start and no one of our webapps starts.
> writes no error and everything seems to be ok but isn't it.
Is there nothing at all in the Windows Event logs ?

 > When I stop the service and start tomcat6.exe, everything works,
 > catalina starts and every webapp starts.

When you start tomcat6.exe from the command line or the Explorer, it 
starts up under your current login-id.
When you start it up as a Service, the id it runs under depends of the 
Service setup.
That is a difference. Maybe it is trying to do something that is allowed 
under your user-id, and not allowed under the user-id under which it 
runs as a service.

Maybe the id under which it runs as a service, does not allow it to 
overwrite the logfiles it created when you run it under your own user-id 
? Maybe you want to make sure that you erase (or rename) *all* the 
Tomcat logfiles, and then immediately try again to run the service.

I am just guessing here, and I understand it was running before.  But 
obviously, something has changed, so the question is to find what.
What is this new software that you installed ?
Could it have changed the system PATH, so that now some module is run 
that was not run before ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message