[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JRebel  XML
Forum Index -> Deployment
Author Message
dstrigel

Power User

Joined: 09/12/2010 09:23:42
Messages: 69
Offline


We using JRebel and had a problem with jsps. Changes we made in a jsp file have not been hotdeployed.

CC does some internal caching and prevents JRebel to reload the jsp file.
If you disable the cache the changes at the jsp file are hotdeployed after we reload the web application (not restart the server).

To disable the caching (hint from Björn Müller)
1. Call ROWINCLUDEComponent.clearLayoutBuffer()
2. use an URL param "cc_clearLayoutBuffer=true" e.g. /demos/faces/hallo.jsp?cc_clearLayoutBuffer=true

If you are call you app per index.html you can add the param there
Code:
<param name='page' value='faces/jsp/surroundingpage.jsp?cc_clearLayoutBuffer=true'>


Regards
Daniel
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 750
Offline

Thank you for your hint!
[WWW]
dstrigel

Power User

Joined: 09/12/2010 09:23:42
Messages: 69
Offline

JRebel 5.1.1

"Das Java-Produktivitätstool JRebel ist in einer aktualisierten Version zu haben. JRebel 5.1.1 bietet Support für Virgo 3.6, JBoss 6 EAP/JBoss 7.1.2, Spring OSGi, JAX-WS auf Weblogic 10, Captain Casa Framework und Spring Nested Beans."

http://it-republik.de/jaxenter/news/JRebel-5.1.1-unterstuetzt-JBoss-7.1.2-065962.html
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team