Markus Schönhaber <[EMAIL PROTECTED]> wrote on 2006-08-18 
13:12:45:

> Jan Andersson wrote:
> > Trying to get Tomcat going with my app-under-development. Problem is 
that
> > Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog 
(i.e.
> > Start->Programs->Apache Tomcat 5.5->Configure Tomcat). No message, it 
just
> > silently fails. Logs are not touched at all.
> 
> Do you really click on the "Start" button on the "General" tab of the 
config 
> dialog?

Yes I really click on Start. Many times.
 
> > Crazy thing here is that if I start Tomcat from the Windows services
> > dialog (Start->Control Panel->Administrative Tools->Services->Apache
> > Tomcat) it starts all right. Moreover, my app needs additions to the
> > classpath and a flag to the JVM, and I add and apply these in the
> > 'Configure Tomcat' dialog. Even though I start Tomcat from the Windows
> > services dialog (which doesn't allow for tampering with classpath and 
JVM
> > arguments), my app works correctly. And I'm completely sure it would 
NOT
> > work at all without my classpath and JVM settings.
> 
> AFAIK, the changes you make using the config dialog are written to the 
> registry. The Tomcat service runner reads them when the service is to be 

> started - regardless whether you start the service using the "Start" 
button 
> in the config dialog, the Tomcat monitor, the MMC, by using net start, 
sc or 
> any other way that might exist to start a service.

Sounds like a reasonable explanation. If this wouldn't work I'd get really 
desperate, now only annoyed.

Still would like to know why Tomcat fails to start using 'Configure 
Tomcat' dialog. Otherwise, will have to explain in the admin manual that 
you use config dialog to set classpath and JVM args, but start Tomcat 
using services dialog. Awkward.

I should add that another version (3 or 4, not sure) of Tomcat is 
installed but not running on the computers. This is a special version of 
Tomcat used by IBM Rational to run their web applications. Could a not 
running older instance of Tomcat anyhow interfere? And if so, why only 
when using the config dialog to start Tomcat?

Any help greatly appreciated!

Regards,
Jan Andersson

Reply via email to