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

   
    



18 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
  8. Explanations were great and easy to understand. Thanks.
    PAD 500 Assignment

    ReplyDelete
  9. Use the wls admin console web interface, domain > Environment > Servers > AdminServer > Monitoring > WebLogic Version

    ReplyDelete
  10. hi mukesh,
    java weblogic.utils.Versions using this command bt i got a class not found exception

    ReplyDelete
  11. @ishwarya - use in this form - java -cp D:\Oracle\Middleware\wlserver_12.1\server\lib\weblogic.jar weblogic.version

    ReplyDelete
  12. Negi Ji,
    It can easily be found in weblogic console
    In the WebLogic console, in the left navigation tree, click on "Environment", then "Servers". Then click on one of the servers in the list. Then click on the "Monitoring" tab. Look at the "WebLogic Version" field.

    ReplyDelete
  13. hi Mukesh,

    version fine but how to find out Edition which edtion we are using it like standard .Is there any command find out this please us am waiting for your reply please advise

    Thanks
    santosh

    ReplyDelete
  14. hi mukesh,

    can you please update above comment status .

    ReplyDelete
  15. how to find the installed of weblogic serevr 10.3.6 edition?

    how to know this edition? like standerd/ express
    ?

    ReplyDelete