Tuesday, June 3, 2014

How to check Weblogic server Version

Different ways to check weblogic server version
------------------------------------------------------------
bash-3.2$ grep WebLogic registry.xml
     
          product format="1.0" name="WebLogic Platform"

        component name="WebLogic Server" version="10.3.6.0" InstallDir="/SID/disco11g/product/wls_103"
       

bash-3.2$ pwd
/sid/disco11g/product
bash-3.2
=================================================
bash-3.2$ vi AdminServer.log
bash-3.2$ grep Copyright AdminServer.log
WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050  Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.>
WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050  Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.>
WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050  Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.>
bash-3.2$ pwd
/sid/disco11g/product/user_projects/domains/SID/servers/AdminServer/logs
bash-3.2$
========================================================
bash-3.2$ cd $WL_HOME/server/bin/
bash-3.2$ ls
setWLSEnv.sh  startNodeManager.sh
bash-3.2$ . ./setWLSEnv.sh
CLASSPATH=/SID/disco11g/product/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/SID/disco11g/product/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/SID/disco11g/product/jdk1.6.0_21/lib/tools.jar:/SID/disco11g/product/wls_103/server/lib/weblogic_sp.jar:/SID/disco11g/product/wls_103/server/lib/weblogic.jar:/SID/disco11g/product/modules/features/weblogic.server.modules_10.3.6.0.jar:/SID/disco11g/product/wls_103/server/lib/webservices.jar:/SID/disco11g/product/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/SID/disco11g/product/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:

PATH=/SID/disco11g/product/wls_103/server/bin:/SID/disco11g/product/modules/org.apache.ant_1.7.1/bin:/SID/disco11g/product/jdk1.6.0_21/jre/bin:/SID/disco11g/product/jdk1.6.0_21/bin:.:/SID/disco11g/product/disco_111/jdk/jre/bin:/SID/disco11g/product/disco_111/discoverer/bin:/SID/disco11g/product/disco_111/bin:/SID/disco11g/product/wls_103/server/bin:/SID/disco11g/product/user_projects/domains/SID/bin:/SID/disco11g/product/instance/bin:/SID/disco11g/product/disco_111/jdk/bin:/SID/disco11g/product/disco_111/bin:/usr/local/git/bin:/usr/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:/bin:/usr/sbin:/sbin:/usr/local/bin

Your environment has been set.
bash-3.2$ java weblogic.version

WebLogic Server 10.3.6.0.5 PSU Patch for BUG16619891 Tue Apr 23 13:24:29 IST 2013
WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050

Use 'weblogic.version -verbose' to get subsystem information

Use 'weblogic.utils.Versions' to get version information for all modules

No comments:

Post a Comment