-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
[root@calypso templates]# uname -a
Linux calypso 2.6.24.5-server-2mnb #1 SMP Thu Jun 12 15:33:47 EDT 2008 x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GNU/Linux
[root@calypso templates]# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
[ root@calypso templates]# uname -a Linux calypso 2.6.24.5-server-2mnb #1 SMP Thu Jun 12 15:33:47 EDT 2008 x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GNU/Linux [ root@calypso templates]# java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
I use to following script to download slave.jar and start slave from ssh (initiated by hudson master).
#!/bin/bash
source /etc/profile
/opt/applis/bin/downloadSlaveJar.sh
java -jar /opt/data/slave.jar
With version 1.335, all slaves are correctly working. When I migrate to hudson version 1.343, the slave starts correctly but each update of workspaces (configured with svn behind https apache server as reverse proxy) failed with this log message provided at the end of this message
To know what's append, I've start the slave in debug mode and connect an eclipse workspace on it. The problem is that to do this action (update) the slave search for an SAX parser class from xerces jars in remoteClassLoader and doesn't found it.
I've downloaded the xercesImple jar from my jboss server (which is running hudson master) and modify my script to load the slave with the downloaded jar in classpath :
java -jar /opt/data/slave.jar -cp /opt/data/xercesImpl.jar
All my jobs are now working fine.
It seems you have problem of classpath dependencies in your remote classloader (especially when the required jar is in server libs, not WEB-INF one).
regards,
Ludovic SMADJA
R&D - http://www.systar.com
Log messages :
Un changement dans la base de code a provoqué le lancement de ce job
Construction à distance sur Calypso
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Retrying after 10 seconds
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Retrying after 10 seconds
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Retrying after 10 seconds
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Retrying after 10 seconds
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Retrying after 10 seconds
Reverting https://server/repositories/BBR/svn/BBrFundation/trunk
Updating https://server/repositories/BBR/svn/BBrFundation/trunk
remote file operation failed: /opt/data/build//workspace/FMK_trunk at hudson.remoting.Channel@2a43dfc2:Calypso
Archiving artifacts
Jabber notifier plugin: Sending notification to: castorls@tethys
Jabber notifier plugin: Sending notification to: bruno@tethys
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: ludovic.smadja@systar.fr blateau@systar.fr
Notifying upstream projects of job completion
Finished: FAILURE
- duplicates
-
JENKINS-5374 remote file operation failed .... NullPointerException - ClassLoader is null
- Resolved