Hi,
After using Hudson for 2 months without problems, I decided to configure slave for Hudson. When using the following master/slave configuration,
Master :
- Hudson 1.264
- Weblogic 9.2 (JRE : JRockit 1.5)
Slave :
- JRE : JRockit 1.5
this error occured on the master JVM.
Exception in thread "Thread-18" java.lang.IllegalArgumentException: zip:/XXXXX/hudson/9eimv0/war/WEB-INF/lib/maven-agent-1.264.jar!/hudson/maven/agent/Main.class - zip:/XXXXX/hudson/9eimv0/war/WEB-INF/lib/maven-agent-1.264.jar!/hudson/maven/agent/Main.class
at hudson.remoting.Which.jarFile(Which.java:59)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:207)
at hudson.TcpSlaveAgentListener$ConnectionHandler.runJnlpConnect(TcpSlaveAgentListener.java:180)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:130)
(The real path was replaced by XXXXX and pointed on the tmpdir of Weblogic Managed Server)
After analysing the Which class, I think but not tested that add
------ remoting/src/main/java/hudson/remoting/Which.java
if(resURL.startsWith("zip:"))
return fromJarUrlToFile(resURL);
------
will be sufficient to solve the issue
Etienne Carrière