You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dragan Djuric <dr...@gmail.com> on 2008/03/19 20:12:02 UTC

[T5] Detailed error report page disappeared

HI,

Today I got back to a project that I haven't touched for a couple of months
and noticed that Tapestry error page that is displayed is totally short.
Sometimes it displays only the heading and sometimes a heading and the first
paragraph. I am pretty sure that this problem existed before in this project
but I was neglecting it so I do not know what change caused this to start
happening.

As for greenfield projects, everything is normal. I use Tapestry 5.0.11. and
this was happening for sure in 5.0.8, maybe even earlier. I didn't turn it
off intentionally, nor I know how to do this.

Can somebody tell me what could be the cause of the problem? I know that
Tapestry does this right by default, but what are the most probable
sensitive points in the code that I should look for.

Here is the HTML of the error page (as you can see, it is very minimal):

<html><head><link href="../../assets/tapestry/default.css"
rel="stylesheet" type="text/css"><title>Application
Exception</title></head><body><h1 class="t-exception-report">An
unexpected application exception has
occurred.</h1><p></p></body></html>

RE: [T5] Detailed error report page disappeared

Posted by Jonathan Barker <jo...@gmail.com>.
Check out the tapestry.production-mode parameter on:

http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html


> -----Original Message-----
> From: Dragan Djuric [mailto:dragandj@gmail.com]
> Sent: Wednesday, March 19, 2008 3:12 PM
> To: users@tapestry.apache.org
> Subject: [T5] Detailed error report page disappeared
> 
> HI,
> 
> Today I got back to a project that I haven't touched for a couple of
> months
> and noticed that Tapestry error page that is displayed is totally short.
> Sometimes it displays only the heading and sometimes a heading and the
> first
> paragraph. I am pretty sure that this problem existed before in this
> project
> but I was neglecting it so I do not know what change caused this to start
> happening.
> 
> As for greenfield projects, everything is normal. I use Tapestry 5.0.11.
> and
> this was happening for sure in 5.0.8, maybe even earlier. I didn't turn it
> off intentionally, nor I know how to do this.
> 
> Can somebody tell me what could be the cause of the problem? I know that
> Tapestry does this right by default, but what are the most probable
> sensitive points in the code that I should look for.
> 
> Here is the HTML of the error page (as you can see, it is very minimal):
> 
> <html><head><link href="../../assets/tapestry/default.css"
> rel="stylesheet" type="text/css"><title>Application
> Exception</title></head><body><h1 class="t-exception-report">An
> unexpected application exception has
> occurred.</h1><p></p></body></html>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5] Detailed error report page disappeared

Posted by Dragan Djuric <dr...@dragandjuric.com>.
Yes, that was it!
I know that in the early versions it worked right without touching, but it
seems that the default was changed to production mode = true somewhere
around 5.0.5. I switched to false and I got the detailed report page again.
Thanks!
 

Robert Zeigler wrote:
> 
> Check on the value of the "production mode" symbol?
> Detailed exception reports are disabled in production mode.
> New apps created with the archetype default to disabling production  
> mode (if I remember correctly).
> You could try adding:
> -Dtapestry.production-mode=false
> to your runtime configuration to see if that brings back the detailed  
> exception reports.
> 
> Robert
> 
> On Mar 19, 2008, at 3/192:12 PM , Dragan Djuric wrote:
>> HI,
>>
>> Today I got back to a project that I haven't touched for a couple of  
>> months
>> and noticed that Tapestry error page that is displayed is totally  
>> short.
>> Sometimes it displays only the heading and sometimes a heading and  
>> the first
>> paragraph. I am pretty sure that this problem existed before in this  
>> project
>> but I was neglecting it so I do not know what change caused this to  
>> start
>> happening.
>>
>> As for greenfield projects, everything is normal. I use Tapestry  
>> 5.0.11. and
>> this was happening for sure in 5.0.8, maybe even earlier. I didn't  
>> turn it
>> off intentionally, nor I know how to do this.
>>
>> Can somebody tell me what could be the cause of the problem? I know  
>> that
>> Tapestry does this right by default, but what are the most probable
>> sensitive points in the code that I should look for.
>>
>> Here is the HTML of the error page (as you can see, it is very  
>> minimal):
>>
>> <html><head><link href="../../assets/tapestry/default.css"
>> rel="stylesheet" type="text/css"><title>Application
>> Exception</title></head><body><h1 class="t-exception-report">An
>> unexpected application exception has
>> occurred.</h1><p></p></body></html>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-T5--Detailed-error-report-page-disappeared-tp16162845p16177480.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5] Detailed error report page disappeared

Posted by Chris Poulsen <ma...@nesluop.dk>.
Hi,

Perhaps this one should go into a FAQ/tutorial/cookbook somewhere? I 
think it would be a great help for people new to the framework.

-- 
Chris

Robert Zeigler wrote:
> Check on the value of the "production mode" symbol?
> Detailed exception reports are disabled in production mode.
> New apps created with the archetype default to disabling production mode 
> (if I remember correctly).
> You could try adding:
> -Dtapestry.production-mode=false
> to your runtime configuration to see if that brings back the detailed 
> exception reports.
> 
> Robert
> 
> On Mar 19, 2008, at 3/192:12 PM , Dragan Djuric wrote:
>> HI,
>>
>> Today I got back to a project that I haven't touched for a couple of 
>> months
>> and noticed that Tapestry error page that is displayed is totally short.
>> Sometimes it displays only the heading and sometimes a heading and the 
>> first
>> paragraph. I am pretty sure that this problem existed before in this 
>> project
>> but I was neglecting it so I do not know what change caused this to start
>> happening.
>>
>> As for greenfield projects, everything is normal. I use Tapestry 
>> 5.0.11. and
>> this was happening for sure in 5.0.8, maybe even earlier. I didn't 
>> turn it
>> off intentionally, nor I know how to do this.
>>
>> Can somebody tell me what could be the cause of the problem? I know that
>> Tapestry does this right by default, but what are the most probable
>> sensitive points in the code that I should look for.
>>
>> Here is the HTML of the error page (as you can see, it is very minimal):
>>
>> <html><head><link href="../../assets/tapestry/default.css"
>> rel="stylesheet" type="text/css"><title>Application
>> Exception</title></head><body><h1 class="t-exception-report">An
>> unexpected application exception has
>> occurred.</h1><p></p></body></html>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5] Detailed error report page disappeared

Posted by Robert Zeigler <ro...@scazdl.org>.
Check on the value of the "production mode" symbol?
Detailed exception reports are disabled in production mode.
New apps created with the archetype default to disabling production  
mode (if I remember correctly).
You could try adding:
-Dtapestry.production-mode=false
to your runtime configuration to see if that brings back the detailed  
exception reports.

Robert

On Mar 19, 2008, at 3/192:12 PM , Dragan Djuric wrote:
> HI,
>
> Today I got back to a project that I haven't touched for a couple of  
> months
> and noticed that Tapestry error page that is displayed is totally  
> short.
> Sometimes it displays only the heading and sometimes a heading and  
> the first
> paragraph. I am pretty sure that this problem existed before in this  
> project
> but I was neglecting it so I do not know what change caused this to  
> start
> happening.
>
> As for greenfield projects, everything is normal. I use Tapestry  
> 5.0.11. and
> this was happening for sure in 5.0.8, maybe even earlier. I didn't  
> turn it
> off intentionally, nor I know how to do this.
>
> Can somebody tell me what could be the cause of the problem? I know  
> that
> Tapestry does this right by default, but what are the most probable
> sensitive points in the code that I should look for.
>
> Here is the HTML of the error page (as you can see, it is very  
> minimal):
>
> <html><head><link href="../../assets/tapestry/default.css"
> rel="stylesheet" type="text/css"><title>Application
> Exception</title></head><body><h1 class="t-exception-report">An
> unexpected application exception has
> occurred.</h1><p></p></body></html>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org