Re: Is it possible to specify a global 404 error page for all appsun der tomcat 4

2002-07-23 Thread Mike McGuinness
Change your location to a directory under the webapp name. E.g., A web app named myapp is under webapp ...webapps/myapp In this example the file to serve should be relative to the myapp dir not the webapps dir. On Mon, 2002-07-22 at 16:42, John Regan wrote: Good afternoon, I am

Re: session.getMaxInactiveInterval()

2002-05-22 Thread Mike McGuinness
Chris, Simple question, are you sure you're using a servlet 2.3 compliant implementation? Mike On Tue, 2002-05-21 at 11:00, Chris Wilson wrote: Hello, I'm calling session.getMaxInactiveInterval() on a session after it has been invalidated. Tomcat is throwing an

Re: FileReader within a Servlet

2002-04-24 Thread Mike McGuinness
System.getProperties(user.dir) On Wed, 2002-04-24 at 09:38, Günter Kukies wrote: Hello, how can I get the path base for a file within a web application? I want to use a FileReader within a Servlet. Günter

Re: Calling all AIX mod_jk Binaries

2002-04-02 Thread Mike McGuinness
If you're interested, I've got a working mod_jk.so for AIX 5.1. Mike On Fri, 2002-03-29 at 14:32, Jay Balunas wrote: Hello All, We have a binary compiled on AIX 4.3.3 and it does not seem to be working correctly. Does anyone have another AIX mod_jk binary

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-04-02 Thread Mike McGuinness
Jay, mod_jk does work on AIX. Although I'm on AIX 5.1, I've got apache 1.3 communicating with tomcat 4 just fine. With help form others in this group, I was finally able to compile the module. If you like, I can get you my copy of the hacked-for-aix apxs and the build script. Maybe a re-compile

Re: Adding a system property?

2002-03-18 Thread Mike McGuinness
Rich, You can edit the start script to set system properties for the JVM. I set the user.dir system property in my $CATALINA_HOME/bin/catalina.sh script. I just added the parameter -Duser.dir=${CATALINA_HOME}/conf to the $CATALINA_OPTS varaable. Then, in the app I can do this: String

Re: error while building mod_jk.so Tomcat 3.3 + Apache 1.3.22 on AIX 4.33

2001-12-12 Thread Mike McGuinness
I've got mod_jk.so to compile on AIX. I used the tomcat 3.3 src tree. I had some help from others on this list (thanks all). I had to modify apxs to get it to work. Man it was a pain! If anyone is interested I can send you a copy. Mike [EMAIL PROTECTED] Brian Adams wrote: I think

AIX Compile mod_webapp

2001-11-29 Thread Mike McGuinness
Hello all, Has anyone been able to compile mod_webapp on AIX? I'm running tomcat 4.01 on AIX 5.1. I've checked the archives and didn't find out if anyone was successful. There were some posts, but nothing I could find was conclusive. Sorry for this post if I missed anything in the archives.

IBM JDK

2001-08-14 Thread Mike McGuinness
Has anyone tried IBM jdk/runtime environment on Linux with Tomcat 3.2.3? I'v got sun jdk 1.3, running on Red Hat 7.1, with apache 1.3.20, and tomcat 3.2.3. I was wondering how or if IBM's jdk/runtime works. Mike

Re: IBM JDK

2001-08-14 Thread Mike McGuinness
and IBMJava2-13 (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010329 (JIT enabled: jitc) Mike McGuinness wrote: Has anyone tried IBM jdk/runtime environment on Linux with Tomcat 3.2.3? I'v got sun jdk 1.3, running on Red Hat 7.1, with apache 1.3.20, and tomcat 3.2.3. I was wondering how

Re: Restarting Tomcat/Apache

2001-08-13 Thread Mike McGuinness
I use jave just about the exact same configuration and I don't have the problems you state. I have noticed that if I restart tomcat *without* restarting apache, there are problems. To restart I use the following script: #!/bin/bash /usr/apache/bin/apachectl stop sleep 2

Re: Double loading when loading servlet on startup

2001-08-08 Thread Mike McGuinness
What version of tomcat? Alexander Cherinko wrote: Hi problem is that when I mark servlets as load-on-startup they are loaded twice in jvm. I want this servlet to serve as initializer i.e. to initialize some other classes in its init method. The worst is that that classes are double loaded

Re: tomcat -- which version

2001-08-07 Thread Mike McGuinness
I'm running with apache 1.3.20 and Tomcat 3.2.3 and it runs fine. Ling Wang wrote: We are on solaris 8, and we want tomcat and apache work together. which version of tomcat works better with apache on unix platform? Many thanks in advance!!! Ling