[JIRA] Created: (HUDSON-5699) Hudson should terminate when it fails to bind to the HTTP port

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5699) Hudson should terminate when it fails to bind to the HTTP port

Hudson issues mailing list
Hudson should terminate when it fails to bind to the HTTP port
--------------------------------------------------------------

                 Key: HUDSON-5699
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5699
             Project: Hudson
          Issue Type: Bug
            Reporter: ramapulavarthi


In my case 8080 is taken by some other app. Hudson shoudl ahev terminated when it found the propblem to bind rather than continuing to start the other agents.

rWinstone 2010/02/18 10:39:49] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
[Winstone 2010/02/18 10:39:49] - AJP13 Listener started: port=8009
[Winstone 2010/02/18 10:39:49] - Error during HTTP listener init or shutdown
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at winstone.HttpListener.getServerSocket(HttpListener.java:102)
        at winstone.HttpListener.run(HttpListener.java:116)
        at java.lang.Thread.run(Thread.java:595)

[Winstone 2010/02/18 10:39:49] - HTTP Listener shutdown successfully
Feb 18, 2010 10:39:49 AM hudson.model.Hudson$4 onAttained
INFO: Started initialization
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Listed all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Prepared all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Started all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Loaded all jobs
Feb 18, 2010 10:39:52 AM hudson.model.Hudson$4 onAttained
INFO: Completed initialization
Feb 18, 2010 10:39:52 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 54989


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5699) Terminate when HTTP port bind fails

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mdonohue updated HUDSON-5699:
-----------------------------

        Summary: Terminate when HTTP port bind fails  (was: Hudson should terminate when it fails to bind to the HTTP port)
    Description:
In my case 8080 is taken by some other app. Hudson should have terminated when it found the problem rather than continuing to start the other agents.

Winstone 2010/02/18 10:39:49] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
[Winstone 2010/02/18 10:39:49] - AJP13 Listener started: port=8009
[Winstone 2010/02/18 10:39:49] - Error during HTTP listener init or shutdown
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at winstone.HttpListener.getServerSocket(HttpListener.java:102)
        at winstone.HttpListener.run(HttpListener.java:116)
        at java.lang.Thread.run(Thread.java:595)

[Winstone 2010/02/18 10:39:49] - HTTP Listener shutdown successfully
Feb 18, 2010 10:39:49 AM hudson.model.Hudson$4 onAttained
INFO: Started initialization
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Listed all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Prepared all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Started all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Loaded all jobs
Feb 18, 2010 10:39:52 AM hudson.model.Hudson$4 onAttained
INFO: Completed initialization
Feb 18, 2010 10:39:52 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 54989


  was:
In my case 8080 is taken by some other app. Hudson shoudl ahev terminated when it found the propblem to bind rather than continuing to start the other agents.

rWinstone 2010/02/18 10:39:49] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
[Winstone 2010/02/18 10:39:49] - AJP13 Listener started: port=8009
[Winstone 2010/02/18 10:39:49] - Error during HTTP listener init or shutdown
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at winstone.HttpListener.getServerSocket(HttpListener.java:102)
        at winstone.HttpListener.run(HttpListener.java:116)
        at java.lang.Thread.run(Thread.java:595)

[Winstone 2010/02/18 10:39:49] - HTTP Listener shutdown successfully
Feb 18, 2010 10:39:49 AM hudson.model.Hudson$4 onAttained
INFO: Started initialization
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Listed all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Prepared all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Started all plugins
Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
INFO: Loaded all jobs
Feb 18, 2010 10:39:52 AM hudson.model.Hudson$4 onAttained
INFO: Completed initialization
Feb 18, 2010 10:39:52 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 54989



> Terminate when HTTP port bind fails
> -----------------------------------
>
>                 Key: HUDSON-5699
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5699
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>            Reporter: ramapulavarthi
>
> In my case 8080 is taken by some other app. Hudson should have terminated when it found the problem rather than continuing to start the other agents.
> Winstone 2010/02/18 10:39:49] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
> [Winstone 2010/02/18 10:39:49] - AJP13 Listener started: port=8009
> [Winstone 2010/02/18 10:39:49] - Error during HTTP listener init or shutdown
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
> at java.net.ServerSocket.bind(ServerSocket.java:319)
> at java.net.ServerSocket.<init>(ServerSocket.java:185)
> at java.net.ServerSocket.<init>(ServerSocket.java:141)
> at winstone.HttpListener.getServerSocket(HttpListener.java:102)
> at winstone.HttpListener.run(HttpListener.java:116)
> at java.lang.Thread.run(Thread.java:595)
> [Winstone 2010/02/18 10:39:49] - HTTP Listener shutdown successfully
> Feb 18, 2010 10:39:49 AM hudson.model.Hudson$4 onAttained
> INFO: Started initialization
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Listed all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Prepared all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Started all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Loaded all jobs
> Feb 18, 2010 10:39:52 AM hudson.model.Hudson$4 onAttained
> INFO: Completed initialization
> Feb 18, 2010 10:39:52 AM hudson.TcpSlaveAgentListener <init>
> INFO: JNLP slave agent listener started on TCP port 54989

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5699) Terminate when HTTP port bind fails

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mdonohue updated HUDSON-5699:
-----------------------------

    Component/s: core

> Terminate when HTTP port bind fails
> -----------------------------------
>
>                 Key: HUDSON-5699
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5699
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>            Reporter: ramapulavarthi
>
> In my case 8080 is taken by some other app. Hudson should have terminated when it found the problem rather than continuing to start the other agents.
> Winstone 2010/02/18 10:39:49] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
> [Winstone 2010/02/18 10:39:49] - AJP13 Listener started: port=8009
> [Winstone 2010/02/18 10:39:49] - Error during HTTP listener init or shutdown
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
> at java.net.ServerSocket.bind(ServerSocket.java:319)
> at java.net.ServerSocket.<init>(ServerSocket.java:185)
> at java.net.ServerSocket.<init>(ServerSocket.java:141)
> at winstone.HttpListener.getServerSocket(HttpListener.java:102)
> at winstone.HttpListener.run(HttpListener.java:116)
> at java.lang.Thread.run(Thread.java:595)
> [Winstone 2010/02/18 10:39:49] - HTTP Listener shutdown successfully
> Feb 18, 2010 10:39:49 AM hudson.model.Hudson$4 onAttained
> INFO: Started initialization
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Listed all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Prepared all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Started all plugins
> Feb 18, 2010 10:39:51 AM hudson.model.Hudson$4 onAttained
> INFO: Loaded all jobs
> Feb 18, 2010 10:39:52 AM hudson.model.Hudson$4 onAttained
> INFO: Completed initialization
> Feb 18, 2010 10:39:52 AM hudson.TcpSlaveAgentListener <init>
> INFO: JNLP slave agent listener started on TCP port 54989

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]