Validation error

Hi , when I try to validate a prepare repository configuration , following error appear:

Validating configurations for environment BPMSTEST Validation Error in file custom.properties.BPMSTEST: missing property conf.data. APPIAN_DATA_SOURCE Validation Error in file custom.properties.BPMSTEST: missing property conf.suite .SERVER_AND_PORT The message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=eb25fc2e-cecb-456c-b33d-ad06c20f00ce.1, currentDir= /usr/share/appian/_admin/_scripts/configure} Attempting to read last messages from the daemon log... Daemon pid: 8281 log file: /root/.gradle/daemon/4.3/daemon-8281.out.log ----- Last 20 lines from daemon log file - daemon-8281.out.log ----- 09:43:30.069 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectio nHandler] Starting executing command: Build{id=eb25fc2e-cecb-456c-b33d-ad06c20f0 0ce.1, currentDir=/usr/share/appian/_admin/_scripts/configure} with connection: socket connection from /0:0:0:0:0:0:0:1:34819 to /0:0:0:0:0:0:0:1:60666. 09:43:30.070 [ERROR] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=eb25fc2e-ce cb-456c-b33d-ad06c20f00ce.1, currentDir=/usr/share/appian/_admin/_scripts/config ure}, connection = DefaultDaemonConnection: socket connection from /0:0:0:0:0:0: 0:1:34819 to /0:0:0:0:0:0:0:1:60666] after 0.0 minutes of idle 09:43:30.071 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Ma rking the daemon as busy, address: [58cdb461-10f9-4dde-8f7c-659ef236e8ab port:34 819, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 09:43:30.071 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegist ry] Marking busy by address: [58cdb461-10f9-4dde-8f7c-659ef236e8ab port:34819, a ddresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]] 09:43:30.071 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry. 09:43:30.072 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acq uired on daemon addresses registry. 09:43:30.074 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin g lock on daemon addresses registry. 09:43:30.074 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer 09:43:30.075 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes. 09:43:30.075 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondW ithBusy] Daemon is about to start building Build{id=eb25fc2e-cecb-456c-b33d-ad06 c20f00ce.1, currentDir=/usr/share/appian/_admin/_scripts/configure}. Dispatching build started information... 09:43:30.075 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConn ection] thread 16: dispatching class org.gradle.launcher.daemon.protocol.BuildSt arted 09:43:30.079 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvir onment] Configuring env variables: {PATH=/sbin:/bin:/usr/sbin:/usr/bin, SHELL=/b in/bash, HISTSIZE=1000, OLDPWD=/usr/share/appian/_admin/_scripts/configure, TERM =xterm, USER=root, LANG=en_US.UTF-8, XDG_SESSION_ID=90, SUDO_COMMAND=./configure .sh, SUDO_USER=natasa, SUDO_GID=1002, MAIL=/var/spool/mail/natasa, HOSTNAME=es-s k-bpms-new, USERNAME=root, LOGNAME=root, PWD=/usr/share/appian/_admin/_scripts/c onfigure, SUDO_UID=1002, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;3 5:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41: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:*.arc=01;31 :*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz= 01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=0 1;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=0 1;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.w ar=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31 :*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=0 1;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.x pm=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:*.we bm=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=0 1;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=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01 ;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx =01;36:*.xspf=01;36:, SHLVL=0, HOME=/root} 09:43:30.086 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection. 09:43:30.086 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The cli ent will now receive all logging from the daemon (pid: 8281). The daemon log fil e: /root/.gradle/daemon/4.3/daemon-8281.out.log 09:43:30.087 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] S tarting build in new daemon [memory: 954.7 MB] 09:43:30.090 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The d aemon has started executing the build. 09:43:30.090 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Execu ting build with daemon context: DefaultDaemonContext[uid=d0a3f717-185c-4077-b666 -1828f44f238f,javaHome=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.el7_6.x86 _64/jre,daemonRegistryDir=/root/.gradle/daemon,pid=8281,idleTimeout=10800000,dae monOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.c ountry=US,-Duser.language=en,-Duser.variant] Validation Error in file custom.properties.BPMSTEST: missing property conf.data. APPIAN_DATA_SOURCE Validation Error in file custom.properties.BPMSTEST: missing property conf.suite .SERVER_AND_PORT Daemon vm is shutting down... The daemon has exited normally or was terminated i n response to a user interrupt. ----- End of the daemon log ----- FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may hav e crashed) * 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 The configurations for the environment BPMSTEST are incorrect. Update and run va lidation again.

Does anyone have an idea what to do?

BR,Natasa

  Discussion posts and replies are publicly visible

Parents
  • It looks to me like the first two sentences describe the error:

    Validating configurations for environment BPMSTEST Validation Error in file custom.properties.BPMSTEST: missing property conf.data. APPIAN_DATA_SOURCE Validation Error in file custom.properties.BPMSTEST: missing property conf.suite .SERVER_AND_PORT

    I don't think you have configured two required properties in custom.properties:

    • conf.data.APPIAN_DATA_SOURCE - this should reference the primary data source configured in <REPO_HOME>\conf\tomcatResources.xml.<ENVIRONMENT> (if you didn't change anything, it should be jdbc/AppianDS
    • conf.suite.SERVER_AND_PORT - this should reference your fully qualified domain name and the port

    Also check once you change these that you uncomment the properties by removing the # in front. Once you add these, save your custom.properties.BPMSTEST file and try to deploy again. For more information about these configurations, please see here:

    docs.appian.com/.../Quick_Start_Installation_Guide.html

  • Hi,

    I am working on CentOS 7 with Appian 18.1 and Jboss-EAP-6.4 so in the custom.properties I have set up those parameters and define xml files for primary data sources.

    Any other idea will be useful ;). Since I am stack with no idea what to do, and with little experience on Linux.

    BR,Natasa 

  • 0
    Appian Employee
    in reply to natasav

    Those properties are not specific to Windows - they must be set for both Linux and Windows installations. It's also the same for any version of Appian. Are you certain that you are have updated the files in the correct place? You must only change the files in your repository (the location should be listed when you run the script). Also, you must only update custom.properties.BPMSTEST and NOT custom.properties. The only one that is deployed is the file with your environment as the file extension. Also, if possible can you upload a sample of your custom.properties.BPMSTEST file?

Reply
  • 0
    Appian Employee
    in reply to natasav

    Those properties are not specific to Windows - they must be set for both Linux and Windows installations. It's also the same for any version of Appian. Are you certain that you are have updated the files in the correct place? You must only change the files in your repository (the location should be listed when you run the script). Also, you must only update custom.properties.BPMSTEST and NOT custom.properties. The only one that is deployed is the file with your environment as the file extension. Also, if possible can you upload a sample of your custom.properties.BPMSTEST file?

Children
No Data