tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Andersson <Jan.Anders...@se.ibm.com>
Subject Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog
Date Fri, 18 Aug 2006 12:01:36 GMT
Markus Schönhaber <mailing-tomcat-user@schoenhaber.de> 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message