I've got it running with this command:
sudo /usr/bin/java -Dfile.encoding=UTF-8 -XX:PermSize=256m 
-XX:MaxPermSize=512m -Xms256m -Xmx512m 
-Djava.io.tmpdir=/Users/Shared/Jenkins/tmp -jar 
/Applications/Jenkins/jenkins.war

It seems to have lost all server configuration (forgotten its builders, 
jobs, tasks etc) - however it's running which is much better.

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:
>
> Folks
>
> I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
> Yosemite and was very surprised that Jenkins refuses to start (any port, 
> not just 8080, with/without sudo)
>
> I've looked through everything in the System Preferences concerning 
> security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
> new Yosemite policeman needs to be told "it's OK to allow Java to open port 
> 8080!" (or something like that).
>
> Does anybody have any ideas?
>
> Robin
>
> 538 rmills@rmillsmm:~ $ ls -alt 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
> -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
> 539 rmills@rmillsmm:~ $ java -jar 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
> http://localhost:8080
> Exception in thread "main" java.io.IOException: Failed to connect to 
> http://localhost:8080/
> at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
> at hudson.cli.CLI.<init>(CLI.java:126)
> ...
> Caused by: java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to