tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From igor <i...@linuxinside.com>
Subject mod_jk, $TOMCAT_HOME/work directory and gigantic files
Date Thu, 22 Mar 2001 01:54:44 GMT
Hello,

Today i got a request from one of our developers to install Tomcat  or 
Solaris 7 machine running JDK1.2 and Apache 1.3.19

I compiled and installed mod_jk with no problems and installed binary 
distribution of Tomcat 3.2.1
But then i found out that for some strange reason it can only process 
Servlets out of webapps/examples directory,
and when i call any .jsp files it sits there and trying to contact the 
server. At the mean time, while it is making an inpression of contacting
the server my $TOMCAT_HOME/work  dramatically grows, so in 15 minutes or 
me clicking the .jsp links it filled up my 580Mb partition......

So, i decided to look into that evil directory and see what is going on 
there,
And what i found in 30Mb plain text file was pretty disturbing:

Thousands of these lines:

-- snip --

// HTML // begin 
[file="/a/local/tomcat/webapps/examples/jsp/dates/date.jsp";from=(0,0);to=(6,0)]
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");
out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software 
Foundation.  All rights \r\n  reserved.\r\n-->\r\n\r\n");

-- snip --

I am sure that this question popped up on this mailing list more then 
few times, but i do not seem to be able to find an answerd to it,
so i am forced to ask it again. Here is goes:

-How do i fix it ?-

Please help, I do not want to kill another 8 hour day fighting the 
software i do not really have an idea about.

Sincerely,
Igor Pruchanskiy
igor (at) linuxinside (dot) com


Mime
View raw message