You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by da...@comcast.net on 2009/02/03 20:58:46 UTC

Tomcat startup issue



I have installed Tomcat 5.5 on a Windows 2003 box. I have it installed as a service and need to use to the -security option but it's failing on startup. 



I've opened "Apache Tomcat Properties", selected the Startup tab and appended 

-security to start, so the Arguments are set to: 

start -security 



I select Apply and Ok then try to start the server. In my catalina.log I see the following error: 



Feb 3, 2009 2:02:36 PM org.apache.catalina.startup.Bootstrap main 
WARNING: Bootstrap: command "start -security" does not exist. 



My service is set up with: 

"C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe" //RS//Tomcat5 



And my catalina.properties in my C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf directory. 



I've done some Googling and I'm not finding much. Anyone have an suggestions on how to fix this? 



Thanks, 

-Dan 





 

Re: Tomcat startup issue

Posted by da...@comcast.net.

Actually, no I didn't need to. It seems to work without the double quotes. But I agree with you, it's better to do the install in a directory without spaces. 



-Dan 




----- Original Message ----- 
From: "André Warnier" <aw...@ice-sa.com> 
To: "Tomcat Users List" <us...@tomcat.apache.org> 
Sent: Tuesday, February 3, 2009 3:59:57 PM GMT -05:00 US/Canada Eastern 
Subject: Re: Tomcat startup issue 

dan_b@comcast.net wrote: 
> 
> Chuck, 
> 
> Thanks for the reply. That did the trick. 
> 
And, just by curiosity, did you have to quote the "\Program Files\" or not ? 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org 
For additional commands, e-mail: users-help@tomcat.apache.org 


Re: Tomcat startup issue

Posted by André Warnier <aw...@ice-sa.com>.
dan_b@comcast.net wrote:
> 
> Chuck, 
> 
> Thanks for the reply. That did the trick. 
> 
And, just by curiosity, did you have to quote the "\Program Files\" or not ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat startup issue

Posted by da...@comcast.net.

Chuck, 

Thanks for the reply. That did the trick. 



Thanks again! 

-Dan 




----- Original Message ----- 
From: "Charles R Caldarale" <Ch...@unisys.com> 
To: "Tomcat Users List" <us...@tomcat.apache.org> 
Sent: Tuesday, February 3, 2009 3:28:49 PM GMT -05:00 US/Canada Eastern 
Subject: RE: Tomcat startup issue 

> From: dan_b@comcast.net [mailto:dan_b@comcast.net] 
> Subject: Tomcat startup issue 
> 
> I've opened "Apache Tomcat Properties", selected the Startup 
> tab and appended -security to start 

That's wrong; the -security option is for the startup.bat (and catalina.bat) scripts, not for the Bootstrap class.  Undo what you did, then use the tomcat5w.exe program in Tomcat's bin directory (not the Windows services snap-in), go to the Java tab, and enter this in Java Options: 

-Djava.security.policy=C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\catalina.policy 

(All on one line, of course.)  Not sure if you need quotes around the value; I try to avoid having spaces in path names, for fairly obvious reasons. 

 - Chuck 


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org 
For additional commands, e-mail: users-help@tomcat.apache.org 


RE: Tomcat startup issue

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: dan_b@comcast.net [mailto:dan_b@comcast.net]
> Subject: Tomcat startup issue
>
> I've opened "Apache Tomcat Properties", selected the Startup
> tab and appended -security to start

That's wrong; the -security option is for the startup.bat (and catalina.bat) scripts, not for the Bootstrap class.  Undo what you did, then use the tomcat5w.exe program in Tomcat's bin directory (not the Windows services snap-in), go to the Java tab, and enter this in Java Options:

-Djava.security.policy=C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\catalina.policy

(All on one line, of course.)  Not sure if you need quotes around the value; I try to avoid having spaces in path names, for fairly obvious reasons.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org