Wednesday, October 30, 2019

JDBC Scan URL configurations

Scan URL can be resolved to multiple ip addresses. in a networked environment, You have to obtain access rules to those ip address and ports.



Properties file configuration with values

myapp.jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
myapp.jdbc.url=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS =(PROTOCOL=TCP)(HOST=myapp.test.db.com)(PORT = 1521 ))(CONNECT_DATA=(SERVICE_NAME= myappdbservicename)))
myapp.jdbc.username=
myapp.jdbc.password=
myapp.jdbc.initialSize=2
myapp.jdbc.maxActive=2

JBOSS deployment error - org.infinispan.commons.CacheException: ISPN000279

Reason : Corrupted cache contents
Solution : Remove / rename data folder located in JBOSS_HOME/standalone/data