tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcio Camurati" <mar...@wx7.com.br>
Subject Problem with Mod_JK 1.2.15 and 1.2.18
Date Fri, 01 Sep 2006 14:45:04 GMT
Hi everyone, 

We have a application that run at the Tomcat container. This application was made at the Tomcat
4.1 using the Mod_jk 1.2.12 with this configuration the application run perfectly without
any problem, at this days we want to make an upgrade at the servers to use the new Mod_Jk
1.2.15 or 1.2.18, but when we do this the application broken. The problem is that with this
new Mod_jk the Exceptions was never call for example at this code:

[code]
try
{
     while (true)
     {
          out.println("Nonononononnoonnonono");

          try
          {
               Thread.Sleep(1000);
          }     catch(Exception ex)     {}
     }
}     catch(Exception ex)     {
     try {
          BufferedWriter writer = new BufferedWriter(new FileWriter("/srv/www/default/html/log/exception.txt"));
          writer.write("Eror !");
          writer.close();
          writer = null;
     } catch (IOException ioe) {
          ioe.printStackTrace();
     }
}
[/code]

When the brownser is closed the server never create the file (exception.txt) it will only
create this file when the Tomcat is shuted down, with the older version 1.2.12 or oldest the
server always call this exception beforer 1 or 2 seconds and create the file.

We open at the Bugzila a report of this problem (http://issues.apache.org/bugzilla/show_bug.cgi?id=39290)
but didn't have any help to fix it.

Thanx.

Marcio Camurati

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message