Friday, January 9, 2015

Performance analysis in IBM WCS

By using WebSphere Application Server Performance Monitoring Infrastructure (PMI) we can  monitor the performance of our WebSphere Commerce system. The WebSphere Commerce application server gathers statistics for URLs, tasks, and views. Each data key has an associated set of counters that provide information. For example, the average response time of a task, maximum and minimum response times, and the total number of times a task was called.

 Steps to enable WCS Performance module


Step 1
Enable WCS Performance module.
Edit WCDE_ENT70\workspace\WC\xml\config\wc-server.xml and ensure enabled="true" for following entry

<component compClassName="com.ibm.commerce.performance.monitor.PerfMonitor"   enable="true" name="PerfMonitor"/>

Step 2
Restart server
Open WAS console :















Select Server1 Under this check -
1.Select the Enable Performance Monitoring Infrastructure (PMI) check box.
2.Save and apply the change.
















Now under monitoring and tuning - under performance viewer --> In current activity --> Select server1 and click on start monitoring.

By default Performance module for commerce is disabled, as shown in the screenshot below.









Follow this step to enable the module, select options as shown by the markers in the screen shot below.











 After selecting the custom option, now make selections as indicated by markers on the screenshot.











Now run the Tivoli performance viewer and collect statistics real time.











After some time you should be able to see the performance stats being plotted real time on the graph.
























Using same steps we can enable other stats aswell.
Refrence :WCS PMI Module, WebSphere Commerce PMI module performance monitoring

Monday, January 5, 2015

Websphere Profile name is invalid Specify a profile name that exists on the server


Issue : After a project is added to the server, the WebSphere profile name field cannot be changed.

Resolving the problem

To modify the WebSphere profile name field in the server editor:
In the Servers view, right-click the WebSphere Application Server entry and select Add and remove projects.
Select the Remove All button.
Click Finish in the Add and remove projects wizard and allow for the changes to occur on the server.
Open the server editor by right-clicking the WebSphere Application Server entry in the Servers view and select Open.

Under the Server section, you can now select a valid and existing profile from the WebSphere profile name drop-down list (Go to Step 9 if there are no profiles available).
Save the changes in the server editor by typing Ctrl + s.
In the Servers view, right-click the WebSphere Application Server entry and select Add and remove projects.
Click Add All > Finish.
If there are no profiles available, you can create a new one using the Profile Management Tool:
First close the server editor
Select Windows > Preferences and click on the Server > WebSphere Application Server page.
 Select the server you want to create a profile for and click the Run Profile Management Tool button.
Open the server editor and you should see the new profile.

Refrence : Unable to edit the WebSphere profile name field after a publish failure using an invalid profile