Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Jenkins Slaves can't find Build Toolkit after Master restart

 Hi All,

We have a large Jenkins environment and have been rolling out the  new RTC plugin to all users.   The issues is whenever the Master restarts the jobs that use the plugin are no longer able to load the toolkit from a UNC path.   We wanted to avoid loading it on all slaves if possible.   If we restart the Jenkins service on the slaves it comes back and we are in business, but obviously we don't want to do this every time.   

So, we are Windows 2008 Server for Master and Slave.

I have the toolkit installed on the master and configured to be found at a UNC path for all the slaves.  

If the controller restarts the jobs that use the plugin usually fail with:
Any ideas??

FATAL: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient
11:23:06 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient
11:23:06 	at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51)
11:23:06 	at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404)
11:23:06 	at sun.reflect.GeneratedMethodAccessor248.invoke(Unknown Source)
11:23:06 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
11:23:06 	at java.lang.reflect.Method.invoke(Unknown Source)
11:23:06 	at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96)
11:23:06 	at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110)
11:23:06 	at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31)
11:23:06 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394)
11:23:06 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
11:23:06 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
11:23:06 	at hudson.remoting.Request$2.run(Request.java:326)
11:23:06 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
11:23:06 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
11:23:06 	at java.util.concurrent.FutureTask.run(Unknown Source)
11:23:06 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
11:23:06 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 11:23:06 at hudson.remoting.Engine$1$1.run(Engine.java:63) 11:23:06 at java.lang.Thread.run(Unknown Source) 11:23:06 ERROR: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient




0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 151

Question asked: Feb 14 '14, 11:39 a.m.

Question was seen: 6,147 times

Last updated: Feb 14 '14, 11:51 a.m.

Confirmation Cancel Confirm