Skip to main content

Posts

WebSphere Application Server Performance Tuning...

Here are some tips for WebSphere Application Server Performance Tuning: 1. Turn verbose garbage collection on, either by using WAS console (Servers => Application servers => server_name => Process definition => Java Virtual Machine) or by modifying command line parameters. Then, restart JVM.  2. Run your test harness and peruse the log file native_stderr.log. This will give you an idea whether your JVM has got optimal heap size allocated: you'll want to find that garbage collection does not occur more often than every 10-15 seconds and it does not take longer than 1 to 2 seconds to complete.  3. If the above is not true, change the JVM heap size, restart JVM and repeat step 2.  4. Use WAS console to check the size of Web Container's thread pool. the maximum size of 60-80 is usually a good default value.  5. Use WAS console to make sure the JDBC Connection Pool has its Maximum Connections set up to a value lower than Web Container's...
Recent posts

Security Hardening of WebSphere Application Server Installations:

It is a known fact that an out of the box WAS installation with security enabled is not entirely secure. There is a number of steps that has to be taken in order to "harden" the installation. Most of the steps are documented in the WebSphere hardening guide , which should be closely studied and followed by any WAS administrator or developer. The hardening guide, however, is a little light on the specifics regarding how to secure WAS at the OS level. For example, hardening should normally include changing file and directory permissions to restrict access to sensitive configuration files. Why bother hardening the installation at the OS level? This helps defend against external threats, i.e., a server hosting the installation is compromised and against internal threats, i.e., an unauthorized access from inside. Here are some of the things you can do to secure your installation on a Unix/Linux platform: 1) If you installed WAS as a non-root account, make sure that th...

SSL certificate installation on IHS (IBM HTTP Server):

Hi, folks... Today I am going to explain how to install an SSL certificate on IHS (IBM HTTP Server). Let's go through the below steps: *Notes: 1) Create a .sh script for creating the db, for importing certificates and for receiving the signed key.  2) gsk7cmd command supports -Xms1024m -Xmx2048m options for adding extra heap memory to java. This is very usefull because some times you end up with OutOfMemory errors. 3) After creating the request you can see the request by list request certificates in the keystore, after receiving the signed certificate the certificate request is removed. Don't worry, this is normal. 4) SL0208E: SSL Handshake Failed, Certificate validation error.  This error is related to the Root Class-3 certificate. Don't forget to import it to the keystore. Step 1 : Configure your environment variables (Using command line): export JAVA_HOME=/java/jre export PATH=/java/jre/bin:$PATH Step 2 : Create a new key store database: ...

WebSphere Application Server Network Deployment V7 Installation (Silent Mode)

Following instructions to guide you on how to install WebSphere Application Server Network Deployment V7 in Silent mode on Linux.: Assume that you have placed the binary files in machine's   /tmp   directory (If you do require a custom location you can). Edit the response file "responsefile.nd.txt" for silent installation. Here I have taken the default "Cell" profile, which includes "DMGR" & "App Server" profiles. Follow the following options for editing the response file: ################################################################################# #  # WebSphere Application Server V7.0 installation options file #  ################################################################################ ################################################################################ #                     Installation options and values #########################################...

WebSphere Application Server Network Deployment V7 Installation Guide (GUI Mode)

Following instructions to guide you on how to install WebSphere Application Server Network Deployment V7 on Linux. Installing IBM WebSphere Application Server ND V7 For installing WAS you can use Launchpad.sh or install script on the WAS Downloaded directory. Using Launchpad. Using install script. Execute ./install to start installation. Click on Next Select the license agreement and click on Next System Prerequisites Check, Ignore the Warning. Click on Next. Checks for User permissions. Click on Next. Features Selection (Optional). Click on Next. Select the Installation Manager Directory to be installed. You can leave it default if you wish to install under /opt/IBM Click on Next. Select the environment for WAS. Here I have selected the default profile, i.e., Cell. Click on Next. Enable Administrative Security (Optional). Click on Next. Option for CIM Repository (Optiona...

Typical flow of a J2EE Application

The typical application flow is as follows: 1. A Web client requests a URL in the browser (input page). 2. The request is routed to the Web server over the Internet. 3. The Web server immediately passes the request to the Web server plug-in.  All requests go to the Web server plug-in first. 4. The Web server plug-in examines the URL, verifies the list of host name aliases from which it will accept traffic based on the virtual host information, and chooses a server to handle the request. 5. A stream is created. A stream is a connection to the Web container. It is possible to maintain a connection (stream) over a number of requests. The Web container receives the request and, based on the URL, dispatches it to the proper servlet. 6. If the servlet class is not loaded, the dynamic class loader loads the servlet (servlet init() , then doGet() or doPost() ). 7. JNDI is used for lookup of either datasources or EJBs required by the servlet. 8. Depending upon whether a ...

What is WAS (WebSphere Application Server) ?

Provides the infrastructure for running applications that run your business. Common environment and programming model for your applications. Platform for developing and Deploying web services and SOA based apps. Secure, Scalable, reliable transaction engine for ERP. IBM WebSphere is architected to enable you to build business-critical applications for the Web. WebSphere includes a wide range of products that help you develop and serve Web applications. They are designed to make it easier for clients to build, deploy, and manage dynamic Web sites more   productively. WAS implements J2EE specification.         WebSphere Application Server provides the environment to run your Web-enabled e-business applications. An application server functions as Web middleware or a middle tier in a three-tier e-business environment. The first tier is the HTTP server that handles requests from the browser client. The third tier is the business database (for...