You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jon Lancelle <la...@pacbell.net> on 2001/03/13 02:15:23 UTC

C2: Database and page editing/updating

While working with the samples that are part of C2, I have been altering
them and reloading the page to see the update. Half of the time it
works, the other half I get a Resource-not-found error.

I'll shut down the server and Tomcat, start again, and after a bit (not
always) I can start to see the updates. Then the above paragraph happens
all over again.

This seems to happen only when fudging with the esql.xsp page. I change
it, save it to disk, then reload and usually see the resulting change,
but not always.

I am changing the files under the Tomcat directory, down in the webapp
directory space. Of course, in the ideal world rebuilding the WAR file
would be done. However, I have found the Tomcat webapp subdirectory
cocoon (as where the samples are) MUST be deleted first in order to get
the cocoon.war file to spin out the updates. Editing the files directly
saves time (so I thought.)

I do the above stuff usually while the server and Tomcat 3.0 are
running.

Any ideas?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Database and page editing/updating

Posted by Colin Britton <cb...@centervilletech.com>.
To make life easier.... I use the following build options to reload Tomcat.

.\build.bat
clean  -Dinclude.webapp.libs=yes  -Dremove.webapp=yes -Dinstall.war=
CATALINA_HOME%\webapps install

Tomcat needs to be stopped before running it so that the remove works.
Catalina also has a set of management functions to force it to reload
webapps and even install a war remotely. I have not yet used these.

rgds
CB
----- Original Message -----
From: "Jon Lancelle" <la...@pacbell.net>
To: <co...@xml.apache.org>
Sent: Monday, March 12, 2001 8:15 PM
Subject: C2: Database and page editing/updating


> While working with the samples that are part of C2, I have been altering
> them and reloading the page to see the update. Half of the time it
> works, the other half I get a Resource-not-found error.
>
> I'll shut down the server and Tomcat, start again, and after a bit (not
> always) I can start to see the updates. Then the above paragraph happens
> all over again.
>
> This seems to happen only when fudging with the esql.xsp page. I change
> it, save it to disk, then reload and usually see the resulting change,
> but not always.
>
> I am changing the files under the Tomcat directory, down in the webapp
> directory space. Of course, in the ideal world rebuilding the WAR file
> would be done. However, I have found the Tomcat webapp subdirectory
> cocoon (as where the samples are) MUST be deleted first in order to get
> the cocoon.war file to spin out the updates. Editing the files directly
> saves time (so I thought.)
>
> I do the above stuff usually while the server and Tomcat 3.0 are
> running.
>
> Any ideas?
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org