slave cannot connect to master (1.224)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

slave cannot connect to master (1.224)

Michael Donohue-2

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 

Reply | Threaded
Open this post in threaded view
|

RE: slave cannot connect to master (1.224)

Michael Donohue-2

I think I see the problem now.   Using HUDSON_HOME doesn’t completely isolate one installation from another, at least if you’re using winstone, as the war file is still unpacked under $HOME/.hudson/war

 

I had recently tried running the 1.235 version of Hudson to try out my bugzilla plugin, and this replaces the ‘war’ directory that was in use by my production Hudson server.  L

Is there a different variable I should be using to completely separate the Hudson installations?

 


From: Donohue, Michael [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:07 AM
To: [hidden email]
Subject: slave cannot connect to master (1.224)

 

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 

Reply | Threaded
Open this post in threaded view
|

RE: slave cannot connect to master (1.224)

Adam Purkiss
see http://hudson.gotdns.com/wiki/display/HUDSON/Installation+and+Execution
 
 
You need to add this though.
 
--webroot=~/.hudson/war Tells Hudson where to expand the war file for the bundled servlet container to use.  The default is ~/.hudson/war .

 

Also if that is not enough try looking at http://winstone.sourceforge.net/#commandLine





Date: Fri, 18 Jul 2008 11:25:30 -0600
From: [hidden email]
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)


I think I see the problem now.   Using HUDSON_HOME doesn’t completely isolate one installation from another, at least if you’re using winstone, as the war file is still unpacked under $HOME/.hudson/war

 

I had recently tried running the 1.235 version of Hudson to try out my bugzilla plugin, and this replaces the ‘war’ directory that was in use by my production Hudson server.  L

Is there a different variable I should be using to completely separate the Hudson installations?

 


From: Donohue, Michael [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:07 AM
To: [hidden email]
Subject: slave cannot connect to master (1.224)

 

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 



Reply | Threaded
Open this post in threaded view
|

RE: slave cannot connect to master (1.224)

Adam Purkiss
I use the following script taken from the wiki and modified ever so slightly (a couple of + changed to - as our linux box did not like the + so I can start and hudson by going ./hudson.sh start|stop|restart
 
#!/bin/bash
#
# Startup script for Hudson
#
# chkconfig: - 84 16
# description: Hudson CI server
# Source function library.
. /etc/rc.d/init.d/functions
[ -z "$JAVA_HOME" -a -x /etc/profile.d/java.sh ] && . /etc/profile.d/java.sh
LOG="/home/hudson/hudson/hudson.log"
LOCK="/home/hudson/hudson/hudson.lck"
export JAVA_HOME=/usr/java/jdk
export PATH=$PATH:/usr/java/jdk/bin

RETVAL=0
pid_of_hudson() {
    ps auxwww | grep java | grep hudson | grep -v grep | awk '{print $2}'
}
start() {
    [ -e "$LOG" ] && cnt=`wc -l "$LOG" | awk '{ print $1 }'` || cnt=1
    echo -n $"Starting hudson: "
    nohup java -Xmx512m -Djava.io.tmpdir=tmp -jar hudson/hudson.war --httpPort=8081 --ajp13Port=8010 >> "$LOG" 2>&1 &
    while { pid_of_hudson > /dev/null ; } &&
          ! { tail -$cnt "$LOG" | grep -q 'Winstone Servlet Engine .* running' ; } ; do
        sleep 1
    done
    pid_of_hudson > /dev/null
    RETVAL=$?
    [ $RETVAL = 0 ] && success $"$STRING" || failure $"$STRING"
    echo
    [ $RETVAL = 0 ] && touch "$LOCK"
}
stop() {
    echo -n "Stopping hudson: "
    pid=`pid_of_hudson`
    [ -n "$pid" ] && kill $pid
    RETVAL=$?
    cnt=10
    while [ $RETVAL = 0 -a $cnt -gt 0 ] &&
          { pid_of_hudson > /dev/null ; } ; do
        sleep 1
        ((cnt--))
    done
    [ $RETVAL = 0 ] && rm -f "$LOCK"
    [ $RETVAL = 0 ] && success $"$STRING" || failure $"$STRING"
    echo
}

status() {
    pid=`pid_of_hudson`
    if [ -n "$pid" ]; then
        echo "hudson (pid $pid) is running..."
        return 0
    fi
    if [ -f "$LOCK" ]; then
        echo $"${base} dead but subsys locked"
        return 2
    fi
    echo "hudson is stopped"
    return 3
}
# See how we were called.
case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  status)
    status
    ;;
  restart)
    stop
    start
    ;;
  *)
    echo $"Usage: $0 {start|stop|restart|status}"
    exit 1
esac
exit $RETVAL







From: [hidden email]
To: [hidden email]
Date: Fri, 18 Jul 2008 13:43:37 -0400
Subject: RE: slave cannot connect to master (1.224)

see http://hudson.gotdns.com/wiki/display/HUDSON/Installation+and+Execution
 
 
You need to add this though.
 

--webroot=~/.hudson/war Tells Hudson where to expand the war file for the bundled servlet container to use.  The default is ~/.hudson/war .

 

Also if that is not enough try looking at http://winstone.sourceforge.net/#commandLine





Date: Fri, 18 Jul 2008 11:25:30 -0600
From: [hidden email]
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)


I think I see the problem now.   Using HUDSON_HOME doesn’t completely isolate one installation from another, at least if you’re using winstone, as the war file is still unpacked under $HOME/.hudson/war

 

I had recently tried running the 1.235 version of Hudson to try out my bugzilla plugin, and this replaces the ‘war’ directory that was in use by my production Hudson server.  L

Is there a different variable I should be using to completely separate the Hudson installations?

 


From: Donohue, Michael [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:07 AM
To: [hidden email]
Subject: slave cannot connect to master (1.224)

 

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 





Reply | Threaded
Open this post in threaded view
|

RE: slave cannot connect to master (1.224)

Michael Donohue-2
In reply to this post by Adam Purkiss

It looks like that script doesn’t use the –webroot option at all.   I think it would be better for webroot to default to $HUDSON_HOME/war, instead of $HOME/.hudson/war  

I filed issue 2098 to make that change.

 

Thanks for the tip, I should have read the docs more carefully before posting.

 

-Michael

 

 


From: Adam Purkiss [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:44 AM
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)

 

see http://hudson.gotdns.com/wiki/display/HUDSON/Installation+and+Execution
 
 
You need to add this though.
 

--webroot=~/.hudson/war

Tells Hudson where to expand the war file for the bundled servlet container to use.  The default is ~/.hudson/war .


 

Also if that is not enough try looking at http://winstone.sourceforge.net/#commandLine




Date: Fri, 18 Jul 2008 11:25:30 -0600
From: [hidden email]
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)

I think I see the problem now.   Using HUDSON_HOME doesn’t completely isolate one installation from another, at least if you’re using winstone, as the war file is still unpacked under $HOME/.hudson/war

 

I had recently tried running the 1.235 version of Hudson to try out my bugzilla plugin, and this replaces the ‘war’ directory that was in use by my production Hudson server.  L

Is there a different variable I should be using to completely separate the Hudson installations?

 


From: Donohue, Michael [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:07 AM
To: [hidden email]
Subject: slave cannot connect to master (1.224)

 

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 

 


Reply | Threaded
Open this post in threaded view
|

RE: slave cannot connect to master (1.224)

Adam Purkiss
the script does not, kind of just threw that in as something of interest, but should not be difficult to make the change if its useful to you.




Date: Fri, 18 Jul 2008 21:03:19 -0600
From: [hidden email]
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)

It looks like that script doesn’t use the –webroot option at all.   I think it would be better for webroot to default to $HUDSON_HOME/war, instead of $HOME/.hudson/war  

I filed issue 2098 to make that change.

 

Thanks for the tip, I should have read the docs more carefully before posting.

 

-Michael

 

 


From: Adam Purkiss [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:44 AM
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)

 

see http://hudson.gotdns.com/wiki/display/HUDSON/Installation+and+Execution
 
 
You need to add this though.
 

--webroot=~/.hudson/war

Tells Hudson where to expand the war file for the bundled servlet container to use.  The default is ~/.hudson/war .


 

Also if that is not enough try looking at http://winstone.sourceforge.net/#commandLine




Date: Fri, 18 Jul 2008 11:25:30 -0600
From: [hidden email]
To: [hidden email]
Subject: RE: slave cannot connect to master (1.224)

I think I see the problem now.   Using HUDSON_HOME doesn’t completely isolate one installation from another, at least if you’re using winstone, as the war file is still unpacked under $HOME/.hudson/war

 

I had recently tried running the 1.235 version of Hudson to try out my bugzilla plugin, and this replaces the ‘war’ directory that was in use by my production Hudson server.  L

Is there a different variable I should be using to completely separate the Hudson installations?

 


From: Donohue, Michael [mailto:[hidden email]]
Sent: Friday, July 18, 2008 10:07 AM
To: [hidden email]
Subject: slave cannot connect to master (1.224)

 

Hudson 1.224.  The master server was last restarted on the 13th.  One of my slave machines disconnected a couple of days ago – it looks like at the time of the JVM hang in the wrapper.log.  It’s setup as a windows service, so I logged in and had the service restart, but the slave never showed up as available on the Hudson configuration screen.  I’m getting a set of stack traces printed to the console on the master.   

I’ve browsed the release notes, and I don’t see this issue being fixed in a more recent release, I also searched the bug tracker for “Socket” and found nothing.  I don’t know what the maven-agent error is about; we don’t use maven here.   It seems like this might be a leak of network sockets, but the rest of the Hudson installation is still working fine.

 

The end of the wrapper.log:

 

STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...

ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out waiting for signal from JVM.

ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request, terminated

STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...

STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped

STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service

STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...

 

The master console output:

 

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

INFO: Accepted connection #9263 from /10.0.0.118:1225

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler run

WARNING: Connection #9263 failed

java.io.FileNotFoundException: /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent

-1.224.jar (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at hudson.FilePath$21.invoke(FilePath.java:738)

        at hudson.FilePath$21.invoke(FilePath.java:736)

        at hudson.FilePath.act(FilePath.java:315)

        at hudson.FilePath.copyTo(FilePath.java:736)

        at hudson.FilePath.copyTo(FilePath.java:724)

        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav

eAgentListener.java:180)

        at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

ner.java:130)

Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run

SEVERE: I/O error in channel bsod

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos

ed

WARNING: Connection #9263 terminated

java.net.SocketException: Socket closed

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2249)

        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream

.java:2542)

        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

ream.java:2552)

        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)

        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

 

 

 




Reply | Threaded
Open this post in threaded view
|

Re: slave cannot connect to master (1.224)

Kohsuke Kawaguchi
Administrator
In reply to this post by Michael Donohue-2
Donohue, Michael wrote:

> I think I see the problem now.   Using HUDSON_HOME doesn't completely
> isolate one installation from another, at least if you're using
> winstone, as the war file is still unpacked under $HOME/.hudson/war
>
>  
>
> I had recently tried running the 1.235 version of Hudson to try out my
> bugzilla plugin, and this replaces the 'war' directory that was in use
> by my production Hudson server.  :-(
>
> Is there a different variable I should be using to completely separate
> the Hudson installations?
I've fixed your issue, but you can also use the --webroot=/path/to/dir
option to control where hudson.war will be unpacked.


> ________________________________
>
> From: Donohue, Michael [mailto:[hidden email]]
> Sent: Friday, July 18, 2008 10:07 AM
> To: [hidden email]
> Subject: slave cannot connect to master (1.224)
>
>  
>
> Hudson 1.224.  The master server was last restarted on the 13th.  One of
> my slave machines disconnected a couple of days ago - it looks like at
> the time of the JVM hang in the wrapper.log.  It's setup as a windows
> service, so I logged in and had the service restart, but the slave never
> showed up as available on the Hudson configuration screen.  I'm getting
> a set of stack traces printed to the console on the master.  
>
> I've browsed the release notes, and I don't see this issue being fixed
> in a more recent release, I also searched the bug tracker for "Socket"
> and found nothing.  I don't know what the maven-agent error is about; we
> don't use maven here.   It seems like this might be a leak of network
> sockets, but the rest of the Hudson installation is still working fine.
>
>  
>
> The end of the wrapper.log:
>
>  
>
> STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...
>
> ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed out
> waiting for signal from JVM.
>
> ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on request,
> terminated
>
> STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...
>
> STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped
>
> STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as Service
>
> STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...
>
> STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped
>
> STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as Service
>
> STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...
>
>  
>
> The master console output:
>
>  
>
> Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler
> run
>
> INFO: Accepted connection #9263 from /10.0.0.118:1225
>
> Jul 17, 2008 11:56:19 PM hudson.TcpSlaveAgentListener$ConnectionHandler
> run
>
> WARNING: Connection #9263 failed
>
> java.io.FileNotFoundException:
> /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent
>
> -1.224.jar (No such file or directory)
>
>         at java.io.FileInputStream.open(Native Method)
>
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>
>         at hudson.FilePath$21.invoke(FilePath.java:738)
>
>         at hudson.FilePath$21.invoke(FilePath.java:736)
>
>         at hudson.FilePath.act(FilePath.java:315)
>
>         at hudson.FilePath.copyTo(FilePath.java:736)
>
>         at hudson.FilePath.copyTo(FilePath.java:724)
>
>         at
> hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)
>
>         at
> hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav
>
> eAgentListener.java:180)
>
>         at
> hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe
>
> ner.java:130)
>
> Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run
>
> SEVERE: I/O error in channel bsod
>
> java.net.SocketException: Socket closed
>
>         at java.net.SocketInputStream.socketRead0(Native Method)
>
>         at java.net.SocketInputStream.read(SocketInputStream.java:129)
>
>         at
> java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>
>         at
> java.io.BufferedInputStream.read(BufferedInputStream.java:237)
>
>         at
> java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
>
> :2249)
>
>         at
> java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream
>
> .java:2542)
>
>         at
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt
>
> ream.java:2552)
>
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
>
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>
>         at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)
>
> Jul 17, 2008 11:56:19 PM
> hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos
>
> ed
>
> WARNING: Connection #9263 terminated
>
> java.net.SocketException: Socket closed
>
>         at java.net.SocketInputStream.socketRead0(Native Method)
>
>         at java.net.SocketInputStream.read(SocketInputStream.java:129)
>
>         at
> java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>
>         at
> java.io.BufferedInputStream.read(BufferedInputStream.java:237)
>
>         at
> java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
>
> :2249)
>
>         at
> java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream
>
> .java:2542)
>
>         at
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt
>
> ream.java:2552)
>
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
>
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>
>         at hudson.remoting.Channel$ReaderThread.run(Channel.java:576)
>
>  
>
>  
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Re: slave cannot connect to master (1.224)

Michael Donohue-2
Thanks.  I've updated my startup script to use --webroot.

> -----Original Message-----
> From: Kohsuke Kawaguchi [mailto:[hidden email]]
> Sent: Tuesday, July 22, 2008 3:09 PM
> To: [hidden email]
> Subject: Re: slave cannot connect to master (1.224)
>
> Donohue, Michael wrote:
> > I think I see the problem now.   Using HUDSON_HOME doesn't
completely
> > isolate one installation from another, at least if you're using
> > winstone, as the war file is still unpacked under $HOME/.hudson/war
> >
> >
> >
> > I had recently tried running the 1.235 version of Hudson to try out
my
> > bugzilla plugin, and this replaces the 'war' directory that was in
use
> > by my production Hudson server.  :-(
> >
> > Is there a different variable I should be using to completely
separate

> > the Hudson installations?
>
> I've fixed your issue, but you can also use the --webroot=/path/to/dir
> option to control where hudson.war will be unpacked.
>
>
> > ________________________________
> >
> > From: Donohue, Michael [mailto:[hidden email]]
> > Sent: Friday, July 18, 2008 10:07 AM
> > To: [hidden email]
> > Subject: slave cannot connect to master (1.224)
> >
> >
> >
> > Hudson 1.224.  The master server was last restarted on the 13th.
One of
> > my slave machines disconnected a couple of days ago - it looks like
at
> > the time of the JVM hang in the wrapper.log.  It's setup as a
windows
> > service, so I logged in and had the service restart, but the slave
never
> > showed up as available on the Hudson configuration screen.  I'm
getting
> > a set of stack traces printed to the console on the master.
> >
> > I've browsed the release notes, and I don't see this issue being
fixed
> > in a more recent release, I also searched the bug tracker for
"Socket"
> > and found nothing.  I don't know what the maven-agent error is
about; we
> > don't use maven here.   It seems like this might be a leak of
network
> > sockets, but the rest of the Hudson installation is still working
fine.

> >
> >
> >
> > The end of the wrapper.log:
> >
> >
> >
> > STATUS | wrapper  | 2008/07/07 17:03:00 | Launching a JVM...
> >
> > ERROR  | wrapper  | 2008/07/16 21:41:18 | JVM appears hung: Timed
out
> > waiting for signal from JVM.
> >
> > ERROR  | wrapper  | 2008/07/16 21:41:19 | JVM did not exit on
request,
> > terminated
> >
> > STATUS | wrapper  | 2008/07/16 21:41:24 | Launching a JVM...
> >
> > STATUS | wrapper  | 2008/07/17 13:19:31 | <-- Wrapper Stopped
> >
> > STATUS | wrapper  | 2008/07/17 13:19:31 | --> Wrapper Started as
Service
> >
> > STATUS | wrapper  | 2008/07/17 13:19:32 | Launching a JVM...
> >
> > STATUS | wrapper  | 2008/07/17 13:20:04 | <-- Wrapper Stopped
> >
> > STATUS | wrapper  | 2008/07/17 13:20:09 | --> Wrapper Started as
Service

> >
> > STATUS | wrapper  | 2008/07/17 13:20:09 | Launching a JVM...
> >
> >
> >
> > The master console output:
> >
> >
> >
> > Jul 17, 2008 11:56:19 PM
hudson.TcpSlaveAgentListener$ConnectionHandler
> > run
> >
> > INFO: Accepted connection #9263 from /10.0.0.118:1225
> >
> > Jul 17, 2008 11:56:19 PM
hudson.TcpSlaveAgentListener$ConnectionHandler

> > run
> >
> > WARNING: Connection #9263 failed
> >
> > java.io.FileNotFoundException:
> > /nfs/mdonohue/.hudson/war/WEB-INF/lib/maven-agent
> >
> > -1.224.jar (No such file or directory)
> >
> >         at java.io.FileInputStream.open(Native Method)
> >
> >         at java.io.FileInputStream.<init>(FileInputStream.java:106)
> >
> >         at hudson.FilePath$21.invoke(FilePath.java:738)
> >
> >         at hudson.FilePath$21.invoke(FilePath.java:736)
> >
> >         at hudson.FilePath.act(FilePath.java:315)
> >
> >         at hudson.FilePath.copyTo(FilePath.java:736)
> >
> >         at hudson.FilePath.copyTo(FilePath.java:724)
> >
> >         at
> > hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:146)
> >
> >         at
> >
hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlav
> >
> > eAgentListener.java:180)
> >
> >         at
> >
hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListe

> >
> > ner.java:130)
> >
> > Jul 17, 2008 11:56:19 PM hudson.remoting.Channel$ReaderThread run
> >
> > SEVERE: I/O error in channel bsod
> >
> > java.net.SocketException: Socket closed
> >
> >         at java.net.SocketInputStream.socketRead0(Native Method)
> >
> >         at
java.net.SocketInputStream.read(SocketInputStream.java:129)
> >
> >         at
> > java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> >
> >         at
> > java.io.BufferedInputStream.read(BufferedInputStream.java:237)
> >
> >         at
> >
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
> >
> > :2249)
> >
> >         at
> >
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream
> >
> > .java:2542)
> >
> >         at
> >
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

> >
> > ream.java:2552)
> >
> >         at
> > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
> >
> >         at
> > java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> >
> >         at
hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

> >
> > Jul 17, 2008 11:56:19 PM
> > hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClos
> >
> > ed
> >
> > WARNING: Connection #9263 terminated
> >
> > java.net.SocketException: Socket closed
> >
> >         at java.net.SocketInputStream.socketRead0(Native Method)
> >
> >         at
java.net.SocketInputStream.read(SocketInputStream.java:129)
> >
> >         at
> > java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> >
> >         at
> > java.io.BufferedInputStream.read(BufferedInputStream.java:237)
> >
> >         at
> >
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
> >
> > :2249)
> >
> >         at
> >
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream
> >
> > .java:2542)
> >
> >         at
> >
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt

> >
> > ream.java:2552)
> >
> >         at
> > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
> >
> >         at
> > java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> >
> >         at
hudson.remoting.Channel$ReaderThread.run(Channel.java:576)

> >
> >
> >
> >
> >
> >
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems
http://weblogs.java.net/blog/kohsuke/

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