I tried to run Scada-Lts on Tomcat 7 with jdk 1.7 and i got the following error:
SEVERE: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener
java.lang.IllegalArgumentException: No DataSource specified
at org.springframework.util.Assert.notNull(Assert.java:115)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:97)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:428)
at com.serotonin.mango.db.MySQLAccess.newDatabaseCheck(MySQLAccess.java:76)
at com.serotonin.mango.db.DatabaseAccess.initialize(DatabaseAccess.java:118)
at com.serotonin.mango.MangoContextListener.databaseInitialize(MangoContextListener.java:391)
at com.serotonin.mango.MangoContextListener.contextInitialized(MangoContextListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
You should set up the connection to the database in context.xml (configuration file tomcat7) the example below.
You should copy the files: "mysql-connector-java-5.1.38-bin.jar", "mysql-connector-java-3.1.8-bin.jar" to the directory "./tomcat7/lib"
The example of configuration file context.xml:
It should works.
In above configuration software required server installed MySql database "scadalts" and the root user with the password root on localhost.