tag:blogger.com,1999:blog-25040534.post1625985518436005333..comments2023-07-04T13:19:10.576+03:00Comments on dmitrygusev online: GAE and Tapestry5 Exception HandlingAnonymoushttp://www.blogger.com/profile/11233716929223953153noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-25040534.post-63778865506110121242010-09-08T22:11:47.638+04:002010-09-08T22:11:47.638+04:00Totally my fault :)
The "services" pack...Totally my fault :)<br /><br />The "services" package was named "service". <br />So Tapestry could not find the AppModule.java and was loading the default which sets Production_Mode to true.Ashwani Kaulhttps://www.blogger.com/profile/08909347161079279485noreply@blogger.comtag:blogger.com,1999:blog-25040534.post-75487683656088375022010-09-08T17:42:56.715+04:002010-09-08T17:42:56.715+04:00Thanks for the response.
I checked as much as I c...Thanks for the response.<br /><br />I checked as much as I could but there isn't anything that sets Production_Mode to true in that project. <br />Finally I resorted to supplying -Dtapestry.production-mode=false in Tomcat's VM Arguments. It worked but I am still looking for the root cause.<br />Thanks AgainAshwani Kaulhttps://www.blogger.com/profile/08909347161079279485noreply@blogger.comtag:blogger.com,1999:blog-25040534.post-40817835310075384392010-09-08T10:14:04.393+04:002010-09-08T10:14:04.393+04:00Hi,
In production mode there's _should_ be de...Hi,<br /><br />In production mode there's _should_ be detailed exception report. Make sure 1) you're not overriding Exception page with your own 2) no other code set PRODUCTION_MODE symbol to true prior to your code in AppModule 3) no system property -Dtapestry.production-mode=true set<br />(once set you can't override system properties in runtime) <br /><br />You may also find the following discussion of this blog post useful: <a href="http://web.archiveorange.com/archive/v/NzHgIf6ckDyYrE9VLrTT" rel="nofollow">http://web.archiveorange.com/archive/v/NzHgIf6ckDyYrE9VLrTT</a><br /><br />Hope this helpedAnonymoushttps://www.blogger.com/profile/11233716929223953153noreply@blogger.comtag:blogger.com,1999:blog-25040534.post-58889727303762436982010-09-08T05:15:12.945+04:002010-09-08T05:15:12.945+04:00Hi Dmitry,
Thanks for the great page on Exception...Hi Dmitry,<br /><br />Thanks for the great page on Exception.<br />We are having strange issue in our dev environment.<br /><br />The Production_mode is set to false in AppModule.java but the application does not show the complete exception page. Have you dealt with such a case before?Ashwani Kaulhttps://www.blogger.com/profile/08909347161079279485noreply@blogger.com