ActiveVOS Server Console Help

Manual Configuration for a JDBC Identity Service on Tomcat

This topic applies only to ActiveVOS running on Apache Tomcat.

To use a JDBC Identity Service on Tomcat, you must perform a manual step in addition to configuring the service in the ActiveVOS Console. You must configure the JNDI data source by adding a declaration for your resource to the ActiveVOS context.

Add an element like the following example to the $CATALINA_HOME/conf/Catalina/localhost/activevos.xml file, nested inside the Context element.

Example:

<Resource name="jdbc/TestDB" auth="Container"
   type="javax.sql.DataSource"
   maxActive="100" maxIdle="30" maxWait="10000"
   username="javauser" password="javapw"
   driverClassName="com.mysql.jdbc.Driver"
   url="jdbc:mysql://localhost:3306
   /javatest?autoReconnect=true"/>