Actually, my below theory regarding the contribute's was incorrect - it seems to be some kind of race condition with my service bindings.

If I do not eagerLoad any the services in my component library, LCR works fine.

If I eagerLoad one of my component library services LCR intermittently does not work. By this I mean, for >50% of the server restarts, LCR does not work at all.

I have no idea how to debug or fix this...

On 16/01/2012 9:23 PM, Paul Stanton wrote:
After a couple of weeks working with eclipse+tomcat+live class reloading working just fine I've managed to break it all.

I just included a JAR which is a component library I have written (with its own Module). I used the guide (http://tapestry.apache.org/component-libraries.html) to configure my component library.

Suddenly, live class reloading doesn't work anymore!

I narrowed it down to having either of 'contributeComponentClassResolver' or 'contributeClasspathAssetAliasManager' in the component library's module - if I remove them both, LCR works once again.

However, I then can't use my component library...

Can anyone help me use LCR & my component library?

Thanks, Paul.

On 11/01/2012 4:10 PM, Paul Stanton wrote:
kalle, one other tip for your document which was a bit of a gotcha today (when adding a 2nd project):

Make sure 'Automatically compute' is checked on the 'Source path' page of window>preferences>tomcat section.

This tip could go between point 6.3 and 6.4.

On 7/01/2012 3:24 PM, Kalle Korhonen wrote:
On Fri, Dec 23, 2011 at 1:23 PM, Paul Stanton<p...@mapshed.com.au> wrote:
That document is great, much better than what I could find last time around. The only step which I had to go searching elsewhere to solve was finding
where the "DevLoader" was!
I figured out (google) that the devloader package is actually within the
Sysdeo plugin (as a zip) and that you need to:
1. extract Devloader.zip from the Sysdeo tomcat plugin archive
2. rename Devloader.zip to Devloader.jar
3. move Devloader.jar to tomcat/lib
adding this to the document might save the next guy 15 minutes ;)
Thanks Paul, added. That part actually wasn't up-to-date - for some
time, I had maintained my own version of the devloader (which was
downloadable from this page) until Sysdeo caught up, but hadn't
updated that part of the guide after the official version was
released. No idea about the classloader issue at the moment, have to
look into it.

Kalle

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



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



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



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

Reply via email to