1 Reply Latest reply: Feb 4, 2013 10:49 AM by 989004 RSS

    how to compare the version of application deployed on wls11g using wlst

    989004
      Hello

      How can I find the version of the application deployed using wlst?

      I tried the following script but this returns me a syntaxerror

      #######################################################
      # Script for monitoring deployed applications version #
      #######################################################

      connect('weblogic','xxxxx',url='t3://adminserver:7501')
      domainConfig()
      vasApps = cmo.getAppDeployments()

      for app in Apps:
      AppPath = '/AppDeployments/' + app.getName()
      cd(AppPath)
      print app.getName() + ' : source path is : ' + cmo.getAbsoluteSourcePath()

      I’m trying to monitor the version of my application deployed on 4 weblogic instances

      Is there any way i could accomplish this?

      Thanks in advance
        • 1. Re: how to compare the version of application deployed on wls11g using wlst
          989004
          hello,

          i managed to find out pbr, there was some tabulation missing in the script

          #######################################################
          # Script for monitoring deployed applications version #
          #######################################################

          connect('weblogic','1phinid05',url='t3://srvwls05.paryseine:7501')
          domainConfig()
          Apps = cmo.getAppDeployments()

          for app in Apps:
          AppPath = '/AppDeployments/' + app.getName()
          cd(AppPath)
          print app.getName() + ' : source path is : ' + cmo.getAbsoluteSourcePath()

          Regards