Administrator
|
Hi,
Just FYI (except if you have an idea why this happened), I got this while trying to stop the trunk demo instance ofbizDemo@ofbiz-vm:~/trunk$ ./gradlew "ofbiz --shutdown" Starting a new Gradle Daemon for this build (subsequent builds will be faster). > Configuring > 53/54 pr:compileJava The message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk} Attempting to read last messages from the daemon log... Daemon pid: 11220 log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log ----- Last 20 lines from daemon log file - daemon-11220.out.log ----- 14:01:03.614 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk} 14:01:03.622 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}. 14:01:03.623 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk} with connection: socket connection from /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. 14:01:03.660 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}, connection = org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after 0.0 minutes of idle 14:01:03.670 [INFO] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.670 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 14:01:03.727 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating lastActivityAt to 1469714463727 14:01:03.727 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, sleeping until state changes. 14:01:03.731 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... 14:01:03.733 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted 14:01:03.752 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, SHLVL=1, HOME=/home/ofbizDemo} 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection. 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 11220). The daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log 14:01:03.855 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting build in new daemon [memory: 1.0 GB] 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build. 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] :compileJava ----- End of the daemon log ----- Notice this message at top of the log: The message received from the daemon indicates that the daemon has disappeared. But the daemon was still there. Then a new daemon was created and, after another issue, I preferred to kill the 3 process below and restart anew. 9997 11285 28.6 5.2 2993840 212820 pts/0 Sl 14:02 0:30 /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 9997 11427 31.6 1.6 2930984 66528 ? SNl 14:04 0:01 java -Dorg.gradle.appname=gradlew -classpath /home/ofbizDemo/trunk/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain ofbizSecure --start 9997 31238 0.5 19.5 3021252 792956 ? SNl Jul27 12:08 /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 It's now working and apart if it reproduces I think we can forget it Jacques PS: here is the content of the log in case 14:01:02.915 [INFO] [org.gradle.launcher.daemon.server.Daemon] start() called on daemon - DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] 14:01:02.922 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating lastActivityAt to 1469714462922 14:01:02.959 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface eth0 14:01:02.960 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false 14:01:02.961 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true 14:01:02.963 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:250:56ff:fe9d:34%eth0 14:01:02.963 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /140.211.11.41 14:01:02.966 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface eth0 14:01:02.967 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface lo 14:01:02.968 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true 14:01:02.970 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false 14:01:02.971 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /0:0:0:0:0:0:0:1%lo 14:01:02.971 [DEBUG] [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1 14:01:03.002 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Listening on [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]]. 14:01:03.019 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon starting at: Thu Jul 28 14:01:03 UTC 2016, with address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.021 [INFO] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertising the daemon address to the clients: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.022 [DEBUG] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertised daemon context: DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] 14:01:03.023 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing daemon address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], context: DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] 14:01:03.042 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 14:01:03.046 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 14:01:03.187 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 14:01:03.189 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon server started. 14:01:03.204 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed writing the daemon greeting. Closing streams... 14:01:03.211 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] requestStopOnIdleTimeout(10800000 MILLISECONDS) called on daemon 14:01:03.214 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Idle timeout: waiting for daemon to stop or be idle for 10800000ms 14:01:03.215 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is idle, sleeping until state change or idle timeout at Thu Jul 28 17:01:02 UTC 2016 14:01:03.280 [DEBUG] [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Accepted connection from /0:0:0:0:0:0:0:1:52710 to /0:0:0:0:0:0:0:1:60910. 14:01:03.613 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 13: received class org.gradle.launcher.daemon.protocol.Build 14:01:03.614 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk} 14:01:03.622 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}. 14:01:03.623 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk} with connection: socket connection from /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. 14:01:03.660 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}, connection = org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after 0.0 minutes of idle 14:01:03.670 [INFO] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.670 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 14:01:03.727 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating lastActivityAt to 1469714463727 14:01:03.727 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, sleeping until state changes. 14:01:03.731 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... 14:01:03.733 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted 14:01:03.752 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, SHLVL=1, HOME=/home/ofbizDemo} 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection. 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 11220). The daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log 14:01:03.855 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting build in new daemon [memory: 1.0 GB] 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build. 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] :compileJava |
Hi Jacques,
The Gradle guide recommendation is to disable the Daemon for CI (link below, look for continuous integration box). Is there a reason why we preferred to apply the Daemon? https://docs.gradle.org/current/userguide/gradle_daemon.html Taher Alkhateeb On Thursday, 28 July 2016, Jacques Le Roux <[hidden email]> wrote: > Hi, > > Just FYI (except if you have an idea why this happened), I got this while > trying to stop the trunk demo instance > > ofbizDemo@ofbiz-vm:~/trunk$ ./gradlew "ofbiz --shutdown" > Starting a new Gradle Daemon for this build (subsequent builds will be > faster). > > Configuring > 53/54 pr:compileJava > The message received from the daemon indicates that the daemon has > disappeared. > Build request sent: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk} > Attempting to read last messages from the daemon log... > Daemon pid: 11220 > log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log > ----- Last 20 lines from daemon log file - daemon-11220.out.log ----- > 14:01:03.614 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO > message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk} > 14:01:03.622 [INFO] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}. > 14:01:03.623 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Starting executing command: > Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk} with connection: socket connection from > /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. > 14:01:03.660 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command > execution: started DaemonCommandExecution[command = > Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}, connection = > org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after > 0.0 minutes of idle > 14:01:03.670 [INFO] > [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the > daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.670 [DEBUG] > [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy > by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Waiting to acquire exclusive lock on daemon addresses registry. > 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Lock acquired. > 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Releasing lock on daemon addresses registry. > 14:01:03.727 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating > lastActivityAt to 1469714463727 > 14:01:03.727 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, > sleeping until state changes. > 14:01:03.731 [INFO] > [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon > is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... > 14:01:03.733 [DEBUG] > [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread > 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted > 14:01:03.752 [DEBUG] > [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] > Configuring env variables: > {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, > SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, > XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, > LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, > SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, > NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, > LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, > SHLVL=1, HOME=/home/ofbizDemo} > 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] > About to start relaying all logs to the client via the connection. > 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] > The client will now receive all logging from the daemon (pid: 11220). The > daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log > 14:01:03.855 [INFO] > [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting > build in new daemon [memory: 1.0 GB] > 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > The daemon has started executing the build. > 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > Executing build with daemon context: > DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > :compileJava > ----- End of the daemon log ----- > > Notice this message at top of the log: The message received from the > daemon indicates that the daemon has disappeared. But the daemon was still > there. > > Then a new daemon was created and, after another issue, I preferred to > kill the 3 process below and restart anew. > > 9997 11285 28.6 5.2 2993840 212820 pts/0 Sl 14:02 0:30 > /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m > -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 > -Duser.country=US -Duser.language=en -Duser.variant -cp > /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar > org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 > 9997 11427 31.6 1.6 2930984 66528 ? SNl 14:04 0:01 java > -Dorg.gradle.appname=gradlew -classpath > /home/ofbizDemo/trunk/gradle/wrapper/gradle-wrapper.jar > org.gradle.wrapper.GradleWrapperMain ofbizSecure --start > 9997 31238 0.5 19.5 3021252 792956 ? SNl Jul27 12:08 > /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m > -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 > -Duser.country=US -Duser.language=en -Duser.variant -cp > /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar > org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 > > It's now working and apart if it reproduces I think we can forget it > > Jacques > PS: here is the content of the log in case > 14:01:02.915 [INFO] [org.gradle.launcher.daemon.server.Daemon] start() > called on daemon - > DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > 14:01:02.922 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating > lastActivityAt to 1469714462922 > 14:01:02.959 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP > addresses for network interface eth0 > 14:01:02.960 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a > loopback interface? false > 14:01:02.961 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a > multicast interface? true > 14:01:02.963 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding > remote address /fe80:0:0:0:250:56ff:fe9d:34%eth0 > 14:01:02.963 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding > remote address /140.211.11.41 > 14:01:02.966 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding > remote multicast interface eth0 > 14:01:02.967 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP > addresses for network interface lo > 14:01:02.968 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a > loopback interface? true > 14:01:02.970 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a > multicast interface? false > 14:01:02.971 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding > loopback address /0:0:0:0:0:0:0:1%lo > 14:01:02.971 [DEBUG] > [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding > loopback address /127.0.0.1 > 14:01:03.002 [DEBUG] > [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Listening > on [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]]. > 14:01:03.019 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon > starting at: Thu Jul 28 14:01:03 UTC 2016, with address: > [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.021 [INFO] > [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertising the > daemon address to the clients: [91422332-6a16-428c-b7b6-8a5524113fab > port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.022 [DEBUG] > [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertised daemon > context: > DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > 14:01:03.023 [DEBUG] > [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing > daemon address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], context: > DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > 14:01:03.042 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Waiting to acquire exclusive lock on daemon addresses registry. > 14:01:03.046 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Lock acquired. > 14:01:03.187 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Releasing lock on daemon addresses registry. > 14:01:03.189 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon > server started. > 14:01:03.204 [DEBUG] > [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed > writing the daemon greeting. Closing streams... > 14:01:03.211 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] > requestStopOnIdleTimeout(10800000 MILLISECONDS) called on daemon > 14:01:03.214 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Idle timeout: > waiting for daemon to stop or be idle for 10800000ms > 14:01:03.215 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is idle, > sleeping until state change or idle timeout at Thu Jul 28 17:01:02 UTC 2016 > 14:01:03.280 [DEBUG] > [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Accepted > connection from /0:0:0:0:0:0:0:1:52710 to /0:0:0:0:0:0:0:1:60910. > 14:01:03.613 [DEBUG] > [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread > 13: received class org.gradle.launcher.daemon.protocol.Build > 14:01:03.614 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO > message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk} > 14:01:03.622 [INFO] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}. > 14:01:03.623 [DEBUG] > [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] > Starting executing command: > Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk} with connection: socket connection from > /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. > 14:01:03.660 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command > execution: started DaemonCommandExecution[command = > Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}, connection = > org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after > 0.0 minutes of idle > 14:01:03.670 [INFO] > [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the > daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.670 [DEBUG] > [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy > by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, > addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] > 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Waiting to acquire exclusive lock on daemon addresses registry. > 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Lock acquired. > 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] > Releasing lock on daemon addresses registry. > 14:01:03.727 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating > lastActivityAt to 1469714463727 > 14:01:03.727 [DEBUG] > [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, > sleeping until state changes. > 14:01:03.731 [INFO] > [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon > is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, > currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... > 14:01:03.733 [DEBUG] > [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread > 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted > 14:01:03.752 [DEBUG] > [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] > Configuring env variables: > {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, > SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, > XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, > LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, > SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, > NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, > LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, > SHLVL=1, HOME=/home/ofbizDemo} > 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] > About to start relaying all logs to the client via the connection. > 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] > The client will now receive all logging from the daemon (pid: 11220). The > daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log > 14:01:03.855 [INFO] > [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting > build in new daemon [memory: 1.0 GB] > 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > The daemon has started executing the build. > 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] > Executing build with daemon context: > DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] > :compileJava > > > |
Administrator
|
Hi Taher,
From https://docs.gradle.org/current/userguide/gradle_daemon.html#when_should_i_not_use_the_gradle_daemon I understood that we should not use the daemon on a build server, like BuildBot. Where, as you know, we don't use even use the wrapper for performance reason. So I thought it did make sense to use also the daemon for demos because it's not a CI environment where each build create a new virgin environment. It's simply OFBiz running on a server like I run it on my machine. Or should we use the daemon only on dev machine, then why? BTW, the daemon seems to be reliable on my machine, I had no issue so far. This said I'd not mind removing it, just that it's faster when I have to have my hands dirty there. Sorry to not really answer to your question and adding mine :) Jacques Le 29/07/2016 à 06:01, Taher Alkhateeb a écrit : > Hi Jacques, > > The Gradle guide recommendation is to disable the Daemon for CI (link > below, look for continuous integration box). Is there a reason why we > preferred to apply the Daemon? > > https://docs.gradle.org/current/userguide/gradle_daemon.html > > Taher Alkhateeb > > On Thursday, 28 July 2016, Jacques Le Roux <[hidden email]> > wrote: > >> Hi, >> >> Just FYI (except if you have an idea why this happened), I got this while >> trying to stop the trunk demo instance >> >> ofbizDemo@ofbiz-vm:~/trunk$ ./gradlew "ofbiz --shutdown" >> Starting a new Gradle Daemon for this build (subsequent builds will be >> faster). >>> Configuring > 53/54 pr:compileJava >> The message received from the daemon indicates that the daemon has >> disappeared. >> Build request sent: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk} >> Attempting to read last messages from the daemon log... >> Daemon pid: 11220 >> log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >> ----- Last 20 lines from daemon log file - daemon-11220.out.log ----- >> 14:01:03.614 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO >> message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk} >> 14:01:03.622 [INFO] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}. >> 14:01:03.623 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Starting executing command: >> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk} with connection: socket connection from >> /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. >> 14:01:03.660 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command >> execution: started DaemonCommandExecution[command = >> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}, connection = >> org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after >> 0.0 minutes of idle >> 14:01:03.670 [INFO] >> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the >> daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.670 [DEBUG] >> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy >> by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Waiting to acquire exclusive lock on daemon addresses registry. >> 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Lock acquired. >> 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Releasing lock on daemon addresses registry. >> 14:01:03.727 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >> lastActivityAt to 1469714463727 >> 14:01:03.727 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, >> sleeping until state changes. >> 14:01:03.731 [INFO] >> [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon >> is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... >> 14:01:03.733 [DEBUG] >> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >> 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted >> 14:01:03.752 [DEBUG] >> [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] >> Configuring env variables: >> {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, >> SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, >> XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, >> LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, >> SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, >> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, >> LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, >> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, >> SHLVL=1, HOME=/home/ofbizDemo} >> 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] >> About to start relaying all logs to the client via the connection. >> 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] >> The client will now receive all logging from the daemon (pid: 11220). The >> daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >> 14:01:03.855 [INFO] >> [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting >> build in new daemon [memory: 1.0 GB] >> 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> The daemon has started executing the build. >> 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> Executing build with daemon context: >> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> :compileJava >> ----- End of the daemon log ----- >> >> Notice this message at top of the log: The message received from the >> daemon indicates that the daemon has disappeared. But the daemon was still >> there. >> >> Then a new daemon was created and, after another issue, I preferred to >> kill the 3 process below and restart anew. >> >> 9997 11285 28.6 5.2 2993840 212820 pts/0 Sl 14:02 0:30 >> /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m >> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 >> -Duser.country=US -Duser.language=en -Duser.variant -cp >> /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar >> org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 >> 9997 11427 31.6 1.6 2930984 66528 ? SNl 14:04 0:01 java >> -Dorg.gradle.appname=gradlew -classpath >> /home/ofbizDemo/trunk/gradle/wrapper/gradle-wrapper.jar >> org.gradle.wrapper.GradleWrapperMain ofbizSecure --start >> 9997 31238 0.5 19.5 3021252 792956 ? SNl Jul27 12:08 >> /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m >> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 >> -Duser.country=US -Duser.language=en -Duser.variant -cp >> /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar >> org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 >> >> It's now working and apart if it reproduces I think we can forget it >> >> Jacques >> PS: here is the content of the log in case >> 14:01:02.915 [INFO] [org.gradle.launcher.daemon.server.Daemon] start() >> called on daemon - >> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> 14:01:02.922 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >> lastActivityAt to 1469714462922 >> 14:01:02.959 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP >> addresses for network interface eth0 >> 14:01:02.960 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >> loopback interface? false >> 14:01:02.961 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >> multicast interface? true >> 14:01:02.963 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >> remote address /fe80:0:0:0:250:56ff:fe9d:34%eth0 >> 14:01:02.963 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >> remote address /140.211.11.41 >> 14:01:02.966 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >> remote multicast interface eth0 >> 14:01:02.967 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP >> addresses for network interface lo >> 14:01:02.968 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >> loopback interface? true >> 14:01:02.970 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >> multicast interface? false >> 14:01:02.971 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >> loopback address /0:0:0:0:0:0:0:1%lo >> 14:01:02.971 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >> loopback address /127.0.0.1 >> 14:01:03.002 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Listening >> on [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]]. >> 14:01:03.019 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon >> starting at: Thu Jul 28 14:01:03 UTC 2016, with address: >> [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.021 [INFO] >> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertising the >> daemon address to the clients: [91422332-6a16-428c-b7b6-8a5524113fab >> port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.022 [DEBUG] >> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertised daemon >> context: >> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> 14:01:03.023 [DEBUG] >> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing >> daemon address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], context: >> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> 14:01:03.042 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Waiting to acquire exclusive lock on daemon addresses registry. >> 14:01:03.046 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Lock acquired. >> 14:01:03.187 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Releasing lock on daemon addresses registry. >> 14:01:03.189 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon >> server started. >> 14:01:03.204 [DEBUG] >> [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed >> writing the daemon greeting. Closing streams... >> 14:01:03.211 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] >> requestStopOnIdleTimeout(10800000 MILLISECONDS) called on daemon >> 14:01:03.214 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Idle timeout: >> waiting for daemon to stop or be idle for 10800000ms >> 14:01:03.215 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is idle, >> sleeping until state change or idle timeout at Thu Jul 28 17:01:02 UTC 2016 >> 14:01:03.280 [DEBUG] >> [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Accepted >> connection from /0:0:0:0:0:0:0:1:52710 to /0:0:0:0:0:0:0:1:60910. >> 14:01:03.613 [DEBUG] >> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >> 13: received class org.gradle.launcher.daemon.protocol.Build >> 14:01:03.614 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO >> message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk} >> 14:01:03.622 [INFO] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}. >> 14:01:03.623 [DEBUG] >> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >> Starting executing command: >> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk} with connection: socket connection from >> /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. >> 14:01:03.660 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command >> execution: started DaemonCommandExecution[command = >> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}, connection = >> org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after >> 0.0 minutes of idle >> 14:01:03.670 [INFO] >> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the >> daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.670 [DEBUG] >> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy >> by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >> 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Waiting to acquire exclusive lock on daemon addresses registry. >> 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Lock acquired. >> 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >> Releasing lock on daemon addresses registry. >> 14:01:03.727 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >> lastActivityAt to 1469714463727 >> 14:01:03.727 [DEBUG] >> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, >> sleeping until state changes. >> 14:01:03.731 [INFO] >> [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon >> is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >> currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... >> 14:01:03.733 [DEBUG] >> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >> 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted >> 14:01:03.752 [DEBUG] >> [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] >> Configuring env variables: >> {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, >> SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, >> XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, >> LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, >> SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, >> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, >> LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, >> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, >> SHLVL=1, HOME=/home/ofbizDemo} >> 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] >> About to start relaying all logs to the client via the connection. >> 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] >> The client will now receive all logging from the daemon (pid: 11220). The >> daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >> 14:01:03.855 [INFO] >> [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting >> build in new daemon [memory: 1.0 GB] >> 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> The daemon has started executing the build. >> 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >> Executing build with daemon context: >> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >> :compileJava >> >> >> |
Administrator
|
Forget it, I got my answer at the bottom of the section https://docs.gradle.org/current/userguide/gradle_daemon.html#what_can_go_wrong_with_daemon
(Gradle doc is fantastic!) I'll continue to use it there and will simply kill it and create anew when necessary Thanks for the post Jacques Le 29/07/2016 à 07:21, Jacques Le Roux a écrit : > Hi Taher, > >> From https://docs.gradle.org/current/userguide/gradle_daemon.html#when_should_i_not_use_the_gradle_daemon I understood that we should not use the > daemon on a build server, like BuildBot. Where, as you know, we don't use even use the wrapper for performance reason. So I thought it did make > sense to use also the daemon for demos because it's not a CI environment where each build create a new virgin environment. It's simply OFBiz running > on a server like I run it on my machine. Or should we use the daemon only on dev machine, then why? BTW, the daemon seems to be reliable on my > machine, I had no issue so far. > > This said I'd not mind removing it, just that it's faster when I have to have my hands dirty there. > > Sorry to not really answer to your question and adding mine :) > > Jacques > > > Le 29/07/2016 à 06:01, Taher Alkhateeb a écrit : >> Hi Jacques, >> >> The Gradle guide recommendation is to disable the Daemon for CI (link >> below, look for continuous integration box). Is there a reason why we >> preferred to apply the Daemon? >> >> https://docs.gradle.org/current/userguide/gradle_daemon.html >> >> Taher Alkhateeb >> >> On Thursday, 28 July 2016, Jacques Le Roux <[hidden email]> >> wrote: >> >>> Hi, >>> >>> Just FYI (except if you have an idea why this happened), I got this while >>> trying to stop the trunk demo instance >>> >>> ofbizDemo@ofbiz-vm:~/trunk$ ./gradlew "ofbiz --shutdown" >>> Starting a new Gradle Daemon for this build (subsequent builds will be >>> faster). >>>> Configuring > 53/54 pr:compileJava >>> The message received from the daemon indicates that the daemon has >>> disappeared. >>> Build request sent: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk} >>> Attempting to read last messages from the daemon log... >>> Daemon pid: 11220 >>> log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >>> ----- Last 20 lines from daemon log file - daemon-11220.out.log ----- >>> 14:01:03.614 [DEBUG] >>> [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO >>> message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk} >>> 14:01:03.622 [INFO] >>> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >>> Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}. >>> 14:01:03.623 [DEBUG] >>> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >>> Starting executing command: >>> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk} with connection: socket connection from >>> /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. >>> 14:01:03.660 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command >>> execution: started DaemonCommandExecution[command = >>> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}, connection = >>> org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after >>> 0.0 minutes of idle >>> 14:01:03.670 [INFO] >>> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the >>> daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.670 [DEBUG] >>> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy >>> by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Waiting to acquire exclusive lock on daemon addresses registry. >>> 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Lock acquired. >>> 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Releasing lock on daemon addresses registry. >>> 14:01:03.727 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >>> lastActivityAt to 1469714463727 >>> 14:01:03.727 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, >>> sleeping until state changes. >>> 14:01:03.731 [INFO] >>> [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon >>> is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... >>> 14:01:03.733 [DEBUG] >>> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >>> 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted >>> 14:01:03.752 [DEBUG] >>> [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] >>> Configuring env variables: >>> {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, >>> SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, >>> XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, >>> LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, >>> SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, >>> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, >>> LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, >>> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, >>> >>> SHLVL=1, HOME=/home/ofbizDemo} >>> 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] >>> About to start relaying all logs to the client via the connection. >>> 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] >>> The client will now receive all logging from the daemon (pid: 11220). The >>> daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >>> 14:01:03.855 [INFO] >>> [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting >>> build in new daemon [memory: 1.0 GB] >>> 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >>> The daemon has started executing the build. >>> 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >>> Executing build with daemon context: >>> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >>> >>> :compileJava >>> ----- End of the daemon log ----- >>> >>> Notice this message at top of the log: The message received from the >>> daemon indicates that the daemon has disappeared. But the daemon was still >>> there. >>> >>> Then a new daemon was created and, after another issue, I preferred to >>> kill the 3 process below and restart anew. >>> >>> 9997 11285 28.6 5.2 2993840 212820 pts/0 Sl 14:02 0:30 >>> /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m >>> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 >>> -Duser.country=US -Duser.language=en -Duser.variant -cp >>> /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar >>> org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 >>> 9997 11427 31.6 1.6 2930984 66528 ? SNl 14:04 0:01 java >>> -Dorg.gradle.appname=gradlew -classpath >>> /home/ofbizDemo/trunk/gradle/wrapper/gradle-wrapper.jar >>> org.gradle.wrapper.GradleWrapperMain ofbizSecure --start >>> 9997 31238 0.5 19.5 3021252 792956 ? SNl Jul27 12:08 >>> /usr/lib/jvm/java-8-oracle/bin/java -XX:MaxPermSize=256m >>> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 >>> -Duser.country=US -Duser.language=en -Duser.variant -cp >>> /home/ofbizDemo/.gradle/wrapper/dists/gradle-2.13-bin/4xsgxlfjcxvrea7akf941nvc7/gradle-2.13/lib/gradle-launcher-2.13.jar >>> org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.13 >>> >>> It's now working and apart if it reproduces I think we can forget it >>> >>> Jacques >>> PS: here is the content of the log in case >>> 14:01:02.915 [INFO] [org.gradle.launcher.daemon.server.Daemon] start() >>> called on daemon - >>> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >>> >>> 14:01:02.922 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >>> lastActivityAt to 1469714462922 >>> 14:01:02.959 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP >>> addresses for network interface eth0 >>> 14:01:02.960 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >>> loopback interface? false >>> 14:01:02.961 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >>> multicast interface? true >>> 14:01:02.963 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >>> remote address /fe80:0:0:0:250:56ff:fe9d:34%eth0 >>> 14:01:02.963 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >>> remote address /140.211.11.41 >>> 14:01:02.966 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >>> remote multicast interface eth0 >>> 14:01:02.967 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP >>> addresses for network interface lo >>> 14:01:02.968 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >>> loopback interface? true >>> 14:01:02.970 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a >>> multicast interface? false >>> 14:01:02.971 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >>> loopback address /0:0:0:0:0:0:0:1%lo >>> 14:01:02.971 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding >>> loopback address /127.0.0.1 >>> 14:01:03.002 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Listening >>> on [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]]. >>> 14:01:03.019 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon >>> starting at: Thu Jul 28 14:01:03 UTC 2016, with address: >>> [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.021 [INFO] >>> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertising the >>> daemon address to the clients: [91422332-6a16-428c-b7b6-8a5524113fab >>> port:60910, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.022 [DEBUG] >>> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Advertised daemon >>> context: >>> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >>> >>> 14:01:03.023 [DEBUG] >>> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing >>> daemon address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], context: >>> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >>> >>> 14:01:03.042 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Waiting to acquire exclusive lock on daemon addresses registry. >>> 14:01:03.046 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Lock acquired. >>> 14:01:03.187 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Releasing lock on daemon addresses registry. >>> 14:01:03.189 [LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon >>> server started. >>> 14:01:03.204 [DEBUG] >>> [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication] Completed >>> writing the daemon greeting. Closing streams... >>> 14:01:03.211 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] >>> requestStopOnIdleTimeout(10800000 MILLISECONDS) called on daemon >>> 14:01:03.214 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Idle timeout: >>> waiting for daemon to stop or be idle for 10800000ms >>> 14:01:03.215 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is idle, >>> sleeping until state change or idle timeout at Thu Jul 28 17:01:02 UTC 2016 >>> 14:01:03.280 [DEBUG] >>> [org.gradle.messaging.remote.internal.inet.TcpIncomingConnector] Accepted >>> connection from /0:0:0:0:0:0:0:1:52710 to /0:0:0:0:0:0:0:1:60910. >>> 14:01:03.613 [DEBUG] >>> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >>> 13: received class org.gradle.launcher.daemon.protocol.Build >>> 14:01:03.614 [DEBUG] >>> [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received non-IO >>> message from client: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk} >>> 14:01:03.622 [INFO] >>> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >>> Received command: Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}. >>> 14:01:03.623 [DEBUG] >>> [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] >>> Starting executing command: >>> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk} with connection: socket connection from >>> /0:0:0:0:0:0:0:1:60910 to /0:0:0:0:0:0:0:1:52710. >>> 14:01:03.660 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command >>> execution: started DaemonCommandExecution[command = >>> Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}, connection = >>> org.gradle.launcher.daemon.server.DefaultDaemonConnection@32faf049] after >>> 0.0 minutes of idle >>> 14:01:03.670 [INFO] >>> [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Marking the >>> daemon as busy, address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.670 [DEBUG] >>> [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy >>> by address: [91422332-6a16-428c-b7b6-8a5524113fab port:60910, >>> addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] >>> 14:01:03.673 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Waiting to acquire exclusive lock on daemon addresses registry. >>> 14:01:03.674 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Lock acquired. >>> 14:01:03.723 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] >>> Releasing lock on daemon addresses registry. >>> 14:01:03.727 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating >>> lastActivityAt to 1469714463727 >>> 14:01:03.727 [DEBUG] >>> [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon is busy, >>> sleeping until state changes. >>> 14:01:03.731 [INFO] >>> [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon >>> is about to start building Build{id=b52d13a6-6994-47f4-891c-0381455fdff9.1, >>> currentDir=/home/ofbizDemo/trunk}. Dispatching build started information... >>> 14:01:03.733 [DEBUG] >>> [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread >>> 15: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted >>> 14:01:03.752 [DEBUG] >>> [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] >>> Configuring env variables: >>> {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games, >>> SHELL=/usr/local/bin/bash, OLDPWD=/home/ofbizDemo/trunk, TERM=xterm, >>> XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=ofbizDemo, >>> LANG=en_US.UTF-8, SUDO_COMMAND=/usr/local/bin/bash, SUDO_USER=jleroux, >>> SUDO_GID=2386, MAIL=/var/mail/ofbizDemo, >>> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USERNAME=ofbizDemo, >>> LOGNAME=ofbizDemo, PWD=/home/ofbizDemo/trunk, SUDO_UID=2386, >>> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:, >>> >>> SHLVL=1, HOME=/home/ofbizDemo} >>> 14:01:03.827 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] >>> About to start relaying all logs to the client via the connection. >>> 14:01:03.827 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] >>> The client will now receive all logging from the daemon (pid: 11220). The >>> daemon log file: /home/ofbizDemo/.gradle/daemon/2.13/daemon-11220.out.log >>> 14:01:03.855 [INFO] >>> [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting >>> build in new daemon [memory: 1.0 GB] >>> 14:01:03.876 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >>> The daemon has started executing the build. >>> 14:01:03.877 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] >>> Executing build with daemon context: >>> DefaultDaemonContext[uid=9d5b1fab-4c21-4fd6-aa77-8ba1caae67f2,javaHome=/usr/lib/jvm/java-8-oracle,daemonRegistryDir=/home/ofbizDemo/.gradle/daemon,pid=11220,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant] >>> >>> :compileJava >>> >>> >>> > > > > |
Free forum by Nabble | Edit this page |