Tuesday, October 14, 2014

Configure websphere datasource for cluster database configuration

Oracle RAC cluster:

  jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rac-node1)(port=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=rac-node2)(port=1521)))(FAILOVER=on)(LOAD_BALANCE=on)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=<service_name>)))


DB2 HADR:
   The below values are needed  for configuration

Retry interval for client reroute
Maximum retries for client reroute
Alternate server names
Alternate port numbers
Client reroute server list JNDI™ name
Unbind client reroute list from JNDI

Monday, October 13, 2014

Generate javacore automatically ,threaddumps during hung threads

Add the below custom property to genereate thread dump:

com.ibm.websphere.threadmonitor.dump.java  true

Application servers->server->Server Infrastructure->Administration->Custom property