You can use an external database with License Server. The following databases are supported:
To migrate to an external database, make the following modifications to licenseServer.war/WEB-INF/classes/META-INF/modelContext.xml
:
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.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.url
, username
, and password
properties of dataSource
bean with production values. Make sure to set necessary database connection settings using the url
property.