Installation of WAS Fix pack

Steps to install the Fixpack:- Following is the step-by-step approach for installing the fixpacks for WebSphere Application Server environment:- (1) Take the back-up of the existing configuration. You run the below command to take the backup of the existing configuration from the individual profiles- (a) ./backupConfig.sh name_config.zip (unix) (b) backupConfig.bat

Continue reading »

BASIC Authentication in Websphere Application Server

1 ) Secure the application resources using the descriptor (web.xml) <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”> <web-app id=”WebApp”> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <security-constraint> <display-name>Constraint-0</display-name> <web-resource-collection> <web-resource-name>Constraint-0</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>pegaadmin</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> <login-config> <auth-method>BASIC</auth-method> </login-config> <security-role> <role-name>pegaadmin</role-name> </security-role> </web-app>   2) Deploy the application

Continue reading »

Analyzing WebSphere Thread Dump

We can take thread dump on WAS using wsadmin tool in the following way. D:\IBM\WebSphere\AppServer\profiles\ProcessCommander\bin>wsadmin.bat WASX7209I: Connected to process “server1” on node WKHANFXPNode02 using SOAP conn ector; The type of process is: UnManagedProcess WASX7029I: For help, enter: “$Help help” wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=server1,*] WebSphere:name=JVM,process=server1,platform=proxy,node=WKHANFXPNode02,j2eeType=J VM,J2EEServer=server1,version=6.1.0.0,type=JVM,mbeanIdentifier=JVM,cell=WKHANFXP Node01Cell,spec=1.0 wsadmin>$AdminControl invoke $jvm

Continue reading »

Installing Websphere Application Server 7.0 in Silent Mode on Linux

Step 1) Download Websphere Installer from the official IBM Site http://www.ibm.com/developerworks/downloads/ws/was/ There are two types of installers, BASE Edition and Network Deployment.Only Base Edition is available for trail. We can only create standalone servers with that.Network Deployment Installer comes with additional fetaures like Clustering. You can check the official Website

Continue reading »