Friday, November 23, 2012

How to check weblogic server version


How to check weblogic server version


You can verify weblogic server version using any of the method described below - 


1) Check server log file for below entry



2) Use weblogic.version command

Go to your_domain/bin
run setDomain.[cmd][sh]
run "java weblogic.version"



3) Use -verbose to get subsystem information



4) Using weblogic.utils.Version command

java weblogic.utils.Versions



5) Check registry.xml file under your Oracle_HOME ( earlier BEA_HOME )



6) Using WLST

Go to wlst prompt
    Go to your_domain/bin
    Run ./setDomainEnv.[cmd][sh]
    java weblogic.WLST
    wls:/offline> version
    'WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 '




7) If you have access to your admin console, then you would able to see there also 



8) Check .product.properties file under WL_HOME

   
    



10 comments:

  1. hi mukesh how to see weblogic version
    i try to see weblogic version using with this command java weblogic.version when i try this iam getting error like this
    bash : no command found

    ReplyDelete
    Replies
    1. Make sure you have java included in your classpath or you can directly run it from the java instanned location....$JAVA_HOME/bin/java -version

      Delete
  2. Hi Mukesh,

    Can you please explain how can I include java in my classpath? I am running webligic 12.1 in MAC OS . I am getting " Exception in thread main" java.lang.NoClassDefFoundError: weblogic/version "

    Please help me.

    Thanks

    ReplyDelete
    Replies
    1. First run setDomainEnv.sh and the run command.

      Delete
  3. Hi Mukesh,
    Thanks for your reply. I did run setDomainEnv.sh. I also set classpath as "set CLASSPATH=$CLASSPATH:Users\kausiksarkar\oracle\Middleware\wlserver_12.1\server\lib\weblogic.jar" but always getting same result. I tried to run that from $JAVA_HOME/bin and also did not get any result.

    This commands are running perfectly in my windows 8 though.

    Thanks again for your time.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. try this

    java -cp [weblogic.jar with full path] weblogic.version

    like in my case

    java -cp D:\Oracle\Middleware\wlserver_12.1\server\lib\weblogic.jar weblogic.version

    ReplyDelete
  7. Thanks Mukhesh,

    It worked ! Thanks a lot! Is there any reason why it was not working before (with previous command)?

    ReplyDelete