On Fri, 17 Aug 2001, Li, Jerry wrote:
> Hi, All:
>
> Your help is highly appreciated for the following questions.
>
> 1. Does Tomcat have web-based administration functionality?
>
> We want to let the Tomcat administrator start/stop Tomcat through a
> Web-based interface. I have searched the mail archives, and found somebody
> starting working on it in April. Is it available now? If yes, where could I
> get it?
Well, yes... You can stop it via Web, but then can you start it afterwards,
when the web server goes dead?
>
> 2. where is the right location to put properties files
>
> Our application uses a single properties file: system.properties. We have
> found that we have to put system.properties into WEB-INF/classes, otherwise,
> Tomcat could not find it.
This is not a bad location for properties file.
>
> We have tried to put it into WEB-INF/lib and put WEB-INF/lib into tomcat's
> classpath ( the classpath in tomcat.bat under <tomcat_home>/bin), but tomcat
> still could not find it. However, if put it into WEB-INF/classes, tomcat
> will find it.
You need to read about tomcat security manager and classloaders.
What you put in the CLASSPATH is irrelevant for your application.
You can put the property file anywhere, and then specify its
location in the web.xml via context parameter, so the servlet/jsp can
open it.
>
> thanks,
>
> Jerry
>
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/