You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Craig Spry <Cr...@redflex.com.au> on 2008/08/27 09:00:45 UTC

[T4.1] Application works fine with Jetty, doesn't work so good with Tomcat

Hello All,

I have a Tapestry 4.1 application that uses a Tacos Tree, which is built from information in a database.  This tree isn't visible from all pages in our application.  Now when I go to the page that has the tree on it and then navigate to a page without the tree on it and make a change which should change the tree and then navigate back to the tree page, I get the following behavior:
Jetty:
Tree looks like it should.
Tomcat:
Tree looks the way it did before the change.

Now is there any setting in tomcat that would change the way the page with the tree on it loads?

Thanks,
Craig Spry

If you are not an authorised recipient of this e-mail, please contact me at Redflex immediately by return phone call or by email. In this case, you should not read, print, retransmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments are confidential and may contain privileged information and/or copyright material of Redflex or third parties. You should only retransmit, distribute or commercialise the material if you are authorised to do so. This notice should not be removed.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: [T4.1] Application works fine with Jetty, doesn't work so good with Tomcat

Posted by Craig Spry <Cr...@redflex.com.au>.
Hello All,

I've found out today that I have this setting in my jetty configuration:

<systemProperty>
                            <name>org.apache.tapestry.disable-caching</name>
                            <value>true</value>
</systemProperty>

When I remove this it behaves the same at it does when running under Tomcat.  Now I've read in the documentation that it is not a good idea to do this in a production environment, is there another way that I can get this page to not be loaded from the cache other than turning this off.

Thanks,

Craig

-----Original Message-----
From: Craig Spry [mailto:CraigS@redflex.com.au]
Sent: Wednesday, 27 August 2008 5:01 PM
To: Tapestry users
Subject: [T4.1] Application works fine with Jetty, doesn't work so good with Tomcat

Hello All,

I have a Tapestry 4.1 application that uses a Tacos Tree, which is built from information in a database.  This tree isn't visible from all pages in our application.  Now when I go to the page that has the tree on it and then navigate to a page without the tree on it and make a change which should change the tree and then navigate back to the tree page, I get the following behavior:
Jetty:
Tree looks like it should.
Tomcat:
Tree looks the way it did before the change.

Now is there any setting in tomcat that would change the way the page with the tree on it loads?

Thanks,
Craig Spry

If you are not an authorised recipient of this e-mail, please contact me at Redflex immediately by return phone call or by email. In this case, you should not read, print, retransmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments are confidential and may contain privileged information and/or copyright material of Redflex or third parties. You should only retransmit, distribute or commercialise the material if you are authorised to do so. This notice should not be removed.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


If you are not an authorised recipient of this e-mail, please contact me at Redflex immediately by return phone call or by email. In this case, you should not read, print, retransmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments are confidential and may contain privileged information and/or copyright material of Redflex or third parties. You should only retransmit, distribute or commercialise the material if you are authorised to do so. This notice should not be removed.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org