You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nille hammer <ta...@winfonet.eu> on 2010/11/10 23:27:00 UTC
T5.2.2 Auto reloading of js-file for a mixin
Hi folks,
I am starting to develop mixins. As a start I have implemented the Confirm-Mixin exactly as shown in the wiki: http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained. Everything works as expected.
Next I wanted to tweak the JavaScript a bit. But after saving the changes and hitting the refresh button in the browser I got 404 NOT_FOUND error from jetty. My first guess was, that the js-file could not be found. But I get this error for every page I try to load after that. And as one strange effect, when i call the root URL of the context (http://localhost:8080/myContext/) jetty tells me "/myContext/index.jsp" not found. It seems like the TapestryFilter died somehow. In the jetty-Logs no Exceptions nor Errors are reported. I just see the normal GET-requests and the 404 responses.
I have set up the project using the maven archetype and start jetty from the console by issueing "mvn jetty:run". Does anyone have a hint how to track down the reason for this error? Or do I have an error in my project configuration?
Thanks in advance,
nillehammer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.2.2 Auto reloading of js-file for a mixin
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 10 Nov 2010 20:27:00 -0200, nille hammer
<ta...@winfonet.eu> wrote:
> Hi folks,
Hi!
> Next I wanted to tweak the JavaScript a bit. But after saving the
> changes and hitting the refresh button in the browser I got 404
> NOT_FOUND error from jetty. My first guess was, that the js-file could
> not be found. But I get this error for every page I try to load after
> that. And as one strange effect, when i call the root URL of the
> context (http://localhost:8080/myContext/) jetty tells me
> "/myContext/index.jsp" not found. It seems like the TapestryFilter died
> somehow. In the jetty-Logs no Exceptions nor Errors are reported. I just
> see the normal GET-requests and the 404 responses.
Are you using Windows? If yes, read this:
http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org