Issue with 19.1 Local Installation - Missing Services, Tomcat etc

Certified Lead Developer

Hi ,

I'm trying to install Appian 19.1 version in my local machine. I have set up all the prerequisites and installed Appian Successfully using this link.

However while doing Part Three: Configure the Appian Properties and MySQL Files,  Step 5

Uncomment the following lines, and set the values equal to the JNDI name, jdbc/AppianDS, used in <REPO_HOME>\tomcat\tomcatResources.xml.<ENVIRONMENT> (do not use quotes around the JNDI names in this file):

I see that my REPO_HOME doesn't have Tomcat Folder in it. It also doesn't have Services Folder in it. I only see the following folders within my REPO_HOME

However the following steps are about configuring the Services and Tomcat etc.

What could have possible gone wrong here?

Any suggestions would be helpful.

Many Thanks,

Arjun.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I recall having some issues with this when I built 19.1 where I had to manually move some stuff around to get the script to do what I wanted. Can you check if the <env> resources file is under the conf folder instead? Mine is popping up there on my 19.1 currently.

    The services folder won't appear by default as its not part of the repo template. I haven't messed with it in awhile, but I'm pretty sure you can manually create it in your repo and the configure script will acknowledge (I may be wrong though)

  • 0
    Certified Lead Developer
    in reply to Justin Watts

    Im able to find the env resources under config. However it doesnt match with the instructions given. For Example in <REPO_HOME>\tomcat\tomcatResources.xml.<ENVIRONMENT> we will need to update

    #conf.data.APPIAN_DATA_SOURCE=

    to

    conf.data.APPIAN_DATA_SOURCE=jdbc/AppianDS

    However, our tomcatResources.xml.<ENVIRONMENT> file looks like

      <Resource name="jdbc/AppianDS"
        factory="com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory"
        type="javax.sql.DataSource"
        driverClassName="com.mysql.jdbc.Driver"
        url="jdbc:mysql://localhost:3306/appian_primary?useOldAliasMetadataBehavior=true&useUnicode=true&characterEncoding=utf8"
        username=""
        password=""
        initialSize="5"
        maxTotal="100"
        defaultTransactionIsolation="READ_COMMITTED"
        maxWaitMillis="30000"
        minIdle="5"
        minEvictableIdleTimeMillis="90000"
        timeBetweenEvictionRunsMillis="450000"
        numTestsPerEvictionRun="100"
        accessToUnderlyingConnectionAllowed="true"
        validationQuery="SELECT 1"
        testOnBorrow="true"
      />
    
    

     

Reply
  • 0
    Certified Lead Developer
    in reply to Justin Watts

    Im able to find the env resources under config. However it doesnt match with the instructions given. For Example in <REPO_HOME>\tomcat\tomcatResources.xml.<ENVIRONMENT> we will need to update

    #conf.data.APPIAN_DATA_SOURCE=

    to

    conf.data.APPIAN_DATA_SOURCE=jdbc/AppianDS

    However, our tomcatResources.xml.<ENVIRONMENT> file looks like

      <Resource name="jdbc/AppianDS"
        factory="com.appiancorp.tomcat.datasource.EncodedPasswordDataSourceFactory"
        type="javax.sql.DataSource"
        driverClassName="com.mysql.jdbc.Driver"
        url="jdbc:mysql://localhost:3306/appian_primary?useOldAliasMetadataBehavior=true&useUnicode=true&characterEncoding=utf8"
        username=""
        password=""
        initialSize="5"
        maxTotal="100"
        defaultTransactionIsolation="READ_COMMITTED"
        maxWaitMillis="30000"
        minIdle="5"
        minEvictableIdleTimeMillis="90000"
        timeBetweenEvictionRunsMillis="450000"
        numTestsPerEvictionRun="100"
        accessToUnderlyingConnectionAllowed="true"
        validationQuery="SELECT 1"
        testOnBorrow="true"
      />
    
    

     

Children
No Data