Re: Problem with security?

2005-06-10 Thread egan0019
Look into the ServletRequest interface. That interface, which is extended in HttpServletRequest. You can call the getRemoteAddr(), getRemoteHost(), etc. methods. You receive null in your getRemoteUser because the user hasn't been 'authenticated' yet. On 10 Jun 2005, Gagnon, Joseph M (US SSA)

Re: Where can I download the admin package?

2005-05-31 Thread egan0019
I'm trying to beat Steve Kirk to the punch! There is an admin package .zip or tar.gz for the 5.x series available from a link on the following page: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Tomcat doesn't include apache. On 31 May 2005, Yuhui Liu wrote: Hi, there, I

Re: Class not found

2005-05-31 Thread egan0019
You might need to unzip it, instead. On 31 May 2005, Ram Sriram wrote: That didn't work. Is there any configuration in Tomcat that needs to know the location of Classes12.zip? Tim Funk wrote rename classes12.zip to classes12.jar -Tim Ram Sriram wrote: Hi, I am using Oracle

[OT]: Adding content/JSPs on the fly: file.separtor

2005-05-27 Thread egan0019
When building file path strings, should one always use the System.getProperty(file.separator) return value? Is this to differentiate between Windows(\) and unix/linux/solaris(/ separators? I haven't seen that property before. And, are there any other things I should know about to make my file

Re: Minimal tomcat

2005-05-23 Thread egan0019
I used the template available at the following link to create a program using Tomcat as an embedded component: http://www.theserverside.com/discussions/thread.tss?thread_id=30625 It is 5.5 specific. On 23 May 2005, Dola Woolfe wrote: Hi, Perhaps this is a strange question. Basically, I

Re: Minimal server

2005-05-23 Thread egan0019
Download the embedded binary distribution: jakarta-tomcat-5.5.9-embed.tar.gz That contains all you need to create a program with Tomcat embedded in it. It is smaller than the standard distribution. I have done something similar to what you are looking for. Or perhaps I have done exactly

Re: How to change a running Tomcat with root user to other user.

2005-04-15 Thread egan0019
As long as you are using a port above or equal to 1024, I believe you should be able to simply start up Tomcat using a non-root user. On 15 Apr 2005, Parsons Technical Services wrote: There are several options: 1. Keep running as root. (Bad as noted) 2. Listen on port above 1024. 3.