Re: [T5.2] Live class reloading not working with jetty

2010-10-07 Thread Igor Drobiazko
Yes, it worked for 5.1 and still works for 5.2. There are absolutely no
delays.

On Thu, Oct 7, 2010 at 11:42 AM, Blower, Andy andy.blo...@proquest.co.ukwrote:

 We've always added -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true,
 something doesn't work properly if we don't, but that was all done over 2
 years ago. The dev environment hasn't changed, but with T5.2.0 Live class
 reloading no longer works.

 Igor, does live class reloading work properly for you using runjettyrun and
 T5.2.0? I'd imagine for small sites it wouldn't be very easy to notice, but
 for us when we change something (component or page) there's a fairly lengthy
 pause the next time a page is requested. Do this a couple of times, and
 permgen space is quickly exhausted.

 I'm hoping that the a global service reloading switch will be provided so
 we can turn that off and see if we can get components  pages reloading as
 before with T5.0  T5.1

 Thanks,

 Andy.

  -Original Message-
  From: Igor Drobiazko [mailto:igor.drobia...@gmail.com]
  Sent: 06 October 2010 18:44
  To: Tapestry users
  Subject: Re: [T5.2] Live class reloading not working with jetty
 
  I'm using run-jetty-run and there is no need for any configuration.
  Just
  install it and start your web app. The only problem is that JNDI is not
  supported.
 
  On Wed, Oct 6, 2010 at 11:35 AM, Christian Köberl 
  tapestry.christian.koeb...@gmail.com wrote:
 
  
   I think RunJettyRun is also a fork of Jetty Launcher (but I'm not
  sure).
   With RunJettyRun you have to add
   -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true to make
  Tapestry 5
   work (see
  
  http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseRunJettyRun).
  
  
 
 
  --
  Best regards,
 
  Igor Drobiazko
  http://tapestry5.de


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




-- 
Best regards,

Igor Drobiazko
http://tapestry5.de


RE: [T5.2] Live class reloading not working with jetty

2010-10-06 Thread Christian Köberl

Is this a problem of  runjettyrun? 

We're using http://eclipse-jetty.sourceforge.net/ (my fork of Jetty Runner)
with Eclipse Galileo and m2eclipse. Live reloading works for us with this
config.
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/T5-2-Live-class-reloading-not-working-with-jetty-tp5602647p5606005.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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



Re: [T5.2] Live class reloading not working with jetty

2010-10-06 Thread Howard Lewis Ship
What's the difference between RunJettyRun and EclipseJetty?

On Wed, Oct 6, 2010 at 12:11 AM, Christian Köberl
tapestry.christian.koeb...@gmail.com wrote:

 Is this a problem of  runjettyrun?

 We're using http://eclipse-jetty.sourceforge.net/ (my fork of Jetty Runner)
 with Eclipse Galileo and m2eclipse. Live reloading works for us with this
 config.
 --
 View this message in context: 
 http://tapestry-users.832.n2.nabble.com/T5-2-Live-class-reloading-not-working-with-jetty-tp5602647p5606005.html
 Sent from the Tapestry Users mailing list archive at Nabble.com.

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





-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: [T5.2] Live class reloading not working with jetty

2010-10-06 Thread Igor Drobiazko
I'm using run-jetty-run and there is no need for any configuration. Just
install it and start your web app. The only problem is that JNDI is not
supported.

On Wed, Oct 6, 2010 at 11:35 AM, Christian Köberl 
tapestry.christian.koeb...@gmail.com wrote:


 I think RunJettyRun is also a fork of Jetty Launcher (but I'm not sure).
 With RunJettyRun you have to add
 -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true to make Tapestry 5
 work (see
 http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseRunJettyRun).




-- 
Best regards,

Igor Drobiazko
http://tapestry5.de


Re: [T5.2] Live class reloading not working with jetty

2010-10-06 Thread Michael Gentry
I use Maven to run Jetty.  This works inside Eclipse with the
M2Eclipse plugin and also directly from the command-line.  You get to
specify which version of Jetty you want to use and JNDI also works
(just specify Jetty Plus).  I've pretty much abandoned Run Jetty Run
at this point.

mrg


On Wed, Oct 6, 2010 at 1:43 PM, Igor Drobiazko igor.drobia...@gmail.com wrote:
 I'm using run-jetty-run and there is no need for any configuration. Just
 install it and start your web app. The only problem is that JNDI is not
 supported.

 On Wed, Oct 6, 2010 at 11:35 AM, Christian Köberl 
 tapestry.christian.koeb...@gmail.com wrote:


 I think RunJettyRun is also a fork of Jetty Launcher (but I'm not sure).
 With RunJettyRun you have to add
 -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true to make Tapestry 5
 work (see
 http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseRunJettyRun).




 --
 Best regards,

 Igor Drobiazko
 http://tapestry5.de


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



[T5.2] Live class reloading not working with jetty

2010-10-05 Thread Blower, Andy
Since we upgraded to T5.2, live class reloading has not worked correctly, 
however if we downgrade it works fine. We're using Jetty kicked off using the 
runjettyrun plugin for Eclipse.

When making just a simple tml change, using the running application again has a 
long pause before it does anything, and after a few requests it falls over out 
of permgen space.

All of our developers are experiencing this, and it's a real shame that one of 
the major strengths of Tapestry is not working for us anymore. Is there 
something I need to change to get live class reloading working with T5.2?

Thanks,

Andy


Re: [T5.2] Live class reloading not working with jetty

2010-10-05 Thread Howard Lewis Ship
What kind of memory settings are you using?  This works fine for me
(on a Mac of course), but with -Xmx600M ... and you may need to extend
permspace as well.

Long pauses sound like GC to me ...

On Tue, Oct 5, 2010 at 3:52 AM, Blower, Andy andy.blo...@proquest.co.uk wrote:
 Since we upgraded to T5.2, live class reloading has not worked correctly, 
 however if we downgrade it works fine. We're using Jetty kicked off using the 
 runjettyrun plugin for Eclipse.

 When making just a simple tml change, using the running application again has 
 a long pause before it does anything, and after a few requests it falls over 
 out of permgen space.

 All of our developers are experiencing this, and it's a real shame that one 
 of the major strengths of Tapestry is not working for us anymore. Is there 
 something I need to change to get live class reloading working with T5.2?

 Thanks,

 Andy




-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: [T5.2] Live class reloading not working with jetty

2010-10-05 Thread Christian Köberl

Are you using Java 1.5? The classes are not GCed by 1.5 - with 1.6 it works
for us.

Cheers,
Chris
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/T5-2-Live-class-reloading-not-working-with-jetty-tp5602647p5602934.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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