You are currently reviewing an older revision of this page.
Tomcat fails with one of the following errors in <APPIAN_HOME>/logs/tomcat-stdOut.log:
<APPIAN_HOME>/logs/tomcat-stdOut.log
ERROR org.hibernate.connection.DatasourceConnectionProvider - Could not find datasource: jdbc/AppianDSjavax.naming.NameNotFoundException: Name [jdbc/AppianDS] is not bound in this Context. Unable to find [jdbc].
WARNING [localhost-startStop-1] org.apache.catalina.core.NamingContextListener.addResource Failed to register in JMX: [javax.naming.NamingException: Unexpected exception resolving reference [Root exception is javax.crypto.BadPaddingException: Given final block not properly padded]]WARNING [localhost-startStop-1] org.apache.naming.NamingContext.lookup Unexpected exception resolving referencejavax.crypto.BadPaddingException: Given final block not properly padded.
When the configure script is run, the content in tomcatResources.xml.<ENVIRONMENT> is copied to suite.xml in <APPIAN_HOME>\tomcat\apache-tomcat\conf\Catalina\localhost.
<APPIAN_HOME>\tomcat\apache-tomcat\conf\Catalina\localhost
These errors occur if this content does not copy over correctly or if suite.xml is configured improperly.
<!-- BEGIN DATASOURCE -->
<!-- END DATASOURCE -->
This article applies to Appian 18.3 and later.
Last Reviewed: September 2018