'daemon has disappeared'

 I'm installing Appian for the very first time, on my laptop, and following the 'Quick Start Installation Guide for JBoss'.

When I run the config.bat script (from a command prompt as Administrator) in order to encode a JBoss password (Tools option 1) I get the following error.

Any ideas?

======================================================================
Configure Appian

This script assists with configuring Appian on various environments.
======================================================================

Repository location: C:\Program Files\appian\repo\appian
Backup location: C:\Program Files\appian\backup\appian
Registered environments: dev
JBoss location: C:\Program Files\appian\repo\appian\bin\jboss\jboss-eap-6.4


Select a tool to execute
1 - Encode passwords for use in JBoss data source configuration
B - Back
Q - Quit
> 1


Enter the password to encode for use in JBoss data source configuration
B - Back
Q - Quit
> password
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=0e48f86f-c130-479d-bdf3-be7eb366c819.1, currentDir=C:\Program Files\appian\_admin\_scripts\configure}
Attempting to read last messages from the daemon log...
Daemon pid: 2660
log file: C:\Users\simon.spencer\.gradle\daemon\4.1\daemon-2660.out.log
----- Last 20 lines from daemon log file - daemon-2660.out.log -----
15:41:34.693 [INFO] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received command: Build{id=0e48f86f-c130-479d-bdf3-be7eb366c819.1, currentDir=C:\Program Files\appian\_admin\_scripts\configure}.
15:41:34.693 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=0e48f86f-c130-479d-bdf3-be7eb366c819.1, currentDir=C:\Program Files\appian\_admin\_scripts\configure} with connection: socket connection from /127.0.0.1:51838 to /127.0.0.1:51839.
15:41:34.693 [ERROR] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=0e48f86f-c130-479d-bdf3-be7eb366c819.1, currentDir=C:\Program Files\appian\_admin\_scripts\configure}, connection = DefaultDaemonConnection: socket connection from /127.0.0.1:51838 to /127.0.0.1:51839] after 0.0 minutes of idle
15:41:34.693 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Marking the daemon as busy, address: [4ff1d279-44d3-4531-8827-df46fc763e7f port:51838, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
15:41:34.693 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [4ff1d279-44d3-4531-8827-df46fc763e7f port:51838, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
15:41:34.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
15:41:34.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
15:41:34.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
15:41:34.693 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer
15:41:34.693 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
15:41:34.693 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=0e48f86f-c130-479d-bdf3-be7eb366c819.1, currentDir=C:\Program Files\appian\_admin\_scripts\configure}. Dispatching build started information...
15:41:34.693 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 18: dispatching class org.gradle.launcher.daemon.protocol.BuildStarted
15:41:34.709 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: {PATH=C:\Program Files\Java\jdk1.8.0_162\bin;C:\Users\simon.spencer\AppData\Local\Microsoft\WindowsApps, USERDOMAIN_ROAMINGPROFILE=APPIANCORP, PROCESSOR_LEVEL=6, ALLUSERSPROFILE=C:\ProgramData, REQUIRED_PARAMS=ae_home=../../.. ae_configure_home=., PROCESSOR_ARCHITECTURE=AMD64, PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules, SystemDrive=C:, DIRNAME=C:\Program Files\appian\_admin\_scripts\configure\, USERNAME=simon.spencer, USERDNSDOMAIN=APPIANCORP.COM, CMD_LINE_ARGS=-q -b tasks/configure.gradle encodeSecurityDomainPassword -Ppassword=password "-PappServerDir=C:\Program Files\appian\repo\appian\bin\jboss\jboss-eap-6.4" "-PconfigureScriptHomeDir=C:\Program Files\appian\_admin\_scripts\configure", ProgramFiles(x86)=C:\Program Files (x86), APP_HOME=C:\Program Files\appian\_admin\_scripts\configure\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, HOMEPATH=\Users\simon.spencer, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel, ProgramFiles=C:\Program Files, PUBLIC=C:\Users\Public, windir=C:\windows, AE_HOME_PARAM=ae_home=c:\Program Files\appian, _SKIP=2, LOCALAPPDATA=C:\Users\simon.spencer\AppData\Local, USERDOMAIN=APPIANCORP, LOGONSERVER=\\ANTEROS, JAVA_HOME=C:\Program Files\Java\jdk1.8.0_162, PROMPT=$P$G, OneDrive=C:\Users\Administrator\OneDrive, =C:=C:\Program Files\appian\_admin\_scripts\configure, APPDATA=C:\Users\simon.spencer\AppData\Roaming, JAVA_EXE=C:\Program Files\Java\jdk1.8.0_162/bin/java.exe, AE_CONFIGURE_HOME_PARAM=ae_configure_home=c:\Program Files\appian\_admin\_scripts\configure\, CommonProgramFiles=C:\Program Files\Common Files, OS=Windows_NT, COMPUTERNAME=5CG6131DKK, PROCESSOR_REVISION=4e03, CLASSPATH=C:\Program Files\appian\_admin\_scripts\configure\\gradle\wrapper\gradle-wrapper.jar, CommonProgramW6432=C:\Program Files\Common Files, ComSpec=C:\windows\system32\cmd.exe, APP_BASE_NAME=gradlew, SystemRoot=C:\windows, TEMP=C:\Users\SIMON~1.SPE\AppData\Local\Temp, HOMEDRIVE=C:, USERPROFILE=C:\Users\simon.spencer, TMP=C:\Users\SIMON~1.SPE\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=4}
15:41:34.724 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.
15:41:34.724 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 2660). The daemon log file: C:\Users\simon.spencer\.gradle\daemon\4.1\daemon-2660.out.log
15:41:34.724 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting build in new daemon [memory: 954.7 MB]
15:41:34.724 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
15:41:34.724 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=a76ac607-0a79-43b0-b0a8-48b291b5c581,javaHome=C:\Program Files\Java\jdk1.8.0_162,daemonRegistryDir=C:\Users\simon.spencer\.gradle\daemon,pid=2660,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
ERROR encoding the datasource password: C:\Program Files\appian\repo\appian\bin\jboss\jboss-eap-6.4\modules\system\layers\base\org\picketbox\main
Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.
----- End of the daemon log -----


FAILURE: Build failed with an exception.

* What went wrong:
Could not dispatch a message to the daemon.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Yes that's what I'm beginning to suspect. I didn't have any PATH variable defined, so I created one that points to %JAVA_HOME%\bin, but others in the same class as me have many more directory specifications in their PATH variable, so I'm going to try copying someone elses PATH definition. BTW the PATH value "C:\Program Files\Java\jdk1.8.0_162\bin" which is shown in the above debug does correctly point to my java jdk directory.