Re: what is this number -2147483646
Just to clarify, -2147483646 is equivalent to -1 and means 'don't care'? always use a large scary number where a small one will do, eh ;) Rob From the JSDK 2.2 spec, available at http://java.sun.com/products/servlet/download.html : The load-on-startup element indicates that this servlet should be loaded on the startup of the web application. The optional contents of these element must be a positive integer indicating the order in which the servlet should be loaded. Lower integers are loaded before higher integers. If no value is specified, or if the value specified is not a positive integer, the container is free to load it at any time in the startup sequence. -- Bill K. -Original Message- From: Venkatesh T [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:43 AM To: tomcat Subject: what is this number -2147483646 HI What is the meaning of the foll. code in web.xml file for startup servlets. load-on-startup -2147483646 /load-on-startup can any one know .. Rgds venkatesh
Re: Default web.xml
we also found this to be the case when setting up mime types. I think it's a 'feature' - if you create a new context, only the local web.xml has any effect. Rob pretty - Original Message - From: Timothy Shadel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 8:07 PM Subject: Default web.xml I have a quick question about how the default web.xml found in the conf directory is supposed to act. The Tomcat User's guide says it acts as a default web.xml for all web applications. I tried to add the following to it: servlet-mapping !-- This was there by default -- servlet-name jsp /servlet-name url-pattern *.jsp /url-pattern /servlet-mapping servlet-mapping !-- I added this -- servlet-name jsp /servlet-name url-pattern *.tem /url-pattern /servlet-mapping because we wanted to logically separate our JSP files used as templates from those providing major content. However, accessing a valid JSP file that's been renamed with a .tem extension returns only the actual file contents instead of being translated as a JSP. The same servlet-mapping tag works perfectly in an application's web.xml. Am I supposed to be able to modify the web.xml in the conf directory and have it affect all applications, or is it only supposed to work with the one that comes with Tomcat by default? Thanks, Tim Shadel
file ownerships
hi! I'm running tomcat on linux. I want to start the server from a particular account (ie not root). It has been run as root, so there are a load of generates files that are owned by root and can't be over written by another user. Is it safe to /chown -R tomcat.tomcat/ the whole directory, or will this break things? ta Rob (favouring heavy blunt instruments :)