users@glassfish.java.net

Re: Glassfish clean always compiled JSP

From: <glassfish_at_javadesktop.org>
Date: Sat, 06 Sep 2008 03:51:40 PDT

You have two options to deal with this...

1) Please select the option to pre-compile JSPs during deployment. On the deploy screen of the Admin GUI, it is check box option. In CLI, use [i]--precompilejsp=true[/i]. Refer to [i]deploy[/i] command details at http://docs.sun.com/app/docs/doc/820-4046/deploy-1?a=view

2) Alternatively, if you have any issues with pre-compiling the JSPs, you may tell the remote server instance to not delete the compiled JSP files. You may use the [i]doNotRemoveList[/i] flag. For example,
<node-agent name="na1" ...>
...
<property name="INSTANCE-SYNC-JVM-OPTIONS" value="-Dcom.sun.appserv.doNotRemoveList=generated/jsp/j2ee-apps/<your EAR name>"/>
</node–agent>

See http://docs.sun.com/app/docs/doc/819-3679/abdkh?a=view

I recommend option #1.

Hope this helps.

--Nazrul
[Message sent by forum member 'ai109478' (ai109478)]

http://forums.java.net/jive/thread.jspa?messageID=297613