Sunday, February 15, 2015

Manually generating heapdumps in Websphere

This post explains the steps on generating heapdumps in Websphere on windows 

  1. Navigate to C:\IBM\SDP\runtimes\base_v7\bin
  2. Execute wsadmin.bat
  3. Execute the following in wsadmin prompt
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
$AdminControl invoke $jvm generateHeapDump
$AdminControl invoke $jvm dumpThreads

Monday, January 19, 2015

Websphere Commerce Deployed EAR version

From deployed ear file wcbd-deploy-info.properties, we can figure out the current Websphere commerce deployment package installed on the server. 
The location of this file would be under the deployed EAR


This file has a number of other informations related to the deployment

Here is a sample wcbd-deploy-info.properties

#Fri, 16 Jan 2015 05:19:54 +0000

build.label=2015-01-16_03-47-05_17
build.date=2015/01/16
wcbd.version=101129asup
target.env=uat
connector.module.list=
ejb.module.list=Payments-Plugin-PayPal,Payments-Plugin-PayPoint
existing.web.module.list=Stores,LOBTools
new.web.module.list=
context.root.mapping.list=
partial.app.zip.includes=
partial.app.zip.excludes=
was.host.list=SERVER NAME
db.type=db2
db.name=DB SERVER NAME
db.schema.name=DB SCHEMA NAME
run.dataload.sql.common=false
run.dataload.sql.target=false
run.dataload.xml.common=false
run.dataload.xml.target=false
run.dataload.acug.common=false
run.dataload.acug.target=false
run.dataload.acp.common=true
run.dataload.acp.target=true
run.dataload.acpnls.common=false
run.dataload.acpnls.target=false
wsadmin.deploy.script.file=/usr/WebSphere/CommerceServer70/deployments/jenkins/wcbd-deploy-server-2015-01-16_03-47-05_17/scripts/wcbd-wsadmin.py

rollout.update=true