Hello,

I'm starting the process of migrating some of our server from 5.0.29 to
5.5.23, and I've found that the 'nice' useful stacktraces with
linenumbers are back, and working beautifully in 5.5.23.   

But I do find the following issues as well: 

I have the following test page: 

<html>
<body>
<%
 if (true) {
  throw new java.sql.SQLException("TEST");
 }
%>
</body>
</html>


And the following web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">


<error-page>
        <exception-type>java.sql.SQLException</exception-type> 
        <location>/error/database.jsp</location> 
</error-page>
<error-page>
        <error-code>500</error-code> 
        <location>/error/500.jsp</location> 
</error-page>

</web-app>



And when I call the page throwing the SQLException, I get the error page
for the error-code 500.   Tomcat5.0 does not behave like that, 5.5 does.
Which is the correct behaviour? (or perhaps:  is there a way to
configure 5.5 so that it acts like 5.0?)  I recall this bug report:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37062#c4 .  Has the
bug reported in comment#4 been fixed?  Is this the bug I'm experiencing
in my test page?




Also, I can confirm the following bug, I also experience it: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=42314

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

Reply via email to