OutOfMemoryError

2004-03-14 Thread UmamaheswarKalluru
Hi, I am getting the following error message when I have accessed Tomcat for more than 2 days without shutting it down. I am using Tomcat 5.0.19 256 MB Ram Pentium III Win 2k Pro Mar 13, 2004 3:57:54 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren SEVERE

Probem related to data files

2004-03-14 Thread Ashish Mittal
Hello, In my jsp file, i am using a java class that reads a data file from the disk and use that data for fulfilling subsequent user requests. Now there is one other backgroud process that can change the disk file data. Now in the production environment where the application is running 24 hours, 7

Re: HTTPS on Tomcat

2004-03-14 Thread UmamaheswarKalluru
Can you give me a sample web.xml file that can help me out please? Thank you, Best Regards, Uma "Keshav Sarin" <[EMAIL PROTECTED]

JK2 VirtualHost-relative Location URI mapping

2004-03-14 Thread Adrian Lanning
Hi. (B (BDoes anyone know how to get Locations in httpd.conf to be relative to the (BVirtualHost rather than global? (B (BI can get JK2 working properly by explicitly putting domains in my (Bworkers2.properties file but I'd prefer using mass virtual hosting with jk2 (Band avoid having to add

getRequestedSessionId and URLEncode

2004-03-14 Thread Hiroyuki Nakajima
Hello. (BI develop on Tomcat4.1.29. (BI have some problems. (B (BThe requested URL contains multibytes string. (BSo I encode URL by this. (B (B (BString str = response.encodeRedirectUrl("/ServletTest/ServletTest1/" + (BURLEncoder.encode(str, "UTF-8")); (B 

editing the class path w

2004-03-14 Thread Arora, Avinash
 Hi every one,    I am a new user of tomcat. Please don't mind if my question seems to be trivial. If we are having a java class that uses some package. Do we need to change the classpath for tomcat so that it can correctly compile the jsp page using that class? I have updated the system class pa

RE: Passing init params to a listener?

2004-03-14 Thread Adrian Beech
G'day, I assume from this that init parameters can only be accessed by a listener if they have been declared globally within the applications context and not from within the scope of the listener itself? Hm AB -Original Message- From: Frank Burns [mailto:[EMAIL PROTECTED] Se

Re: Setting HTTP headers for static resources?

2004-03-14 Thread David Rees
Andreas Schildbach wrote, On 3/14/2004 12:48 PM: is there an easy way to set HTTP headers (specific: cache-control) in Tomcat 5 for static resources like CSS files or GIF pictures? By default, Tomcat does not seem to touch these headers. I know that I can set headers from Servlets/JSPs, but that

Setting HTTP headers for static resources?

2004-03-14 Thread Andreas Schildbach
Hello everyone, is there an easy way to set HTTP headers (specific: cache-control) in Tomcat 5 for static resources like CSS files or GIF pictures? By default, Tomcat does not seem to touch these headers. I know that I can set headers from Servlets/JSPs, but that does not help in the case of s

Defining a Realm inside a Context

2004-03-14 Thread Oliver Andrich
Hi, I have some serious problems configuring a Realm, a DataSourceRealm to be exact, inside a context for a web application. I tried it as it is written in the documentation, but it didn't work and I tried to find some information on this on the net. But I didn't find anything. I am using Tomc

Re: War does not unpack on deployment

2004-03-14 Thread phil campaigne
Jacob Kjome wrote: At 06:19 PM 3/13/2004 -0500, you wrote: Jacob, My hosting service is Tomcat 4.18 so I'm kind of stuck with 4.x. Are you saying if I use tomcat 4.x I must not put a context for my applicaton in server.mxl? Then it will be unpacked automatially? thanks, Phil Yep, that's exa

Re: Passing init params to a listener?

2004-03-14 Thread Frank Burns
For each parameter you need your listener to read, place name/value pairs in your web.xml. Here's an example for two parameters (mySQLServerName and mySQLPort): mySQLServerName localhost mySQLPort 3306 Then, in your listener class, read them like this:

Passing init params to a listener?

2004-03-14 Thread Adrian Beech
G'day all, Can someone please advise how to pass init params to a listener? For example, in my web.xml file I have the following listener currently defined as:- czone.db.InitConnectionPool At the moment all parameters are hard coded in the listener. If I want to extend the flexibilit

combining host valve and address valve

2004-03-14 Thread Dragan Andric
Hi all, I've tried what the subject says, but unsuccessfully so far. I create a Remote Address Valve and allow '192.168.' (all of the LAN, including my PC from which I administer the server), then I try to create a Remote Host Valve and allow '.someExternalName.com' and get Validation Errors: '