Changing Deployment Order

Hi,
Is there a way to alter deployment order through WLST? Or, does someone know about altering deployment order(not from Admin Console though!) ?
Thanks
Nitin

Hi Nitin,
This can be done in Offline Mode:
Step1). run . ./setWLSEnv.sh
Step2). java weblogic.WLST
Step3). wls:/offline> readDomain(r'C:\bea103\user_projects\domains\7001_Domain')
OR
wls:/offline> readDomain('C:/bea103/user_projects/domains/7001_Domain')
Step4). cd ('AppDeployment')
Step5). ls()
wls:/offline/7001_Domain/AppDeployment> ls()
drw- PolicyTestEAR
drw- WebAppEar
drw- SecondWebAppEar
Step6). cd ('SecondWebAppEar')
Step7). cmo.setDeploymentOrder(111)
wls:/offline/7001_Domain/AppDeployment/SecondWebAppEar> set('DeploymentOrder',111)
wls:/offline/7001_Domain/AppDeployment/SecondWebAppEar> ls()
-rw- AltDescriptorPath..........................null
-rw- AltWlsDescriptorPath..........................null
-rw- ApplicationIdentifier..........................null
-rw- ApplicationName..........................null
-rw- CompatibilityName..........................null
-rw-   DeploymentOrder ..........................111
-rw- DeploymentPrincipalName..........................null
-rw- InstallDir..........................null
-rw- ModuleType..........................ear
-rw- Name..........................SecondWebAppEar
-rw- Notes..........................null
-rw- PlanDir..........................null
-rw- PlanPath..........................null
-rw- SecurityDdModel..........................DDOnly
-rw- SourcePath..........................C:\JavaTest\Diagnostics\SecondWebAppEar
-rw- StagingMode..........................stage
-rw- Target..........................AdminServer
-rw- ValidateDdSecurityData..........................false
-rw- VersionIdentifier..........................null
============================================
As well as in Online Mode :
http://weblogic-wonders.com/weblogic/2010/05/23/changing-deploymentorder-of-datasources/
Thanks
Jay SenSharma
Edited by: Jay SenSharma on Jan 14, 2010 1:57 PM
Edited by: Jay SenSharma on Jan 14, 2010 1:58 PM

Similar Messages

  • BAPI_POSRVAPS_CREATESNPORDER to change existing order

    Hi Experts,
    I am using the following code to change the Deployment results - Confirmed Stock Transfer Requisition (EG and EF).
    After SNP heuristics run, the standard SAP deployment run happens. Then, a stock transport order with reference to production order is created without reference to stock transport requisition or confirmed stock transfer requisition. So, to consume or reduce this confirmed STR quantity, I am using the following code. But the issue is, the date of the confirmed stock transfer requisition gets changed after this BAPI FM. I don't want the date to be changed. Does anyone have any idea of how to just change the quantity, but not to change the dates?
    CALL FUNCTION 'BAPI_POSRVAPS_CREATESNPORDER'
    EXPORTING
    logical_system         = 'SAPXXX113'    " My current SAP APO system
    APPLICATION            = 'DEP'        " Changing Deployment orders
    EXT_NUMBER_ASSIGNMENT  = ' '        " I use ORDERID, instead of the order
    COMMIT_CONTROL         = 'E'        " Commit only on successful completion
    PLNG_VERSION           = '000'        " Active planning version
    change_if_exists       = 'X'        " If it exists, then change the same. If not create it.
    EVENT_CONTROL          = '1'        " To update the ERP system too
    CHECK_SOURCE_EXISTENCE = 'X' "To check and return error if the source doesn't exist
    TABLES
    order_data             = lt_order_data    " Data to be updated
    return                 = lt_return.    " Return message of BAPI update
    For filling the internal table lt_order_data, I am using the function module BAPI_POSRVAPS_GETLIST3.
    * Update fields for BAPI Update
    ls_order_data-ordid         = ls_requirements-ordid.        " ORDID from BAPI_POSRVAPS_GETLIST3
    ls_order_data-schedid       = ls_requirements-schedid.        " SCHEDID from BAPI_POSRVAPS_GETLIST3
    ls_order_data-order_number  = ls_requirements-order_number.    " Order number from BAPI_POSRVAPS_GETLIST3
    ls_order_data-product       = '4280143180'.            " Part number from BAPI_POSRVAPS_GETLIST3
    ls_order_data-location_from = 'HGKG'.                   " From Location number from BAPI_POSRVAPS_GETLIST3
    ls_order_data-loctype_from  = '1001'.                     " From location type from BAPI_POSRVAPS_GETLIST3
    ls_order_data-location_to   = 'SGPR'.                    " To location number from BAPI_POSRVAPS_GETLIST3
    ls_order_data-loctype_to    = '1001'.                      " To location type from BAPI_POSRVAPS_GETLIST3
    ls_order_data-ttype         = ls_receipts-ttype.         " TTYPE from BAPI_POSRVAPS_GETLIST3
    ls_order_data-unitofmeas    = ls_requirements-unitofmeas.
    ls_order_data-unitofmeas_iso = ls_requirements-unitofmeas.
    ls_order_data-order_start_date = ls_requirements-requirement_date. "What date to use here? Whatever the date I give it changes the already existing date. I don't want the dates to be changed
    ls_order_data-order_end_date   = ls_requirements-requirement_date.
    ls_order_data-fixed             = ls_requirements-fixed.
    clear: ls_order_data-atpcat_from, ls_order_data-atpcat_to, ls_order_data-trans_priority.
    Thanks,
    Suresh

    Hi Suresh,
    I have just come across your query. For your knowledge, I wanted you to know that the bapi 'BAPI_POSRVAPS_CREATESNPORDER' can still be used for your purpose i.e changing the Deployment STR Confirmed  Qty without changing Order Dates.
    To acheive this,
    1) Pass 'SNP' in the application parameter in the bapi 'BAPI_POSRVAPS_CREATESNPORDER'.
    2) Pass the order dates from the bapi 'BAPI_POSRVAPS_GETLIST3', which you wanted to retain, to 'Order_start_date','Order_end_date',of bapi 'BAPI_POSRVAPS_CREATESNPORDER' but with different quantity.
    3) However,i suggest you to not to pass ATPCAT_FROM and ATPCAT_TO fields to ORDER_DATA in the bapi 'BAPI_POSRVAPS_CREATESNPORDER'. I found this during debugging the bapi as it is repeatedly failing to update the deployed STR(Confirmed).
    Please find attached screenshot of ORDER_DATA structure for your reference.
    try these. It does work!!
    Thank you,
    Santosh KB.

  • Modify Deployment Order

    Hello all,
    I have 2 deployments, deployment 2 needs to be deployed after deployment 1 because it d2 is using d1. As far as I know you have so called "Deployment Order" (DO). d1 hast DO=100 and d2 has DO=200. If so, then eg after a restart of the weblogic d1 is deployed before d2.
    Now my question: How to modify DO during the building of d2? That means that I want to have the information DO=200 in web.xml (or whatever) of the d2. I've tried <load-on-startup>2</load-on-startup> but it doesn't work because I think it is only valid for 2 different servlets in the sam .ear. But I have 2 .ears. Maybe edit weblogic.xml somehow. But I think weblogic.xml affects all deployments and not only 1.
    Thank you in advance for you feedback.
    Kind regards,
    Anton

    To my knowledge to change the deployment order, the application must first be deployed, for example by using the WLST deploy command (http://docs.oracle.com/cd/E24329_01/web.1211/e24490/reference.htm#i1024284) after which you can obtain an instance of the AppDeploymentMBean (http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13951/core/index.html) and change the DeploymentOrder attribute (http://docs.oracle.com/cd/E24329_01/web.1211/e24443/managing.htm#DEPGD306).
    The following shows an example (with shared libraries)
    print 'DEPLOY LIBRARIES';
    deploy('jsf-ri', path=jsfrilibrary, targets='Cluster', libraryModule='true');
    deploy('trinidad', path=trinidadlibrary, targets='Cluster', libraryModule='true');
    deploy('coherence-web-spi', path=coherencelibrary, targets='Cluster', libraryModule='true');
    print 'START EDIT MODE';
    edit();
    startEdit();
    print 'CHANGE DEPLOYMENT ORDER OF DEPLOYED LIBRARIES';
    libraries = cmo.getLibraries();
    for library in libraries:
         library.setDeploymentOrder(1);
    print 'SAVE AND ACTIVATE CHANGES';
    save();
    activate(block='true');

  • Application deployment order with weblogic-ejb-jar.xml and jndi-name

    I have two applicatation working on Weblogic server v. 10.3.6.
    First of them creating one ejb stateless bean and creates JNDI maping for it (in weblogic-ejb-jar.xml file):
    <weblogic-enterprise-bean>
         <ejb-name>ConfigMenegerBean</ejb-name>
         <stateless-session-descriptor>
         <stateless-session-descriptor>
              <business-interface-jndi-name-map>
              <business-remote>package.ConfigurationSessionRemote</business-remote>
              <jndi-name>ConfigMeneger</jndi-name>
              </business-interface-jndi-name-map>
         </stateless-session-descriptor>
         <enable-call-by-reference>true</enable-call-by-reference>
         <jndi-name>ConfigMeneger</jndi-name>
    </weblogic-enterprise-bean>
    Second appication have to refer for this bean by JNDI using spring been lookup :
    <jee:jndi-lookup id="configManager" jndi-name="ConfigMeneger"/>
    I changed deployment order parameter for both apllication(first=100 and second=500) in order to first app start first and share bean by jndi to another application. Unfortuantelly I got an error :
    javax.naming.NameNotFoundException: Unable to resolve 'ConfigMeneger'. Resolved ''; remaining name 'ConfigMeneger'
    How can I configure deployment order that first application make jndi mapping for bean, before the second application will use it ?

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • Changing of Means of Transport for deployment order

    Hi All,
    Is it possible to manually/ programatically change the means of transport of a deployment order ? for example once deployment has run, it has created a deployment order with means of transport, lets say, 0001 ( Truck). Now i want to change the means of Transport to 0003 ( Air). Is it possible using some BADI etc ?
    Pls note that i know that by assigning product speciic means of product of 0003, it is possible to directly create deployment order for 003 means of transport. Due to some requirement, we want to change it manually.
    Regards,
    Pawan.

    Hi Senthil,
    I tried that option already. Infact there is no need to delete existing deployment order, you can simply run deployment with replan all option. This will create deployment orders on the new means of transport. What i wanted is, without running deployment, is there some option possible wherein i can change the means of transport of an existing order, which is already created on another means of transport ?
    regards,
    Pawan.

  • Changing group order

    I constantly have to mail a group of people for work. I put them in a group in address book, so i don't have to type in all the names one by one. Is there a way to change the order in which these names get filled in? Like i want the person with the "highest" job rank to appear first in the mailing list…

    Hi,
    There is no corresponding group policy settings which can change binding order of NIC. However, in the article you provided, it says that we can create a fixed metric by changing
    the InterfaceMetric registry value or set the interface metric by using a script. In this way, we can choose to use Group Policy Preferences Registry extension to deploy the registry change to clients, or we can use group policy to deploy the script to clients.
    Regarding GPP registry extension, the following article can be referred to for more information.
    Registry Extension
    http://technet.microsoft.com/en-us/library/cc771589.aspx
    If we choose to deploy script via group policy, we can assign computer startup script or user logon script.
    Regarding this point, the following article can be referred to for more information.
    Assign computer startup scripts
    http://technet.microsoft.com/en-us/library/cc779329(v=WS.10).aspx
    Assign user logon scripts
    http://technet.microsoft.com/en-us/library/cc781361(v=WS.10).aspx
    Best regards,
    Frank Shen

  • Set deployment order at deployment

    Hi All,
    This is my situation. i have a WLST deploy script to deploy a few EAR files (WLS 10). The first service is deployed in 5 minutes, the second takes 8 minutes, the third will take 12 minutes and so on until a timeout occurs. Every service takes more time to deploy (size is about the same). I think this has something to do with server getting buzzy with all the deployments. Is there a way to set the deployment order at deploy time so the server first handles all action for the first service before he starts handling the second service? Or is there some other solution to prevent the deployment script form timing out?
    Thanks

    You can change to deployment order by first obtaining a reference to your deployment by using
    deployments = cmo.getAppDeployments;Then the deployment order can be changed as follows:
    for deployment in deployments:
        deployment.setDeploymentOrder(1);The deployment order can be set after you have deployed the application.

  • Group policy for changing binding order of network adapters

    Hi,
    We have enabled Wifi and Wired (LAN) connections at the same time for users using group policy. Both connections works properly on laptops. Now some applications are not working due to routing issues as same connections are working at the same time.
    We want to change connections priority in such a way that Wired (LAN) should always take priority over WiFi connections.
    http://support.microsoft.com/kb/894564 describes method for changing same on single computer.
    Can this be achieved using group policy.
    Mukesh S MCITP Exchange 2007

    Hi,
    There is no corresponding group policy settings which can change binding order of NIC. However, in the article you provided, it says that we can create a fixed metric by changing
    the InterfaceMetric registry value or set the interface metric by using a script. In this way, we can choose to use Group Policy Preferences Registry extension to deploy the registry change to clients, or we can use group policy to deploy the script to clients.
    Regarding GPP registry extension, the following article can be referred to for more information.
    Registry Extension
    http://technet.microsoft.com/en-us/library/cc771589.aspx
    If we choose to deploy script via group policy, we can assign computer startup script or user logon script.
    Regarding this point, the following article can be referred to for more information.
    Assign computer startup scripts
    http://technet.microsoft.com/en-us/library/cc779329(v=WS.10).aspx
    Assign user logon scripts
    http://technet.microsoft.com/en-us/library/cc781361(v=WS.10).aspx
    Best regards,
    Frank Shen

  • Change the order in which the processes come up on restart

    Is there a way to change the order in which the processes come up again when restarting the OC4J?

    Hi --
    Do you mean the order of the applications deployed to an OC4J instance, or the processes started by OPMN when OracleAS is started.
    For the former, we put the application entries into a ordered map based on the order they are seen as in the server.xml file. While we don't offer a feature that the applications will definitively be started in that order, we do work our way through the ordered list. So for more parts you'll see the application starting the same order as they are seen in server.xml.
    For the latter, I'm not sure. I also tend to think that its again based on the order within OPMN. What you can try and use is the opmnctl startall sequential=true command, which will sequentially start each process, where it waits for the previous process to start before starting the next one. That will at least show you the order the processes are starting in and help you test the opmn ordering hypothesis.
    cheers
    -steve-

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Changing the order for printing portfolio files in adobe acrobat 9 pro

    Does anyone know how to change the order for printing pdf files that are part of a portfolio in adobe acrobat 9 pro?  The documentation seems to say that it prints files alphabetically by filename rather than by the internal sort order.  This won't work for me. Any ideas? Thanks.

    Question1: No.
    Question2: No.

  • I copied a smart playlist to a regular playlist in order to change the order of the individual selections.  I then burned the regular playlist to a cd, but the cd burned it in alphabetical order as it appears on the smart playlist.

    I changed the order, then burned a cd but the cd copied the songs in the order of the smart playlist, which was alphabetical.  What am i doing wrong in this scenario, and is there a way to change the song order in a smart playlist?  I am a new MAC user.  Is this unique to the MAC format?

    I'm trying to figure out a way to make a playlist of songs I generally like from a very large library to fit on my iPod. The songs aren't rated, and I don't want to have a totally random selection chosen by a smart playlist.
    I usually make two playlists.
    One playlist with favorites I do want on the iPod and another smart playlist to fill the rest of the iPod. Just limit the size to th esize of the iPod minus wthe size of my iPod selection playlist.

  • How do I change the order of the fields in my pdf form?

    I am using pdf. form I made in Acrobat and distributing with Adobe FormsCentral.  We use a table format for our teachers to fill out their field trip schedules and therefore use many different fields.
    How can I change the order of the fields (not for tabbing, we figured that out)...so that when we receive our notification email, I can see the inforamtion in a specific order (Date, Time, School, Program, etc).
    We would also like this same order to appear in the "View Responses" table.  I know you can drag and drop the order in the table but we have over 100 fields and that is going to take a really long time.
    Please help???
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

    What do you mean by the "order they appear in the pdf structure"?  What is the "Pdf structure"? 
    thank you for your help... this is really upsetting, as I thought we finally found a solution with Adobe Forms : (
    We really need the fields to report back in a specific order and wouldn't have time to rearrange over 100 fields with every form that is submitted. We receive about 10-20 different forms a day (same form layout, just some of the fields will have to be prefilled depending on school/teacher reservation... so we have to name each form a different name, for each school).
    Thank you again and maybe one day they will change that.  Is there anyway to set it up in the web verison of Adobe FormsCentral to look similar to the table we have created?
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

  • I want to change the order that my 9 email accounts are listed on the left sidebar (folderpane?).

    Mac Snow Leopard
    TB 24.5.0
    Suggestions have pointed me towards finding prefs.js file, but I can't find it (library/mozilla, libary/application support/mozilla not there nor in search function)
    Tried with showing hidden files too.
    Really a pain as I need the more active accounts on top opened but not enough room with less active accounts stuck in the middle.
    No RSS feeds, local folders on bottom OK.
    Just want to change the order but can't seem to find the solution.
    Free smile to whoever helps me out! Thanks

    Use this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/manually-sort-folders/

  • Changing report order using the break order property

    I am trying to allow the user to pick the order of the report's data. This has lead me to ask the following questions:
    How can the break order property of a Database Column be set at runtime, specifically in the Before Report program unit??? (changing the order BY clause in the SQL query will not be sufficient because report builder enforces that at least one column�s break order in each Group, other than the lowest one, must be set at design time)
    How can the order of the Database Columns in a Group be re-arranged at runtime, specifically in the Before Report program unit???
    Thanks for any help that you can provide.

    Hi Kevin,
    I don't think that the "Break Order" property can be set programmatically, so it may not be possible to expose it to the users. I think it can only be an enhancement request to the product.
    Navneet.

Maybe you are looking for

  • Can you listen for a string value to change?

    Is there any easy way to see if a string changes value? I have a public static string in one instance of a class that I wish to be notified when it changes. An object of another class will have the listener. Edited by: sarcasteak on Dec 8, 2009 1:40

  • DISCOUNT SOFTWARE - 90% OFF!

    Hello friends! Looking for the best value in DISCOUNT SOFTWARE? Visit our store and have quality, full version software at the best possible prices - 90% OFF ! 5000+ titles of popular pc & mac software! TOP software list: [URL=http://www.softasfiles.

  • Songs not transferring from iTunes to iPod

    I just bought a 60GB iPod and set it up with my iTunes that I was formerly using with an iPod mini. I intalled all of the updates for iPod and iTunes and it says everything is transferred but it does not show up on my actual iPod. it takes a long tim

  • Audio Out Jack Quality

    Does the iMac sacrifice some audio output punch by making the audio/headphone jack double-up as an optical out? I noticed when plugging in a headset or AC-Powered Logitech speakers with a Sub-Woofer that the loudness is not so loud, not as loud as I

  • 3D Tool in Photoshop

    I am somwhat new to photoshop 3d and lost my 3D tool. I clicked on the x on the scrubbie above the tool and it disappeared. Does anyone know how to get it back?