RE: Order at which Tomcat loads starts applications

2005-09-08 Thread Marius Hanganu
You cannot rely on an order in which Tomcat load webapps. Since the servlet spec does not mention that webapps should be load in a specific order, you shouldn't rely on any ordering. If you really need this ordering, implement a mechanism to synchronize webapps. Regards, Marius -Original

RE: Logging of illegal requests from Tomcat 5

2005-08-23 Thread Marius Hanganu
You could log all requests using the access log valve: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false/ (more about at

RE: WebDav on Port 80

2005-08-22 Thread Marius Hanganu
The problem can be reproduced. There is already a bug describing this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=26449 Regards, Marius -Original Message- From: George Francis [mailto:[EMAIL PROTECTED] Sent: Sunday, August 21, 2005 7:07 PM To:

RE: WebDav on Port 80

2005-08-22 Thread Marius Hanganu
Tomcat is running on... On 8/22/05, Marius Hanganu [EMAIL PROTECTED] wrote: The problem can be reproduced. There is already a bug describing this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=26449 Regards, Marius -Original Message- From: George Francis

RE: WebDav on Port 80

2005-08-22 Thread Marius Hanganu
Hi, That bug report does not seem to relate to my issue; there is no mention of different behavior depending on what port Tomcat is running on... On 8/22/05, Marius Hanganu [EMAIL PROTECTED] wrote: The problem can be reproduced. There is already a bug describing this issue: http

RE: passing additional java parameters to tomcat

2005-08-19 Thread Marius Hanganu
Use the tomcat5w.exe to set the appropriate parameters. If it gives you an alert saying The specified service does not exist as an installed service, just execute service install and tomcat5w will work properly. Regards, Marius -Original Message- From: Ashish Kulkarni [mailto:[EMAIL

RE: how to delete log files (not append) ?

2005-08-17 Thread Marius Hanganu
You can gain more control over Tomcat's logging process by using a log4j.properties file. Follow the instructions at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html For generating the log file each time you restart the server, add to the log4j.properties file a new one:

RE: error-page not working

2005-08-09 Thread Marius Hanganu
It may be because of the size of your errorpage.jsp. According to http://www.404-error-page.com/404-error-page-too-short-problem-microsoft -ie.shtml 500 errors should have pages with size greater than 512 bytes. Marius -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED]

RE: Win32: tomcat is there, how to make it a service?

2005-08-08 Thread Marius Hanganu
Hi, You can use the service.bat script provided in the bin directory. Executing service install from the command line will install Tomcat as a service (you will find it under the name Apache Tomcat in the list of Windows services). Regards, Marius -Original Message- From: Robert

RE: load on startup

2005-08-05 Thread Marius Hanganu
Hi, You could have two instances of your object because of an improper mapping in web.xml. For example if in your servlet mapping the url-pattern for your servlet is /*, any access to your app will access this servlet thus resulting in two instantiations. You should initialize your object in the

RE: Using Tomcat As Webserver Question

2005-07-28 Thread Marius Hanganu
Hello, 1. In $TOMCAT_HOME/conf/server.xml, inside the Engine element you have to declare two virtual hosts. I have used a configuration like the following: Host name=DNS_1 appBase=webapps/site1 unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false

RE: Using Tomcat As Webserver Question

2005-07-28 Thread Marius Hanganu
that the requests will be less than 5,000 per day as we begin. I hate to ask, but do I need to enter the IP address anywhere in the Tomcat configs? Scott -Original Message- From: Marius Hanganu [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 8:47 AM To: Tomcat Users List Subject: RE