Hi Thien-
Precompiling jsps is great, but you need to tell weblogic's runtime where to look for them.
To do that, you need to edit/create your weblogic.xml file (under WEB-INF) and add the workingDir param.
<jsp-descriptor>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>autodeploy/mywebapp/WEB-INF/classes</param-value>
</jsp-param>
</jsp-descriptor>
If you do this, the files should not be compiled twice. This works on my local windows machine in exploded webapp format.
Adam Brod
Product Development Team
| THIEN PHAM <[EMAIL PROTECTED]>
03/16/2006 01:01 PM
|
|
Hi,
My Myfaces application seems to take a long time to
respond when its pages are accessed for the first time
in WebLogic 8.1 (though this problem is not seen with
JBoss 4 or Websphere 6). Now that's probably okay
because of the first time compilation of the involved
JSP files. I'd like to precompile JSP pages of my
application so that it can be deployed and used by WL.
I have followed all kinds of instructions from BEA
website from using weblogic.jspc to weblogic.appc
tools but to no avail. The tools do generate byte
codes for these pages and place them under
WEB-INF/classes. But WL still recompile these pages
(instead of using classes under WEB-INF/classes
directory) when they're access for the first time.
Does anyone have any success in doing this? I'd
appreciate very much if you can show me how. Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

