Hi,

We have a Mac OS slave which is working fine with Jenkins using ssh, 
however we have another Mac that is behind a firewall which we can't port 
forward to, so I want to use the Java webstart method to start the slave as 
a daemon at boot time. At the moment I'm just testing it from a local 
terminal session but I'm running into a problem. The commands are similar 
to this: (real URL's obfuscated)

curl -O -L http://servername.com/jnlpJars/slave.jar
java -jar slave.jar -jnlpUrl 
"http://servername.com/computer/slave-name/slave-agent.jnlp"; -secret 
"07f867c618f924765cb7973fb87f43adddee29abd32c5d9ab0597328eb4011af"

However it seems to crash with the following exception:

Exception in thread "main" java.lang.IllegalArgumentException: IV buffer 
too short for given offset/length combination
        at javax.crypto.spec.IvParameterSpec.<init>(IvParameterSpec.java:80)
        at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:289)
        at hudson.remoting.Launcher.run(Launcher.java:218)
        at hudson.remoting.Launcher.main(Launcher.java:192)

This is on OS X 10.9 Mavericks and I have tried Java 6, 7 and 8, all give 
the exact same error.

The machine that is running in ssh mode is on 10.6 Snow Leopard, however if 
I try to use the java webstart method on that machine it too fails with the 
same error.

Also trying to use Java webstart via a web browser by downloading the 
slave-agent.jnlp from the link within the slave status page also fails with 
the same exception.

Two of us have been working on this for over two hours with no luck - Java 
webstart seems to work for us on Windows but not Mac OS.

Anyone have any ideas ? A google search turns up nothing as well. :(

Regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to