Pages

Thursday, November 4, 2010

Tapestr 5 production mode

I think i made very stupid mistake. When i developed my apps i usually set Tapestry 5 production mode to false in my app module using this line :

        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");

since its programmable, this configuration is carried over when i deploy my apps to the server. What I've should have done is I need to override this configuration in the server so my apps would run on production mode. Adding this context-param in my web.xml hopefully would do the job.


<context-param>
<param-name>tapestry.production-mode</param-name>
<param-value>false</param-value>
</context-param>

It gives a little time for me in facing my server memory problem that has been maxed out.

No comments: