Can not install Appian Server

<?xml version="1.0" encoding="UTF-8"?>
<datasources xmlns="http://www.jboss.org/ironjacamar/schema">
  <!-- System Datasource -->
  <xa-datasource 
      jndi-name=jdbc/AppianDS 
      pool-name="MySqlDS"
      enabled="true" 
      use-java-context="false">
    <xa-datasource-property name="URL">jdbc:mysql://localhost:3306/appian_ds?useOldAliasMetadataBehavior=true</xa-datasource-property>
    <xa-datasource-property name="useUnicode">true</xa-datasource-property>
    <xa-datasource-property name="characterEncoding">UTF-8</xa-datasource-property>
    <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
    <driver>com.mysql.jdbc</driver>
    <security>
      <security-domain>ds-name-security-primary</security-domain>
    </security>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    <xa-pool>
      <min-pool-size>5</min-pool-size>
      <max-pool-size>100</max-pool-size>
    </xa-pool>
    <timeout>
      <blocking-timeout-millis>5000</blocking-timeout-millis>
      <idle-timeout-minutes>5</idle-timeout-minutes>
    </timeout>
  </xa-datasource>
</datasources>

I am having trouble while installing Appian Server on Windows 64 bit. In the final step Jboss is not getting deployed. The file appian-mysql-ds.xml is having the status of failed. I am attaching the failed file as well as appian-mysql-ds.xml file. Tell me where am I going wrong.

 

Please find attached the files.

  Discussion posts and replies are publicly visible

  • The failed file appian-mysql-ds is having the following content:

    {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"appian-mysql-ds.xml\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"appian-mysql-ds.xml\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"appian-mysql-ds.xml\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Unexpected character 'j' (code 106) in start tag Expected a quote
    at [row,col {unknown-source}]: [5,17]
    Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'j' (code 106) in start tag Expected a quote
    at [row,col {unknown-source}]: [5,17]"}}}}
  • 0
    Certified Lead Developer
    , Give jndi name in double quotes..like jndi-name="jdbc/AppianDS"
    and also make sure you create appian_ds schema in your db
  • I gave the name in double quotes and ran it again but the error is present. I have already created db schema. I am attaching the screenshot of message displayed on cmd after running jboss standalone.bat

  • 0
    Certified Lead Developer
    in reply to shivikav
    , Please attach the server.log file .So that it would be easy to analyse.
  • The content of the log file:



    11:23:44,494 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.6.Final-redhat-1
    11:23:44,725 INFO [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1
    11:23:44,807 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015899: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) starting
    11:23:44,816 DEBUG [org.jboss.as.config] (MSC service thread 1-4) Configured system properties:
    appian.home.ear = C:\appian162\appian\ear
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = UTF-8
    file.encoding.pkg = sun.io
    file.separator = \
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.headless = true
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = C:\appian162\appian\bin\jboss\jboss-eap-6.4\jboss-modules.jar
    java.class.version = 52.0
    java.endorsed.dirs = C:\Program Files\Java\jdk1.8.0_121\jre\lib\endorsed
    java.ext.dirs = C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext;C:\windows\Sun\Java\lib\ext
    java.home = C:\Program Files\Java\jdk1.8.0_121\jre
    java.io.tmpdir = C:\Users\sattam.das\AppData\Local\Temp\
    java.library.path = C:\Program Files\Java\jdk1.8.0_121\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_121\bin;.;C:\Users\sattam.das\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\MySQL\MySQL Utilities 1.6\;.
    java.net.preferIPv4Stack = true
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_121-b13
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.8
    java.util.logging.manager = org.jboss.logmanager.LogManager
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = bugreport.sun.com/.../
    java.version = 1.8.0_121
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.8
    java.vm.vendor = Oracle Corporation
    java.vm.version = 25.121-b13
    javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
    javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
    javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
    javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
    javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
    javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
    javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
    javax.xml.validation.SchemaFactory:www.w3.org/.../XMLSchema = __redirected.__SchemaFactory
    javax.xml.xpath.XPathFactory:java.sun.com/.../dom = __redirected.__XPathFactory
    jboss.as.management.blocking.timeout = 3600
    jboss.home.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4
    jboss.host.name = wksban18mp7482
    jboss.modules.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\modules
    jboss.node.name = wksban18mp7482
    jboss.qualified.host.name = wksban18mp7482
    jboss.server.base.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone
    jboss.server.config.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\configuration
    jboss.server.data.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\data
    jboss.server.default.config = standalone.xml
    jboss.server.deploy.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\data\content
    jboss.server.log.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\log
    jboss.server.name = wksban18mp7482
    jboss.server.persist.config = true
    jboss.server.temp.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\tmp
    line.separator =

    logging.configuration = file:C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\configuration/logging.properties
    module.path = C:\appian162\appian\bin\jboss\jboss-eap-6.4\modules
    org.apache.catalina.connector.URI_ENCODING = UTF-8
    org.jboss.boot.log.file = C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\log\server.log
    org.jboss.resolver.warning = true
    org.xml.sax.driver = __redirected.__XMLReaderFactory
    os.arch = amd64
    os.name = Windows 7
    os.version = 6.1
    path.separator = ;
    program.name = standalone.bat
    sun.arch.data.model = 64
    sun.boot.class.path = C:\Program Files\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_121\jre\classes
    sun.boot.library.path = C:\Program Files\Java\jdk1.8.0_121\jre\bin
    sun.cpu.endian = little
    sun.cpu.isalist = amd64
    sun.desktop = windows
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.command = C:\appian162\appian\bin\jboss\jboss-eap-6.4\jboss-modules.jar -mp C:\appian162\appian\bin\jboss\jboss-eap-6.4\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=C:\appian162\appian\bin\jboss\jboss-eap-6.4
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = Cp1252
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = Service Pack 1
    sun.rmi.dgc.client.gcInterval = 3600000
    sun.rmi.dgc.server.gcInterval = 3600000
    sun.stderr.encoding = cp437
    sun.stdout.encoding = cp437
    user.country = US
    user.dir = C:\appian162\appian\bin\jboss\jboss-eap-6.4\bin
    user.home = C:\Users\sattam.das
    user.language = en
    user.name = Sattam.Das
    user.script =
    user.timezone = GMT
    user.variant =
    11:23:44,818 DEBUG [org.jboss.as.config] (MSC service thread 1-4) VM Arguments: -Xloggc:C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\log\gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms2048m -Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Duser.timezone=GMT -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -Dappian.home.ear=C:\appian162\appian\ear -Djboss.as.management.blocking.timeout=3600 -Dorg.jboss.resolver.warning=true -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\log\server.log -Dlogging.configuration=file:C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\configuration/logging.properties
    11:23:46,708 WARN [org.jboss.messaging] (ServerService Thread Pool -- 6) JBAS011618: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
    11:23:46,758 WARN [org.jboss.messaging] (ServerService Thread Pool -- 6) JBAS011619: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!
    11:23:54,675 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment suite.ear
    11:24:02,672 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found suite.ear in deployment directory. To trigger deployment create a file called suite.ear.dodeploy
    11:24:02,746 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015051: Deployment content C:\appian162\appian\bin\jboss\jboss-eap-6.4\standalone\deployments\appian-mysql-ds.xml appears to be incomplete and is not progressing toward completion. This content cannot be auto-deployed.
    11:24:02,750 WARN [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015013: Scan found content configured for auto-deploy that could not be safely auto-deployed. See details above. Deployment changes will not be processed until all problematic content is either removed or whether to deploy the content or not is indicated via a .dodeploy or .skipdeploy marker file. Problematic deployments are [appian-mysql-ds.xml]
    11:24:02,760 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([("deployment" => "suite.ear")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"suite.ear\")]"
    11:24:02,766 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"
    11:24:02,772 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"JBAS014784: Failed executing subsystem deployment-scanner boot operations\""
    11:24:02,779 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
    11:24:02,803 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) stopped in 12ms