You are currently reviewing an older revision of this page.
Tomcat fails with one of the following errors:
ERROR org.hibernate.connection.DatasourceConnectionProvider - Could not find datasource: jdbc/AppianDS
javax.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 reference
javax.crypto.BadPaddingException: Given final block not properly padded.
When the configure script is run, the information 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 code does not copy over correctly or if it is configured improperly.
Manually copy the entire contents of tomcatResources.xml.<ENVIRONMENT> to suite.xml in between the lines and make sure it is configured according to installation documentation:
<!-- BEGIN DATASOURCE -->
<!-- END DATASOURCE -->