The CA WA DE uses JDBC to connect to the database. The
db.properties file contains the JDBC url.
The
db.properties is located in
<CA_WA_DE_install_directory>/conf. Edit the JDBC url in the properties to match port number on the database side.
Change the port (in
blue) as shown in the following JDBC url examples. Restart the DE service.
Oracle:
jdbc:oracle:thin:@[db.example.com]:1531:dedb
MS-SQL
jdbc:sqlserver://sqlhost:1433;databaseName=AdventureDB;integratedSecurity=true;
PostgreSQL
jdbc:postgresql://dbhost:5432/dedb
DB2
jdbc:db2://dbhost:3306/db
Additionally, use the
setdbparm (in
<CA_WA_DE_install_directory>/bin) utility to change the JDBC url with the new port.
[[email protected] bin]# ./setdbparm jdbc.URL
Changing JDBC url (jdbc.URL)
Enter new JDBC url: jdbc:postgresql://dehost.example.com:5432/dseries
Verify new JDBC url:jdbc:postgresql://dehost.example.com:5432/dseries
Changed. The Server must be restarted for the change to take effect