Tomcat seems to have stopped servicing requests behind Apache

2008-07-08 Thread Tim Hunt
Hi, I have a Linux (Centos 4) system running Tomcat (5.5.20) behind Apache(2.0.52) via mod_jk, and Tomcat seems to have stopped working. I don't know what broke it, and I would really appreciate help diagnosing the problem. Here's some more info: I can still server up static HTML files through

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-08 Thread Clovis Wichoski
Hi Tim, check at your tomcat home if exists a file with the pattern hs_err_pid*.log maybe your JVM was killed, and in that log you will know the reason. regards Clóvis On Tue, Jul 8, 2008 at 6:26 PM, Tim Hunt <[EMAIL PROTECTED]> wrote: > Hi, > > I have a Linux (Centos 4) system running Tomcat

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Tim Hunt
d and try to sort out the warning about loading a config file. Thanks, Tim -Original Message- From: Clovis Wichoski Sent: Tuesday, July 08, 2008 8:55 PM To: Tomcat Users List Subject: Re: Tomcat seems to have stopped servicing requests behind Apache Hi Tim, check at your tomcat home i

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Tim Hunt
mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 10:10 AM To: Tomcat Users List Subject: RE: Tomcat seems to have stopped servicing requests behind Apache Thanks *a lot* for the suggestion, but I was not able to find a file with that pattern anywhere on my system. I tried again to load a few jsp

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Mark Thomas
Tim Hunt wrote: If I comment out the 'Include /etc/httpd/conf/working_mod_jk2.conf' line from httpd.conf and restart, it serves simple .jsp pages as text (not processed) Storing httpd content and Tomcat content in the same directory structure is asking for a world of security pain (generally of

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
5:21 PM To: Tomcat Users List Subject: Re: Tomcat seems to have stopped servicing requests behind Apache Tim Hunt wrote: > If I comment out the 'Include /etc/httpd/conf/working_mod_jk2.conf' line from httpd.conf and restart, it serves simple .jsp pages as text (not processed) Storing h

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Mark Thomas
Tim Hunt wrote: Thanks for alerting me. I think it's only that working_mod_jk2.conf file that's in the httpd directory, the rest is in the /usr directory. Is that still a problem? If httpd and Tomcat are serving content from the same directory then there is the potential for security issues.

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
omcat seems to have stopped servicing requests behind Apache Tim Hunt wrote: > Thanks for alerting me. I think it's only that working_mod_jk2.conf > file that's in the httpd directory, the rest is in the /usr directory. > Is that still a problem? If httpd and Tomcat are servi

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Mark Thomas
Tim Hunt wrote: Hmmm. Does that mean I shouldn't have an .html file (served by Apache) and a .jsp file (served by Tomcat) in the same directory? Yes. Unless you are careful about your configuration. It is possible to do it safely, but it can cause issues. Mark ---

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
Re: Tomcat seems to have stopped servicing requests behind Apache Tim Hunt wrote: > Hmmm. Does that mean I shouldn't have an .html file (served by Apache) > and a .jsp file (served by Tomcat) in the same directory? Yes. Unless you are careful about your configuration. It is possible

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Len Popp
; more about the risks and how to potentially do this safely? > > Thanks, > Tim > > -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 2:55 PM > To: Tomcat Users List > Subject: Re: Tomcat seems to have stopped serv

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
] Sent: Thursday, July 10, 2008 4:03 PM To: Tomcat Users List Subject: Re: Tomcat seems to have stopped servicing requests behind Apache One way to do it safely is to have Tomcat serve all the files. Is there a reason why you need the Apache web server at all? -- Len On Thu, Jul 10, 2008 at 15

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Len Popp
; Regards, > Tim > > -Original Message- > From: Len Popp [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 4:03 PM > To: Tomcat Users List > Subject: Re: Tomcat seems to have stopped servicing requests behind > Apache > > One way to do it safely is to h

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-15 Thread Tim Hunt
services/ports to permit from localhost, but I'm not sure that's necessary, and I don't know what else it might break. Regards, Tim -Original Message- From: Tim Hunt [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 1:49 PM To: Tomcat Users List Subject: RE: T