Tomcat Data Sources
From Plex-XML
By default Applications build with Plex /Plex-XML can use JNDI-Datasources (Java Naming and Directory Interface [1]) if the obxxxxx.properties file contains:
- Environment.Default.Usejavax_sql_DataSource=Yes
- Environment.Default.DataSourceJNDI=java:comp/env/jdbc/yourDataSourceName
In this case the part "java:comp/env/" is fix and "jdbc/yourDataSourceName" is the data source name.
- TomCat names always have to start with 'jdbc/'
- The data source definition can be found within the applications context.xml file
- The JDBC driver has to be copied into the Tomcat/common/lib folder. This has to be done, because apparently TomCat loads context dependent datasources during its start-up.
- For more info see also at
- JDBC configurations for
- MS-SQL Server 2000 JDBC
- MS-SQL Server 2005 JDBC
- MySQL 5.0 JDBC
- AS/400 JDBC

