Skip to content

Instantly share code, notes, and snippets.

@bigdaz
Created January 28, 2012 20:13
Show Gist options
  • Save bigdaz/1695631 to your computer and use it in GitHub Desktop.
Save bigdaz/1695631 to your computer and use it in GitHub Desktop.
➜ tmp java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
➜ tmp cat gradle.properties
org.gradle.daemon=true
org.gradle.java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
➜ tmp gr -i --refresh dependencies -s -g home sync
Note: the Gradle build daemon is an experimental feature.
As such, you may experience unexpected build failures. You may need to occasionally stop the daemon.
Starting Gradle daemon
Starting daemon process: workingDir = /Users/daz/dev/gradlex/tmp/home/daemon/1.0-milestone-8-20120128115832-0700, daemonArgs: [/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java, -XX:MaxPermSize=256m, -Xmx1024m, -cp, /usr/local/gradle/dev/lib/gradle-launcher-1.0-milestone-8-20120128115832-0700.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 1.0-milestone-8-20120128115832-0700, /Users/daz/dev/gradlex/tmp/home/daemon, 10800000]
FAILURE: Build failed with an exception.
* What went wrong:
Timeout waiting to connect to Gradle daemon.
* Try:
Run with --debug option to get more log output.
* Exception is:
org.gradle.api.GradleException: Timeout waiting to connect to Gradle daemon.
at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(DefaultDaemonConnector.java:105)
at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:102)
at org.gradle.launcher.cli.DaemonBuildAction.run(DaemonBuildAction.java:49)
at org.gradle.launcher.cli.CommandLineActionFactory$ActionAdapter.execute(CommandLineActionFactory.java:214)
at org.gradle.launcher.cli.CommandLineActionFactory$ActionAdapter.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:32)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:21)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:238)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:222)
at org.gradle.launcher.Main.doAction(Main.java:48)
at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53)
at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51)
at org.gradle.launcher.exec.Execution.execute(Execution.java:28)
at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39)
at org.gradle.launcher.Main.main(Main.java:39)
at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:51)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
➜ tmp cat home/daemon/1.0-milestone-8-20120128115832-0700/daemon-83959.out.log
13:12:55.472 [main] INFO o.g.l.daemon.bootstrap.DaemonMain - Daemon process started.
13:12:55.514 [main] INFO o.g.launcher.daemon.server.Daemon - start() called on daemon - DefaultDaemonContext[javaHome=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home,daemonRegistryDir=/Users/daz/dev/gradlex/tmp/home/daemon,pid=83959,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-Xmx1024m]
13:12:55.515 [main] INFO o.g.l.d.server.DaemonServerConnector - Starting daemon server connector.
13:12:55.528 [main] DEBUG o.g.m.r.i.inet.TcpIncomingConnector - Listening on [8ff1b764-52b3-44ff-9641-0b3bc0d4c0ff port:63067, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]].
13:12:55.532 [main] DEBUG o.g.l.d.s.DaemonStateCoordinator - updating lastActivityAt to 1327781575532
13:12:55.532 [main] DEBUG o.g.launcher.daemon.server.Daemon - Daemon starting at: Sat Jan 28 13:12:55 MST 2012, with address: [8ff1b764-52b3-44ff-9641-0b3bc0d4c0ff port:63067, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
13:12:55.532 [main] INFO o.g.l.d.server.DomainRegistryUpdater - Advertising the daemon address to the clients: [8ff1b764-52b3-44ff-9641-0b3bc0d4c0ff port:63067, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
13:12:55.535 [main] DEBUG o.g.c.i.DefaultFileLockManager - Waiting to acquire exclusive lock on daemon addresses registry.
13:12:55.539 [main] DEBUG o.g.c.i.DefaultFileLockManager - Lock acquired.
13:12:55.566 [main] DEBUG o.g.c.i.DefaultFileLockManager - Releasing lock on daemon addresses registry.
13:12:55.567 [main] DEBUG o.g.launcher.daemon.server.Daemon - awaitIdleTimeout(10800000) called on daemon
13:12:55.567 [main] DEBUG o.g.l.d.s.DaemonStateCoordinator - waiting for daemon to stop or be idle for 10800000ms
13:12:55.567 [main] DEBUG o.g.l.d.s.DaemonStateCoordinator - waiting for daemon to stop or idle timeout, daemon is idle, sleeping until daemon state change or idle timeout at Sat Jan 28 16:12:55 MST 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment