14 April 2011

Enable Precompilation of jspx pages in weblogic.

To enable locate the weblogic.xml and check the related option "Precompile JSPs"


or

add the following elements in weblogic.xml under the document root:



Pros
  • Errors in pages that cannot be identified with java compilation (javac) or ADF BC validation (ojdeploy) will be identified upon deployment and not during testing.
  • No more delay upon page request for the 1st time. Without precompilation the first time a page is requested, then the jspx is compiled into java.
Cons
  • Longer deployment time. eg it need a few mins more to compile all jspx into java files
In case of error you ll get upon deployment something like this:


Dig more:

No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...
There was an error in this gadget