Re: session.setMAxInactiveInterval()

2001-05-10 Thread Nick Holloway
[EMAIL PROTECTED] (=?iso-8859-1?q?teh=20j?=) writes: % String user_id = (String)session.getAttribute(user_id); String user_level = (String)session.getAttribute(user_level); if (user_id==null) { /* *User is not logged in! Redirect */

Re: Win service logout problem

2001-03-23 Thread Nick Holloway
[EMAIL PROTECTED] (Peterson, Lance) writes: Has anyone heard whether/when Sun will release an update to JDK 1.3 that will keep jk_nt_service.exe from dying at logout? Or is this something to be fixed in tomcat? The bug is claimed to be fixed in JDK 1.3.1, of which there is a beta available

Re: Restricting access to localhost for ajp-port 8007

2001-03-14 Thread Nick Holloway
[EMAIL PROTECTED] (Stefan Busse) writes: I've seen this question beeing asked a few times in the archives, but I didn't find any replies: How do I restrict access to tomcat listening e.g. on port 8007 for incoming requests from e.g. apache, using e.g. mod_jk ? An example

Re: Null pointer exception using Oreilly multipart classes on Spa rc

2001-03-09 Thread Nick Holloway
[EMAIL PROTECTED] writes: Ugh! Confirmed that this is a problem with ajp13. If I drop back to ajp12, problem disappears. Where is the ajp13 code implemented? Has anybody updated it since the tomcat 3.2.1 release? I've heard that the problem is fixed in 3.2.2 (you can try the current beta

Re: Can't migrate to 3.2.1 - Number of issues

2001-03-07 Thread Nick Holloway
[EMAIL PROTECTED] (Andrew Gilbert) writes: There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. [...] 4. Use of AJP13 breaks multipart uploads. (We haven't seen this yet but do rely on multipart uploads for our application, seem to be a lot of posts

Re: Load balancing for Tomcat with mod_jk

2001-02-20 Thread Nick Holloway
[EMAIL PROTECTED] ([EMAIL PROTECTED]) writes: Are you aware of any Tomcat versions (past, present, future) that might support this type of functionality? I suppose I could do it using mod_jserv but I would rather stay with the newer architecture(mod_jk). Any idea if Tomcat 4.0 might support

Re: HTTP_USER_AGENT

2001-02-19 Thread Nick Holloway
[EMAIL PROTECTED] (Erik Barke) writes: String aUserAgent = (String)request.getHeader("User-Agent"); As an aside, there is no need for the cast to "String", as the return type is already "String". I often see people doing the same with "request.getParameter()". I can only guess that

Restart Apache and Tomcat with mod_jk?

2001-02-15 Thread Nick Holloway
In the "Tomcat-Apache HOWTO" distributed with Tomcat 3.2.1, there is the following in the common questions: mod_jk - Apache locks up when requesting a Servlet or JSP mod_jk reuses the same port when talking to Tomcat, unlike mod_jserv. You'll need to restart Apache

Re: NullPointerException at java.io.Reader when WAR file expanded.

2001-02-08 Thread Nick Holloway
In list.tomcat-user you write: We have a web application distributed in a WAR file that consists of servlets that were compiled from JSPs, one index.jsp file and a number of JavaBeans and JAR files on Tomcat 3.2.1. When Tomcat is started, it unpacks the war file correctly with everything in

Problem with Tomcat and Apache Server Side Includes

2001-01-25 Thread Nick Holloway
I want to be able to use server side includes within Apache to populate part of an otherwise static HTML page with some dynamically generated components. The main reason for this approach is that the JSP and HTML will be developed and published independently. I have the web app as the root

Re: How do I precompile JSP files for final Production use?

2001-01-22 Thread Nick Holloway
[EMAIL PROTECTED] (Ciot, Thierry) writes: o You can't have a JSP page include a file one directory level up (that is page.jsp using %@include file="../xxx.jsp"%) See my post last Friday "jspc problem when including files (relative)" (no answer yet) I didn't see your original message, but I

Re: Instructions for pre-compiling JSPs

2001-01-18 Thread Nick Holloway
[EMAIL PROTECTED] (Hawkins, Keith Keith) writes: I guess I would want to know what commands the compile servlet executed inside it's init message. I'm looking to figure out how to get the resulting class files to be recognized by Tomcat (the XXX.class naming convention, etc.) You just make

Re: Is ANYONE doing this?? TC3.2.1 standalone + SSL + multiple instances on multiple IP's

2001-01-12 Thread Nick Holloway
[EMAIL PROTECTED] writes: Each server directory under tomcat-servers contains a complete copy of Tomcat at this point. (If someone can suggest a way to reduce the duplication while still being able to run multiple instances that are not aware of or affected by each other I'm open to