Thanks for keeping up on this. We appreciate the work you guys have done.

ray

From: Szczepan Faber [via Gradle] 
[mailto:[email protected]]
Sent: Tuesday, May 15, 2012 4:14 AM
To: Ray Navarette
Subject: Re: Stopping Jetty

Do we need to raise an issue for this?

Ray has already reported it: http://issues.gradle.org/browse/GRADLE-2263

> So, whenever running in daemon mode, we don't create a stop monitor, and so
> we can't stop a running server using the jettyStop task.  Does anyone know
> of a reason for this, or is it a bug?

This is a missing capability and thanks for reporting it at jira. Nobody 
reported it because most users probably use the jetty plugin slightly 
differently :)

Cheers!

>
> Background:
>
> I'm having a problem stopping a jetty server that is running as a daemon.
> The server is started using jettyRunWar before running tests and then is
> supposed to be stopped afterward.  The tasks are running properly and in the
> proper order.
>
> As far as I can tell, the jettyRunWar task is not paying attention to the
> stopPort as configured in the gradle script.  If I monitor the build by
> pausing before and after the jettyRunWar task, I can use netstat and see
> that there is no listening port using the number i set for stopPort.  So,
> when jettyStop runs, it doesn't do anything because there is no monitor
> listening on the expected port.
>
> I think that most users wouldn't notice this issue because the server is
> properly stopped when the gradle script finishes execution.  In our case
> though, we start and stop multiple jetty servers in the course of a build to
> run different sets of acceptance tests.  Whenever the second set of tests
> starts (in whatever order we run them) they fail because the webapp is not
> deployed properly to the server due to the previous server not shutting
> down.
>
> Thanks,
> ray
>
> --
> View this message in context: 
> http://gradle.1045684.n5.nabble.com/Stopping-Jetty-tp5662999p5662999.html
> Sent from the gradle-dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




--
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

________________________________
If you reply to this email, your message will be added to the discussion below:
http://gradle.1045684.n5.nabble.com/Stopping-Jetty-tp5662999p5709766.html
To start a new topic under gradle-dev, email 
[email protected]
To unsubscribe from gradle-dev, click 
here<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1436218&code=cmF5Lm5hdmFyZXR0ZUBwYi5jb218MTQzNjIxOHw5MjA0NTQ4NTU=>.
NAML<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

________________________________



--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Stopping-Jetty-tp5662999p5709768.html
Sent from the gradle-dev mailing list archive at Nabble.com.

Reply via email to