Help Preventing VM Tomcat Crash

2002-02-23 Thread Kennedy Clark
I'm working on a servlet that shrinks JPEG photos on the fly to create thumbnails. When the user selects the thumbnail page, a JSP generates HTML that results in many calls to the thumbnail servlet. If the user is patient and waits for all of the thumbnails to load, everything works great

RE: Help Preventing VM Tomcat Crash

2002-02-23 Thread Shawn Church
Looks like you are using the JDBC-ODBC bridge (maybe to an MS Access or MS SQL Server database?), which is not thread-safe and is not intended for use in production environments. My guess is that one thread (the current thread servicing the Thumbnail servlet) has a db connection open, and the

Re: [Mac OS X] /examples not working

2002-02-23 Thread Ken Pelletier
Ken, Did you make sure to use gnutar and not tar? I believe the Jakarta tar files use gnu extensions, and gnutar must be used. At least that's what I read and it got me out of a jam with a mangled pathname within Tomcat when unpacked with tar - or StuffIt, for that matter. - Ken On

New bie problem about Tomcat

2002-02-23 Thread Krishna Bhamidi
Hi, I have a problem about a servlet that I want to start on load of Tomcat. I included into the web.xml for the application under the on-load. The init method of the servlet is called two times, but not the service method of the servlet. I am not sure why the init method should get called 2

Re: Tomcat failure to start

2002-02-23 Thread Dieter Lunn
Can someone help please? On February 22, 2002 03:10 pm, you wrote: Hi, Tomcat doesn't want to start on my RedHat 7.1 system. I get this error in my log: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } and catalina.sh is

Apache Tomcat/4.0.2 - HTTP Status 404 - /examples/jsp/

2002-02-23 Thread Terje Dahl
Yes, I am a newbie, but... Installed Tomcat 4.0.2 (precompiled version) (on Mac OS X (That's unix) ) in a directory I called Tomcat. Tomcat starts just fine with this script: #!/bin/sh export CATALINA_HOME=/Tomcat/jakarta-tomcat-4.0.2 export

Re: [Mac OS X] /examples not working

2002-02-23 Thread Terje Dahl
I used StuffIt (Deluxe). Are you saying that should be OK, or not? Terje -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Tomcat 4 and Apache

2002-02-23 Thread Kristian Duske
Hi everyone, I'm sorry that I'm probably the 100th person to ask this, but I have searched google groups and the archives of this mailing list, both of which failed to help me setting up Tomcat 4.01 with Apache 1.3.23 on Windows. I have tried to load both mod_jk.dll and mod_webapp.so in Apache.

Re: [Mac OS X] /examples not working

2002-02-23 Thread Terje Dahl
Excelent tip StuffIt Deluxe was no good! I now unpacked it with gnutar, an reinstalled it. And it works!! Thanks alot! (Spent weeks trying to figure out the problem) Terje -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles

Re: [Mac OS X] /examples not working

2002-02-23 Thread Ken Martin
On Saturday, February 23, 2002, at 10:31 AM, Ken Pelletier wrote: Did you make sure to use gnutar and not tar? Ken, you're my hero! Works perfectly and installed instantly. A very happy weekend development! Man, this is great... I've mucked around with this for quite a while over a number

RE: Help Preventing VM Tomcat Crash

2002-02-23 Thread Kennedy Clark
Hi Shawn, Many thanks for the note the suggestion! I am using MySQL as my Db and MM.MySQL is my driver (mm.mysql-2.0.11-bin.jar). Given that this is a Type 4 driver, I don't think I should be getting a native code crash involving database access, right? I could be missing something, but

RE: Help Preventing VM Tomcat Crash

2002-02-23 Thread Shawn Church
So much for that theory. However, your guess is pretty close. I found something which you might find interesting. This is a known bug, which you can check out here: http://developer.java.sun.com/developer/bugParade/bugs/4502892.html The problem occurs when the socket is prematurely closed.

RE: Help Preventing VM Tomcat Crash

2002-02-23 Thread Shawn Church
One more thing. There is a fix in jdk1.4.0 which addresses this problem, where the native code exception is handled correctly. With this version, the IOExceptions may be caught and treated as normal behavior. Here's the fix: http://developer.java.sun.com/developer/bugParade/bugs/4546112.html

RE: TC4 and cgi

2002-02-23 Thread Bill Boland
Jared, Ironically, I also was trying to get the CGIServlet to work on Friday with great difficulty. I believe I got it to work (although I am not a Perl person). I am using tomcat on Windows 2000 and I just wanted to invoke an test executable batch file (test.bat) just to see if I could get the

Tomcat4.0.2 + JNDI jdbc + warp

2002-02-23 Thread Michael Donaghy
I've got a very simple servlet that gets a pooled JDBC connection to MySQL that works just fine when I use :8080. When using :80 with an appache warp connection to tomcat, I can't get the connection. I don't know much about JNDI, so that might be the source of my problems. Any and all help is

mod_webapp on Linux - EAPI?

2002-02-23 Thread Kevin Williams
I downloaded the mod_webapp Linux binary for Tomcat 4.0.1 (I'm actually running 4.0.2 though, if that matters) and installed it. When Apache starts up, I get the warning about needing to re-compile mod_webapp with -DEAPI... Is there a mod_webapp binary available somewhere that has been compiled

RE: Tomcat 4 and Apache

2002-02-23 Thread Brian Adams
Hi Kristian, I think I see the problem. you do NOT need the line: AddModule mod_jk.c I have seen this error before and I am no connection geek but I thought this line was not needed for mod_jk and I cchecked with my config and myne does not have it either. Goodluck, brian -Original

RE: New bie problem about Tomcat

2002-02-23 Thread Brian Adams
the service in not supposed to be called at init load time. notice the request response parameters in it. this is called by http get or post don't know why it loads twice.. B -Original Message- From: Krishna Bhamidi [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 23, 2002 11:29