From: helix84 <he...@ce...> - 2015-03-10 12:30:53
|
PyServlet Meanwhile I found the stacktraces are logged in /var/log/tomcat8/localhost.`date +%Y-%m-%d`.log Still, during development I'd like them to show up in the page, so my question stands. Learning how to enable/disable it should also allow me to turn them off for applications in production on Tomcat 7. Regards, ~~helix84 On Tue, Mar 10, 2015 at 1:15 PM, Alan Kennedy <jyt...@xh...> wrote: > How are you embedding your jython code into Tomcat? > > Modjy? > PyServlet? > Some other mechanism? > > Is the code for that mechanism publicly available? > > Alan. > > > On Tue, Mar 10, 2015 at 9:20 AM, helix84 <he...@ce...> wrote: > >> 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 >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > |