Hi everyone,

I find 2 problems on my Linux/Apache/Tomcat platform :

*** First, I can't manage to redirect a 500 error code page to a customized
error page, even I can't see any trouble in my conf's files.

# config
Linux RedHat 7.1
Apache 1.3.27 (rpm)
Tomcat 4.1.18 (rpm)
mod_jk 1.2.2 (rpm)

#apache myVH.conf
ErrorDocument 500 /jsp/500.jsp

#tomcat myapps/WEB-INF/web.xml
<error-page>
        <error-code>500</error-code>
        <location>/jsp/500.jsp</location>
</error-page>

apache gets a 500 error code
# myapps_access_log
193.52.112.54 - - [05/Jul/2004:15:52:49 +0200] "GET /Login.do HTTP/1.1" 500
3990

but the browser prints the default tomcat error page and not my customized
500.jsp ...

PS : there's no compilation problem in my 500.jsp, it could have been the
reason why tomcat can't print it and redirects to it's own 500 error page

*** Second, I have a java tomcat process recycling problem.

I thought that even there are cycles in a java code, the following line in
the tomcat4.conf was there to kill properly these non recycling processes :

# Time to wait in seconds, before killing process
SHUTDOWN_WAIT=30

But they stay with the "running" status and "eat" all the free CPU of my
machine (between 90 and 100 % of cpu until the processes come in).

Any ideas ?

Thanks in advance :)

Julien OIX
Service Informatique de Gestion - Université de Nantes
Tel: 02 40 99 83 65 / abroad + (33) 240 99 83 65
Fax: 02 40 99 83 84 / abroad + (33) 240 99 83 84
Web: http://www.univ-nantes.fr
mailto:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to