Child pages
  • Using External Database
Skip to end of metadata
Go to start of metadata

You can use an external database with License Server. The following databases are supported:

  • MySQL 5
  • Sybase Adaptive Server Enterprise (ASE) 15

To migrate to an external database, make the following modifications to licenseServer.war/WEB-INF/classes/META-INF/modelContext.xml:

  1. In org.apache.commons.dbcp.BasicDataSource bean properties, comment out driverClassName property referencing the embedded database, and uncomment driverClassName property corresponding to the external database of your choice.
  2. In org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter bean properties, comment out databasePlatform property that references oracle.toplink.essentials.platform.database.DerbyPlatform SQL dialect, and uncomment the databasePlatform property corresponding to the external database of your choice.
  3. Replace default values for url, username, and password properties of dataSource bean with production values. Make sure to set necessary database connection settings using the url property.
  • No labels