error reporting in tomcat 8

helix84 <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <CAGdvKqixYEs9ODqhykXrCSuvNEOVKqWtLjnGKKO4CCcd4AG=TQ@mail.gmail.com>
Hello,

I just installed Tomcat 8 from Debian Jessie and found out that error
reporting in jython behaves differently than in Tomcat 7.

In my Tomcat 8, when there's a syntax error in my jython script, HTTP 500
status is returned and the stacktrace is in catalina.out. However, when the
code raises an exception, a stacktrace is not returned, not logged and the
connection is closed at that point. I reproduced this with both Jython
2.5.3 and 2.7b4.

In Tomcat 7, HTTP 500 status with a stacktrace was returned and the
stacktrace was written into catalina.out.

Did anyone else notice this? Is it a configuration issue? Does it happen
with upstream (non-Debian Tomcat)?

Thanks in advance.

Regards,
~~helix84

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.