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

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

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

Similar Messages

  • How to Compare the Version of the mara table in Quality & Production

    Hi...
         I'm in need of comparing the Version of Mara Table in Quality & Production.. I like to Know the Difference between them..
    Can anyone help me with a Solutions.
    With Regards,
    AAHBHA.

    Moderator message - Cross post locked

  • How to compare the version history values

    Hi Everone,
    I've an requirement to compare the column values between present version and previous version of the document in the document library.
    Versioning is enabled in the doc., lib... Please suggest how to achieve the same without opening the version of the file manually. 
    Thanks in advance!
    Thanks
    Arun
    Arun Prakash

    Hi Rodrigo,
    Thanks for your response!
    we don't have any access to server to execute the code or to run the power shell. So please suggest to do same with client side  to achieve this requirement.
    Thanks again!
    Arun Prakash

  • How can I know the version of Application Server Java Virtual Machine

    How can I know the version of Application Server Java Virtual Machine?
    Thanks a lot.

    Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
    For example if you're doing it at command prompt it will be something like
    java -versionI hope this will be useful to you.
    Regards,
    Wasif

  • How to change the Data sources after deploying the application ??

    Hi All,
    i want to know how to change the Data sources after deploying the application to the application server ???
    I'm using Oracle Application Server 10g Release 3 (10.1.3.1.0)

    Can you access the Enrprise Manager website of the target Application Server from your location? If so, you can change the datasource in it. If not, yo can bundle the datasource definition in your archive and use that one instead of the one configured in the target OC4J container. Or this will just be the responsability of your customer: whenever you send a new WAR file, they have to modify the datasource if needed and deploy the application?

  • Question:- How to update the Adobe Air Application Version.?

    Question:- How to update the Adobe Air Application Version.?

    Change the namespace declaration in the application descriptor.
    For example, to update version 1.0 to 1.5, change:
    <application xmlns="http://ns.adobe.com/air/application/1.0." ...
    to:
    <application xmlns="http://ns.adobe.com/air/application/1.5"

  • Compare the versions of a Report Tree

    Hi All,
    How to compare the 2 versions of the same Report Tree in the same client? I have a Report Tree and I need to identify the changes made in each versions (Transports).
    Is there any Program/Function Module that servers the purpose.
    Regards,
    Kriththika

    Hi,
    Open the program in SE38.
    Goto menu Utilities->Versions->Version Management.
    There select the two version you want compare and click on the Difference Button on the application toolbar(Second button).
    Regards,
    Sesh

  • How to tell the version of the ORacle 9iAS?

    How to find the version information about the Oracle 9iAS (Not OC4J) from Enterprise Manager? In windows, we can always use help-->about to get the version number, how do I know the version of the application server is 9.0.2 or 9.0.3?
    thanks

    AS rel 2 is 9.0.2, never 9.0.3. But AS suite has many many product components that has different version number strings depending on your installations and your set of installed Patch Sets (e.g. you could have Infrastructure 9.0.2.3.0 and Core RSFs 9.0.1.4.0a)
    OC4J has been released as 9.0.3, next full AS is 9.0.4 (according to Metalink but who knows, maybe it'll be 10.0.1, 10.1.4 or whatever sounds marketingishly good)

  • How to specify the target name while deploying a code in OSB-- Plz Help

    Hi all,
    Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
    Regards
    Prabhu

    Hi Prabhu,
    There are three kind of server architecture possible for OSB -
    1. Single server - Everything gets deployed on Admin server itself
    2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
    3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
    Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
    You may refer-
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

  • How to do the version comparision in Smart Forms between two Systems

    Hi Frnds,
    How to do the version comparision in Smartforms between two servers.
    Thanks in Advance.
    Ravi

    hi
    u can nt do version comparision  for a smartform between 2 servers. im sure. u can only compare manuallly
    reward points if useful.

  • How to find the Version of CRM system

    Hi All,
    I have to install CRM system and I dont have any other information other than the EWA Report, Can any one let me know how to find the Version of CRM system and we dont have Java installed in it (Generally we check WEBCUIF but as we dont have Java I cannot see the Package). Can I go with the CRMUIF ?? .
    I have Pasted the information of Support Package Maintenance, that is available in EWA Report.
    BBPCRM
    600
    4
    13
    SAP BBPCRM Server
    CRMUIF
    600
    4
    17
    SAPK-60004INCRMUIF
    SAP CRM User Interface Framework
    PI_BASIS
    2005_1_700
    16
    26
    SAP R/3 Basis Plug-In
    SAP_ABA
    700
    16
    29
    SAP Application Basis
    SAP_AP
    700
    13
    29
    SAP_BASIS
    700
    16
    29
    SAP Basis Component
    SAP_BW
    700
    18
    31
    SAP Business Information Warehouse
    ST-A/PI
    01P_700
    0
    SAPKITAB7I
    SAP Service Tools for Applications Plug-In
    ST-PI
    2008_1_700
    6
    8
    SAP Solution Tools Plug-In
    Please let me Know. Thanks in Advance.
    Vijay

    Hi,
    Logically your Status bar should show that.
    Login to gui. --> system -> Status
    and then you should see the crm version in your Component version.
    SAP CRM ABAP 6.0
    You should go with
    BBPCRM
    600
    Thanks
    Rishi abrol

  • How to compare the programs in two different systems

    Hi,
    I have two systems say A & B and i have the program say 'Z_TESTPROG'.
    How to compare the program in two different systems.
    Regards,
    Venkat

    Hi,
    Check the version in Utilities -> version -> version management in both servers is one option.
    Another one is using SE39 transaction.
    Regards
    Manasa

  • How to find the version appl server?

    How to find the version of IAS, forms and reports?
    we are running HRMS on HP unix server.
    Thanks

    Hi,
    You can get your application server version in the context file with the value of the context variable s_techstack.
    You can also do it with the following steps,
    On Windows NT/2000 platform :
    Navigate to :
    C:\Program Files\Oracle\Inventory\Components
    \oracle.iappserver.iapptop directory.
    On UNIX platform:
    Navigate to :
    $ORACLE_HOME/oraInventory/Components/oracle.iappserver.iapptop directory
    In both cases the sub directory under the oracle.iasppserver.iapptop directory will show the version of Application Server installed. For example thesubdirectory may be called 1.0.2.2.1, which indicates version 1.0.2.2.1.
    Rgds,
    S.Jai
    Shanthi Gears (LTD)

  • How to find the version of Internet Sales

    Hi
    Please tell me how to find the version of R/3 Internet Sales. We are using ECC 6.0 and R/3 Internet Edition along with CRM 3.1
    Thanks

    Hi
    If you wan to find out version and SP information then go to
    http://<host>:<port>/sap/monitoring/ComponentInfo
    give Administrator/pasword and it will display version with SP# information for each component. As ISA is not single component application so you have to get component version information which you have used in your ISA. It may happen that all component are not at same SP level.
    eCommerce Developer

  • How to bring the data from application server to presentation server

    hi,
    i have one problem,i have written the program which will open the files in the application server when we run the program in the background(sm37),the same data from application server i want to bring into presentation server in the format of (.csv),how to bring the data from application to presentation server can any body help me on this  topic.folowing is the code .
    *& Report  ZPFA_HIER_LOAD
    REPORT  ZFPA_HIER_LOAD.
    *---- Declaration of Oracle connectioN
    DATA con_name LIKE dbcon-con_name VALUE 'COMSHARE'.
    DATA: MFL1(9),MFL2(5),MFL3(9),MFL4(2),MFL5(8) TYPE c.
    DATA : mfilename type string.
    data: begin of matab1 occurs 0,
          MFL1(9) TYPE C,
          MFL2(5) TYPE C,
          MFL3(9) TYPE C,
          MFL4(2) TYPE C,
          MFL5(8) TYPE C  ,
         end of matab1 .
    data: setid(8) type c.
    data: begin of source occurs 0,
          setid(8) type c,
          end of source.
    *PARAMETERS : p_pfile LIKE filename-FILEEXTERN.
    *PARAMETERS : m_bsenty(8). " type c obligatory.
    *mfilename = P_PFILE.
    EXEC SQL.
      SET CONNECTION :con_name
    ENDEXEC.
    EXEC SQL.
      CONNECT TO :con_name
    ENDEXEC.
    EXEC SQL PERFORMING get_source.
      SELECT set_id FROM UNIT_SET INTO
      :setid
      ORDER BY SET_ID
    ENDEXEC.
    start-of-selection.
    LOOP AT SOURCE.
      REFRESH matab1. CLEAR matab1.
      EXEC SQL PERFORMING evaluate.
    SELECT TO_CHAR(MEM_ID),TRIM(TO_CHAR(MEM_PID)) FROM UNIT_TREE INTO :MFL1,
    :MFL5
    where set_id = :SOURCE-SETID ORDER BY MEM_ID
      ENDEXEC.
      if SOURCE-SETID = '80000000'.
       mfilename = '/tmp/aesorg'.
      elseif SOURCE-SETID = '80000006'.
       mfilename = '/tmp/Consolidation_Manager'.
      elseif SOURCE-SETID = '80000010'.
       mfilename = '/tmp/10org'.
      elseif SOURCE-SETID = '80000012'.
       mfilename = '/tmp/20org'.
      elseif SOURCE-SETID = '80000018'.
       mfilename = '/tmp/30org'.
      elseif SOURCE-SETID = '80000025'.
       mfilename = '/tmp/40org'.
      Endif.
      mfilename = '/usr/test.dat'.
    ************************This was i tried***********************
      open dataset mfilename for output in text mode encoding default." IN
    *TEXT MODE ENCODING DEFAULT.
    if sy-subrc <> 0.
    exit.
    endif.
    close dataset mfilename.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
         FILENAME         = MFILENAME
         FILETYPE         = 'ASC'
       TABLES
         data_tab         = matab1
       EXCEPTIONS
         file_write_error = 1
         invalid_type     = 2
         no_authority     = 3
         unknown_error    = 4
         OTHERS           = 10.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
      clear matab1.
    ENDLOOP.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
    close dataset mfilename.
         MFL5 = '0'.
       CLEAR MFL5.
    FORM evaluate.
      if MFL5 = -1.
        MFL5 = ''.
      ENDIF.
      concatenate MFL1 ','   into MFL1.
      concatenate MFL1 ','   into MFL3.
      matab1-MFL1 = MFL1.
      matab1-MFL2 = 'ZBUE,'.
      matab1-MFL3 = MFL3.
      matab1-MFL4 = ' ,'.
      matab1-MFL5 = MFL5.
      append matab1 .
      CLEAR MFL1.
      CLEAR MFL2.
      CLEAR MFL3.
      CLEAR MFL4.
      CLEAR MFL5.
    ENDFORM.
                     "evaluate
    *&      Form  GET_SOURCE
          text
    FORM GET_SOURCE.
      source-setid = setid.
      append source.
      clear source.
    ENDFORM.                    "GET_SOURCE

    Hi Rammohan,
    You cannot use OPEN DATASET to transfer data from application server to presentation server.
    You can do the following :
    <b>Do 1st point in BACKGROUND</b>
    1. Read the data file from application server into an internal table using OPEN DATASET
    <b>Do 2nd point in Foreground</b>
    2. Once you get the data into an internal table, then use FM GUI_DOWNLOAD to download it on presentation server
    You cannot use the above 2 point together in Background because its not possible. Hence you need program it partially in background and partially in foreground.
    Best regards,
    Prashant

Maybe you are looking for

  • Creating File objects from all files in a folder.

    Hi, I'm not too brilliant of a programmer, so this may be an obvious one that I could find in the API. My goal is to compare files for similarities and then give some output, that's not too important. My question is: How do I create an array of File

  • Can Someone Explain a Kernal Panic?

    So is it like the blue screen of death on windows, is it somthing to worry about? I looked it up on wikipedia and nothing came up. I thought I saw somthing like this on Macuser or tuaw that was some kind of prank, I will try and find the link. Got it

  • Please help to load image in the database

    Hi to all. .... I need to save image file in the database thru forms ... I have some image file in the application server and I need to load it in the database in a Blob col.. Any help ... ?? Thank's in advance

  • HTTP Headers

    How to spoof "referer" header ? Awaiting reply

  • Airport Utility scans but does not see Airport Express

    Hi, When I open Airport Utility it scans looking for devices and finds none. Meanwhile. the yellow light is blinking on AE. We had Verizon over a week ago to change and set up a new wifi router, as the old one stopped working. The network name didn't