Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

Dispatcher: cannot see changes done in xml-files

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


borre.gaup at uit

Jul 8, 2012, 10:44 PM

Post #1 of 4 (1850 views)
Permalink
Dispatcher: cannot see changes done in xml-files

Hi!

I have enabled dispatcher for a site I use.

When I run a live instance of forrest and do changes in xml files, I don't see
the changes in my web browser when I refresh the page.

To see the changes I have to restart forrest and then refresh the page. This
is not the case if I don't use the dispatcher.

Is there a solution to this problem?
--
Børre Gaup
http://divvun.no/
Mob: +47 41 08 03 64

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


bdube at apache

Jul 12, 2012, 4:03 PM

Post #2 of 4 (1749 views)
Permalink
Re: Dispatcher: cannot see changes done in xml-files [In reply to]

On 07/08/2012 10:44 PM, Gaup Børre wrote:
> Hi!

Hello,

> I have enabled dispatcher for a site I use.
>
> When I run a live instance of forrest and do changes in xml files, I don't see
> the changes in my web browser when I refresh the page.
>
> To see the changes I have to restart forrest and then refresh the page. This
> is not the case if I don't use the dispatcher.
>
> Is there a solution to this problem?

This sounds a little familiar to something I've seen. What are you using
to serve the site, the embedded Jetty or an application server? Have you
configured the Cocoon cache or left the defaults in place?

Brian


crossley at apache

Jul 12, 2012, 6:27 PM

Post #3 of 4 (1754 views)
Permalink
Re: Dispatcher: cannot see changes done in xml-files [In reply to]

Brian M Dube wrote:
> Gaup Børre wrote:
> >
> > I have enabled dispatcher for a site I use.
> >
> > When I run a live instance of forrest and do changes in xml files, I don't see
> > the changes in my web browser when I refresh the page.
> >
> > To see the changes I have to restart forrest and then refresh the page. This
> > is not the case if I don't use the dispatcher.
> >
> > Is there a solution to this problem?
>
> This sounds a little familiar to something I've seen. What are you using
> to serve the site, the embedded Jetty or an application server? Have you
> configured the Cocoon cache or left the defaults in place?

I can see the behaviour that Børre describes.
Using current head of svn trunk 0.10-dev with its sample site.
Doing a fresh 'forrest seed-sample' and then configuring its
forrest.properties to use Dispatcher. Then 'forrest run' so using
the embedded Jetty.

I found one old related discussion:
Subject: Dispatcher caches too eagerly
Date: 2010-05-22
http://thread.gmane.org/gmane.text.xml.forrest.devel/27855
I did not look further around that date or in JIRA.

This sounds like something for the "dev" mailing list.

-David


borre.gaup at uit

Jul 13, 2012, 1:15 AM

Post #4 of 4 (1750 views)
Permalink
Re: Dispatcher: cannot see changes done in xml-files [In reply to]

Bearjadat, suoidnemánu 13. b. 2012 11.27.19 David Crossley čálii:
> Brian M Dube wrote:
> > Gaup Børre wrote:
> > > I have enabled dispatcher for a site I use.
> > >
> > > When I run a live instance of forrest and do changes in xml files, I
> > > don't see the changes in my web browser when I refresh the page.
> > >
> > > To see the changes I have to restart forrest and then refresh the page.
> > > This is not the case if I don't use the dispatcher.
> > >
> > > Is there a solution to this problem?
> >
> > This sounds a little familiar to something I've seen. What are you using
> > to serve the site, the embedded Jetty or an application server? Have you
> > configured the Cocoon cache or left the defaults in place?
>
> I can see the behaviour that Børre describes.
> Using current head of svn trunk 0.10-dev with its sample site.
> Doing a fresh 'forrest seed-sample' and then configuring its
> forrest.properties to use Dispatcher. Then 'forrest run' so using
> the embedded Jetty.
>
> I found one old related discussion:
> Subject: Dispatcher caches too eagerly
> Date: 2010-05-22
> http://thread.gmane.org/gmane.text.xml.forrest.devel/27855
> I did not look further around that date or in JIRA.
>
> This sounds like something for the "dev" mailing list.
>

Thank you for the answers.

I made an issue on JIRA: https://issues.apache.org/jira/browse/FOR-1234
Hopefully I pointed it to the correct component.

--
Børre Gaup
http://divvun.no/

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.