tomcat 5 port 80 non-root

2004-01-01 Thread James Bayer
i following the instructions with jsvc included with tomcat, but when i run the Tomcat.sh script i get the following in my $CATALINA_HOME\logs\catalina.out Can't load server.xml Can't load server.xml Jan 2, 2004 12:14:04 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 0 ms a

Re: OT: servlet 2.4: write a file to a war

2004-01-01 Thread Jacob Kjome
The only place you can count on existing for writing is the tempdir defined by the servlet container. File temp = (File)context.getAttribute("javax.servlet.context.tempdir"); Otherwise, you can set up a deployment parameter for your deployer to configure that specifies a directory for writing.

Re: Win 2003 + Tomcat Server servlet placement

2004-01-01 Thread Jacob Kjome
Do this. Forget the installer. I never use it anyway. Just grab the zipped or gzipped archive, extract it to a directory of your choice (I suggest using a path without spaces to be safe), set JAVA_HOME to the directory where you have the JDK installed (not the JRE, the full JDK). Now, you sh

Re: Win 2003 + Tomcat Server servlet placement

2004-01-01 Thread FRANCOIS Dufour
well maybee im not shure but on my server i have to share the file so it can bee acess by the web some file must have depend on the app read and write acess and other only read sharing [EMAIL PROTECTED] crazy-wilys webmaster From: [EMAIL PROTECTED] Reply-To: "Tomcat Users List" <[EMAIL PROTE

OT: servlet 2.4: write a file to a war

2004-01-01 Thread ....
I am storing images to db as a blob. I want to cache the images to files so I do not hit the db everytime. Question: How do I write to a file... when I am deploying a war file? Where am I allowed to write and delete w/ a Servlet 2.4 (again... a war file). tia, .V -

Re: Win 2003 + Tomcat Server servlet placement

2004-01-01 Thread swalker
Is there any one out there I could correspond with concerning this problem.. Every thing I've tried does not work.. It can't be that hard. I've missed something some where. > Well I'm still at it.. Its clear I still have a lot to learn on the > tomcat xml and workers files... I've turned IIS off a

Re: Tomcat 5 port 80 non-root

2004-01-01 Thread Bill Barker
You need to use jsvc to do this. The source ships in the $CATALINA_HOME/bin/jsvc.tar.gz file. You need to unpack it and build it for your system. The documentation is at: http://jakarta.apache.org/commons/daemon/jsvc.html. "Nicolas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

Re: Interceptors in Tomcat 3.x

2004-01-01 Thread Bill Barker
Interceptors do the same kind of work in TC 3.x as Valves do in TC 4.x, but they are structurally very different. Also, I haven't worked with TC 3.2.x in a very long time (since TC 3.3.x no longer has the RequestInterceptor interface). One suggestion is to extend BaseInterceptor instead of implem

Re: manager

2004-01-01 Thread Antony Schuerewegen
Hei if you change the documentbase for "/" context in manager (or manually if you are familiar) to wathever the page is you want to display and remove all other context entries, the only page accesible will be your page. Happy newyear Antony - Original Message - From: "Jonathan Locke" <[E

Re: Sudden IllegalStateException

2004-01-01 Thread Howard Watson
Hello Merrill If you're still working on this tomorrow and you want to share your code I'd be willing to walk it through. Howard Watson Database Administrator Easter Seals-Goodwill Northern Rocky Mountain 4400 Central Avenue Great Falls, Montana 59405 (406) 771-3759 [EMAIL PROTECTED] >>> [EMAIL

Tomcat Manager- field called; Error Count: #

2004-01-01 Thread alan sparago
When using the 'manager' web app to monitor Tomcat ( url; http://... /manager/status/all ) the page titled 'Complete Server Status' has a field on it called 'Error count:' followed by a number. This field exists under all the section headings. Intuitively, I would assume that the number under the i

Tomcat 5 port 80 non-root

2004-01-01 Thread Nicolas
hi i read that in Tomcat 5 it's possible running the catalina on port 80 as a non-root user. like in apache httpd where you can set the user an group in the httpd.conf. regards nicolas - To unsubscribe, e-mail: [EMAIL PROTECTED

Interceptors in Tomcat 3.x

2004-01-01 Thread arunkumar
Hai , I need some details on the Interceptors in Tomcat 3.x servers. Whether the Interceptors in 3.x is same as Valves in 4.x . Is it possible to configure our own interceptors to find the processing time for a request.I tried writing a Interceptor class by implementing the RequestInterceptor in