Posted by: ibmadmin | May 2, 2011

How to determine IBM Websphere Application Server bit version

How to determine IBM WebSphere Application Server bit version

In IBM WebSphere world, many time we need to decide the java bit version to decide on the process heap size setup. One of the main benefit of java 64bit version is the high memory (heap size) allocation for an individual process. The 64bit version process have it own impact for the slowness of the process as it is handling the large execution instruction. But the computation speed is high compare to 32 bit java process. The details of the 64 bit and 32 bit java (IBM WAS) performance behavior are explained in the IBM Site in the following link.

http://public.dhe.ibm.com/partnerworld/pub/whitepaper/1d71a.pdf

We can decide the Solaris Operating system bit version details using the isainfo -v command. The output of the isainfo -v command is given below.

$ isainfo -v
64-bit sparcv9 applications
asi_blk_init vis2 vis
32-bit sparc applications
asi_blk_init vis2 vis v8plus div32 mul32

The following method help us to decide the Java bit version which we are running in our environment. We need to always note that, to support java 64bit version environment, the operating system should have the ability to run the 64bit version code i.e.  64-bit sparcv9 applications in Solaris environment.

If you have chosen to install java 64 bit version in your operating system, then you can see the following files in the JAVA_HOME folder after the installation.

/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$ ls -l
total 1280
-rwxr-xr-x 1 ibmadmin wasadm 56872 May 25 2010 java
-rwxr-xr-x 1 ibmadmin wasadm 52328 May 25 2010 keytool
-rwxr-xr-x 1 ibmadmin wasadm 52472 May 25 2010 orbd
-rwxr-xr-x 1 ibmadmin wasadm 52360 May 25 2010 pack200
-rwxr-xr-x 1 ibmadmin wasadm 52352 May 25 2010 policytool
-rwxr-xr-x 1 ibmadmin wasadm 52328 May 25 2010 rmid
-rwxr-xr-x 1 ibmadmin wasadm 52336 May 25 2010 rmiregistry
-rwxr-xr-x 1 ibmadmin wasadm 52336 May 25 2010 servertool
-rwxr-xr-x 1 ibmadmin wasadm 52504 May 25 2010 tnameserv
-rwxr-xr-x 1 ibmadmin wasadm 159872 May 25 2010 unpack200
/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$

The above directory contents explains we have installed the IBM WebSphere Application Server 64bit version of the software.

We can use the following commands/steps to decide on the installed java bit version.


/opt/was7/WebSphere/AppServer/java/jre/bin]$ ls -l
total 1492
-rwxr-xr-x 1 ibmadmin wasadm 6347 May 25 2010 ControlPanel
-rwxr-xr-x 1 ibmadmin wasadm 64 May 25 2010 ikeycmd
-rwxr-xr-x 1 ibmadmin wasadm 33 May 25 2010 ikeyman
-rwxr-xr-x 1 ibmadmin wasadm 52064 May 25 2010 java
-rwxr-xr-x 1 ibmadmin wasadm 18944 May 25 2010 java_vm
-rwxr-xr-x 1 ibmadmin wasadm 106576 May 25 2010 javaws
-rwxr-xr-x 1 ibmadmin wasadm 6347 May 25 2010 jcontrol
-rwxr-xr-x 1 ibmadmin wasadm 47460 May 25 2010 keytool
-rwxr-xr-x 1 ibmadmin wasadm 79 May 25 2010 kinit
-rwxr-xr-x 1 ibmadmin wasadm 79 May 25 2010 klist
-rwxr-xr-x 1 ibmadmin wasadm 78 May 25 2010 ktab
-rwxr-xr-x 1 ibmadmin wasadm 47588 May 25 2010 orbd
-rwxr-xr-x 1 ibmadmin wasadm 47484 May 25 2010 pack200
-rwxr-xr-x 1 ibmadmin wasadm 47484 May 25 2010 policytool
-rwxr-xr-x 1 ibmadmin wasadm 47456 May 25 2010 rmid
-rwxr-xr-x 1 ibmadmin wasadm 47468 May 25 2010 rmiregistry
-rwxr-xr-x 1 ibmadmin wasadm 47468 May 25 2010 servertool
drwxr-xr-x 2 ibmadmin wasadm 512 May 25 2010 sparcv9
-rwxr-xr-x 1 ibmadmin wasadm 47624 May 25 2010 tnameserv
-rwxr-xr-x 1 ibmadmin wasadm 148772 May 25 2010 unpack200
/opt/was7/WebSphere/AppServer/java/jre/bin]$
/opt/was7/WebSphere/AppServer/java/jre/bin]$ cd sparcv9/
/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$ ls -l
total 1280
-rwxr-xr-x 1 ibmadmin wasadm 56872 May 25 2010 java
-rwxr-xr-x 1 ibmadmin wasadm 52328 May 25 2010 keytool
-rwxr-xr-x 1 ibmadmin wasadm 52472 May 25 2010 orbd
-rwxr-xr-x 1 ibmadmin wasadm 52360 May 25 2010 pack200
-rwxr-xr-x 1 ibmadmin wasadm 52352 May 25 2010 policytool
-rwxr-xr-x 1 ibmadmin wasadm 52328 May 25 2010 rmid
-rwxr-xr-x 1 ibmadmin wasadm 52336 May 25 2010 rmiregistry
-rwxr-xr-x 1 ibmadmin wasadm 52336 May 25 2010 servertool
-rwxr-xr-x 1 ibmadmin wasadm 52504 May 25 2010 tnameserv
-rwxr-xr-x 1 ibmadmin wasadm 159872 May 25 2010 unpack200
/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$

/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$ file ./java
./java: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available

/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$ ./java -version
java version “1.6.0_07-rev”
Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.6.0_07-rev-b08 18_Aug_2008_08_20 solaris sparcv9 (SR2))
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b25, mixed mode)
IBM Java ORB build orbdev-20080816.00
XML build XL TXE Java 1.0.7
XML build IBM JAXP 1.4.3
XML build XML4J 4.5.4

/opt/was7/WebSphere/AppServer/java/jre/bin/sparcv9]$ cd ..

/opt/was7/WebSphere/AppServer/java/jre/bin]$ ./java -version
java version “1.6.0_07-rev”
Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.6.0_07-rev-b08 18_Aug_2008_08_20 solaris sparcv9 (SR2))
Java HotSpot(TM) Server VM (build 10.0-b25, mixed mode)
IBM Java ORB build orbdev-20080816.00
XML build XL TXE Java 1.0.7
XML build IBM JAXP 1.4.3
XML build XML4J 4.5.4

/opt/was7/WebSphere/AppServer/java/jre/bin]$ file ./java
./java: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped, no debugging information available
/opt/was7/WebSphere/AppServer/java/jre/bin]$

The following Links explain about the IBM WebSphere Application Server 64bit related discussion topics.

http://www-01.ibm.com/support/docview.wss?uid=swg21318350

http://www-01.ibm.com/software/webservers/appserv/was/performance.html

Advertisements

Responses

  1. Article writing is also a excitement, if you know after that
    you can write or else it is complex to write.

  2. http://www-01.ibm.com/support/docview.wss?uid=swg21257115


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: