Hi,
During upgrade from version 9.4.2 to the newest I cannot solve the issue Name [jdbc/OpenOLATDS] is not bound in this Context. Unable to find [jdbc].
OS is Centos 6.5
DB is MySQL
Java is "1.8.0_77"
Error in cataliona.out is:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseUpgrader' defined in class path resource [org/olat/upgrade/_spring/databaseUpgradeContext.xml]: Cannot resolve reference to bean 'mysql_jndi_DataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysql_jndi_DataSource' defined in class path resource [org/olat/core/commons/persistence/_spring/databaseCorecontext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [jdbc/OpenOLATDS] is not bound in this Context. Unable to find [jdbc].
ROOT.xml is
<?xml version="1.0" encoding="UTF-8" ?>
<Context path="" docBase="/d1/olat14/olatdata" debug="0" reloadable="false" allowLinking="true">
<Resource name="jdbc/OpenOLATDS" auth="Container" type="javax.sql.DataSource"
maxTotal="16" maxIdle="4" maxWaitMillis="60000"
username="****" password="****"
driverClassName="com.mysql.jdbc.Driver"
validationQuery="SELECT 1".
validationQueryTimeout="-1".
testOnBorrow="true".
testOnReturn="false"
url="jdbc:mysql://localhost:3306/oodb?useUnicode=true&characterEncoding=UTF-8&cachePrepStmts=true&cacheCallableStmts=true&autoReconnectForPools=true"/>
</Context>
Full catalina.out is attached.
Thanks for help