-
1. Re: What is caching in Seam or JBoss?
tony.herstell1 Dec 21, 2010 12:34 AM (in response to tony.herstell1)xmlns:framework="http://jboss.com/products/seam/framework" xmlns:web="http://jboss.com/products/seam/web" xsi:schemaLocation="... http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd"> <web:hot-deploy-filter installed="false" disabled="true"/>
This does not work by the way.
Sorry for spelling earlier, I hit send as apposed to preview.
Tony
www.thesoftfact.com -
2. Re: What is caching in Seam or JBoss?
jaikiran.jai_forums2005.yahoo.co.in Dec 21, 2010 2:18 AM (in response to tony.herstell1)Just a FYI - this is also being discussed here http://community.jboss.org/message/576892#576892 -
3. Re: What is caching in Seam or JBoss?
tony.herstell1 Dec 21, 2010 2:39 AM (in response to tony.herstell1)Yes, that was my post. ... and answered (I hope).
Seems to be working again now.
Make change to .xhtml, save, refresh, instant change to page.
Will try with code to see if has same effect shortly.<?xml version="1.0" encoding="UTF-8"?> <!-- JBoss Seam + JBossAS integration --> <deployment xmlns="urn:jboss:bean-deployer:2.0"> <!-- Seam deployer --> <bean name="SeamDeployer" class="org.jboss.seam.integration.microcontainer.deployers.SeamWebUrlIntegrationDeployer"/> <!-- Seam modification type matcher --> <!--<bean name="SeamMTMatcher" class="org.jboss.seam.integration.microcontainer.deployers.SeamTempModificationTypeMatcher"/>--> </deployment>
-
4. Re: What is caching in Seam or JBoss?
tony.herstell1 Dec 21, 2010 3:15 AM (in response to tony.herstell1)Can a Seamster give any indication what the side effects of commenting this out are.
Hopefully it was just added for Ant/Maven users to get thir stuff deploying in which case there should be none.
Thx. -
5. Re: What is caching in Seam or JBoss?
mana.hotmana76.gmail.com Dec 21, 2010 3:05 PM (in response to tony.herstell1)Commenting out is the result of JBoss AS 5 bug/feature. Look at http://community.jboss.org/thread/2417
-
6. Re: What is caching in Seam or JBoss?
antibrumm.mfrey0.bluewin.ch Dec 22, 2010 1:12 AM (in response to tony.herstell1)Hi
I dont know if this could help you but i've built an antscript that searches the temporary deploy folder and copies the webapp folder from my eclipse projekt into it. This works quite perfectly for me since i do not need to restart jboss all the time. I dont have the andscript here right now but i can provide it if you like.I use eclipse helios, maven and jboss4.2.2
-
7. Re: What is caching in Seam or JBoss?
tony.herstell1 Dec 22, 2010 4:14 AM (in response to tony.herstell1)Thank you Martin but we moved away from the need for Ant or indeed any build system a few years ago and would not like to go back to those days unless we absolutely had to.
-
8. Re: What is caching in Seam or JBoss?
aareshchanka Dec 22, 2010 3:07 PM (in response to tony.herstell1)That is not problem of Seam but IDE problem.
One solution is:
You can configure server in ide in such a way that it will deploy files to jboss deploy folder.
Then write ant script that will copy xhtml files from eclipse to jboss. Add builder in eclipse to your project that will automatically invoke copy script after save. Make it run in background. There is 100% garantee that all changes will be applied on the server.
Regards, Alex.
-
9. Re: What is caching in Seam or JBoss?
tony.herstell1 Dec 22, 2010 5:03 PM (in response to tony.herstell1)Thanks for reply Alex.
The above Solution (comment out some of JBoss config) seems to have done the trick as it removed the 5 second lag.
I would not be surprised if MyEclipse does something like you suggest under the join but it is abstracted away.
Tony