Hello,

do you have strong constraint to run Jenkins on top of Tomcat? I think it
would be much simpler for you if you just run Jenkins with the embedded
container and the service wrapper.

Vincent

2015-06-20 12:35 GMT+02:00 capt edgar <[email protected]>:

> Hi Richard
>
> I'm a newbie to Jenkins so did some investigation and it turns out neither
> the SAFERESTART Plugin nor the Jenkins CLI command works if Jenkins is
> installed on Tomcat Server. It will work only if Jenkins is installed as a
> standalone service
>
> java -jar jenkins-cli.jar -noCertificateCheck -s
> https://jenkins-test/login --username **** --password ****
> java -jar jenkins-cli.jar -noCertificateCheck -s
> https://jenkins-test/safe-restart  --username **** --password ****
>
> I kept getting this
>
> root cause
> hudson.lifecycle.RestartNotSupportedException: Default Windows lifecycle
> does not support restart.
>
> It would be nice to have a plugin for Jenkins which will do a safe restart
> if the Jenkins itself is installed on Apache Tomcat
>
> Just out of interest anyone know of commands/scripts to safe-restart
> Tomcat?
>
> Regards
>
> On Saturday, June 20, 2015 at 8:00:41 AM UTC+1, Richard Bywater wrote:
>>
>> Does the safe-restart Jenkins CLI command work with Tomcat?
>>
>> Richard
>>
>> On 4:01AM, Sat, 20/06/2015 capt edgar <[email protected]> wrote:
>>
>>> Hi thomas
>>>
>>> Can you be more specific please?
>>>
>>> Regards
>>>
>>>
>>> On Friday, June 19, 2015 at 4:00:31 PM UTC+1, capt edgar wrote:
>>>>
>>>> Does anyone know or aware of any command-line option or scripts to
>>>> restart Jenkins installed on Apache Tomcat?
>>>>
>>>> I found this on Google
>>>> https://wiki.jenkins-ci.org/display/JENKINS/SafeRestart+Plugin but
>>>> just wondering if anyone had used this plugin to make it work for jenkins
>>>> installed on Apache Tomcat7
>>>>
>>>> regards
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/b90522b0-a9a1-4521-b2e1-eefdde061ab7%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/b90522b0-a9a1-4521-b2e1-eefdde061ab7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/bae006df-b4cf-474b-95a3-85b29c2ca898%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/bae006df-b4cf-474b-95a3-85b29c2ca898%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGCgXT8Si3Tx8snGc0Dio8BzE_z%3D__PZS74vgQ_jzEJo54A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to