Deployment order in case of dependent composites.

If there are two composites Consumer and Provider, where consumer calls the provider, is there any particular order I need to follow during deployment.
Looking at
Link 1: http://www.javaoracleblog.com/java/AIA_11g_Best_Practices_for_Decoupling_Services_and_Avoiding_Invalid_Composites_at_Server_Startup.jsf and
Link 2: Order of deployment it seems that
1. We should use abstract wsdl's of the called partnerlink so that dependency is resolved at runtime.
2. MDS is to be used for storing abstract wsdls.
3. If we dont do this, there is a possibility after server startup that Consumer would be in broken state, see Link 1.
For 1,2, I want to know if there is any tool or documentation around this for general development in 11g. I could see that both above links are referring to AIA and to the AIA Service constructor
For 3, I have some doubts, as I have not ever used abstract wsdl's, but never ran into issues after server startups (the post says one needs to be lucky, but I doubt I can be so lucky consistently :) )
Please give your inputs
Rgds,
AG

Hi,
I didn't had the problem as you mentioned...i mean the invalid composites at server start up...but this is one of the main AIA design principles to follow...
I asked the same question to experts and they answered my question and i was able to create the project in which i refer a webservice through its abstract WSDL which is in MDS location...thats all the composite requires at design time...at run time the actual concrete WSDL will be used...
How to Create Abstract WSDL from Concrete WSD
Hope that helps...
Thanks,
Naresh

Similar Messages

  • Deployment Order of modules.

    Hi,
    I have an en EAR that contains multiple jars and each jar contains multiple EJBs
    and the jars depends each others (not circular).
    that means that the deployment order of modules it's
    very important so I won't get NoClassDefErrorFound.
    How Can I set the modules deployment order ?, I know that for each of the jars
    I can set the deployment order (in my case ejb deployment order) but what about
    modules ?
    Any help will be appreciated.
    Haim

    If I understand correctly, you're asking if there is any ordering of the jar files in WEB-INF/lib of a war file? ie if you have the same class in multiple jars files which one is first on the classpath?
    AFAIK, this is undefined in the J2EE specs, and we don't guarantee any ordering.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • How to Confirm the SDAs deploy order of SCA in RemoteGUI of SDM

    Hello everybody,
           We assemblied a sca file in NWDI when we finished development.
           But when we used RemoteGUI to deploy the SCA file in another NetWeaver2004s engine.The Deploy order is wrong.The SDM doesn't first deploy the Library,EAR.It deployed the SDA ordering by the letter order ,not the dependence order.
           For example,there are two SDA in the SCA file, one's name is <b>d_lib</b>,another name is <b>a_ear</b>.The a_ear depend on the d_lib.When SDM deploy the SCA,it first deploy the a_ear,not d_lib.
          How to Confirm the SDAs deploy order of SCA in RemoteGUI of SDM?

    Hi Marc,
    Thanks for your help!
    I found the Prodiver.xml,and the content is:
    <?xml version="1.0" encoding="utf-8" ?>
    - <provider-descriptor>
      <display-name>om/library</display-name>
      <component-name>om/library</component-name>
      <description />
      <major-version>7</major-version>
      <minor-version>00</minor-version>
      <micro-version>0</micro-version>
      <provider-name>pjs.com</provider-name>
    - <jars>
      <jar-name>pjs.comomwcalistwcalist_daoWcalistPackage.jar</jar-name>
      <jar-name>pjs.comomlogequipdao~daoPackaged.jar</jar-name>
      <jar-name>pjs.comomnotificationnotification_daoNotificationPackage.jar</jar-name>
      <jar-name>pjs.comombasedaodaoPackaged.jar</jar-name>
      <jar-name>pjs.comomlogareaareadaopackaged.jar</jar-name>
      <jar-name>pjs.comompostpost_daoPostPackage.jar</jar-name>
      <jar-name>pjs.comompostpost_daoSpecialtyPackage.jar</jar-name>
      <jar-name>pjs.comomtaskdaopackaged.jar</jar-name>
      <jar-name>pjs.comomgradeprojectgradedaopackagSDA.jar</jar-name>
      <jar-name>pjs.comomlogreconlredaopackaged.jar</jar-name>
      <jar-name>pjs.comomsafeexcepreportExcepReportPackage.jar</jar-name>
      <jar-name>pjs.comomsaferecorddaoapi.jar</jar-name>
      <jar-name>pjs.comomlogelogelogdaopackaged.jar</jar-name>
      <jar-name>pjs.comomsysdaopackaged.jar</jar-name>
      <jar-name>pjs.comombasevindbasedaopackaged.jar</jar-name>
      <jar-name>pjs.comomlogsearchpersondao~SearchPersonSDA.jar</jar-name>
      <jar-name>pjs.comomplacarddaoplacardPackaged.jar</jar-name>
      <jar-name>pjs.comompostpost_daoPersonPackage.jar</jar-name>
      <jar-name>pjs.comomsbillrecorddaosbillRecordPackaged.jar</jar-name>
      <jar-name>pjs.comomdutyperson_dao~DutyPersonSDA.jar</jar-name>
      <jar-name>pjs.comomrptdaoRptSDA.jar</jar-name>
      <jar-name>pjs.comompostpost_daoEquipmentPackage.jar</jar-name>
      <jar-name>pjs.comomlogtypelogdaopackaged.jar</jar-name>
      <jar-name>pjs.comomsafeproeval_daoProEvalPackage.jar</jar-name>
      <jar-name>pjs.comompersonpostdaopackaged.jar</jar-name>
      <jar-name>pjs.comomlogsearchlogdao~SearchSDA.jar</jar-name>
      <jar-name>pjs.comompublic~packaged.jar</jar-name>
      <jar-name>pjs.comomspellgroupdaodaoPackaged.jar</jar-name>
      <jar-name>pjs.comomlogpersonlogdao~packaged.jar</jar-name>
      <jar-name>pjs.comompostpost_daoRlogPackage.jar</jar-name>
      <jar-name>pjs.comomschedule_dao~ScheduleSDA.jar</jar-name>
      <jar-name>pjs.comomreportrptdaopackaged.jar</jar-name>
      <jar-name>pjs.comompostpost_daoRecordClassPackage.jar</jar-name>
      <jar-name>pjs.comompostpost_daoReqpPackage.jar</jar-name>
      <jar-name>pjs.comomlogshiftclassdao~ShiftClassSDA.jar</jar-name>
      <jar-name>pjs.comomverifyrecorddao~RecordPackage.jar</jar-name>
      <jar-name>pjs.comomunit_dao~UnitSDA.jar</jar-name>
      <jar-name>pjs.comomdatadefinedefdaopackaged.jar</jar-name>
      <jar-name>pjs.comomheader_dao~HeaderSDA.jar</jar-name>
      <jar-name>pjs.comomspellspedaopackaged.jar</jar-name>
      <jar-name>pjs.comomlogrecdlcddaopackaged.jar</jar-name>
      <jar-name>pjs.comomlogsearchequip_dao~SearchEquipSDA.jar</jar-name>
      <jar-name>pjs.comomcompanycomdaopackaged.jar</jar-name>
      <jar-name>pjs.comommaceasyformdao~daoJAR.jar</jar-name>
      <jar-name>pjs.comomdeclaredecdaopackaged.jar</jar-name>
      <jar-name>pjs.comompostpost_daoFunlcodePackage.jar</jar-name>
      <jar-name>pjs.comomlogeventlevdaopackaged.jar</jar-name>
      <jar-name>pjs.comomclient_dao~ClientSDA.jar</jar-name>
      <jar-name>pjs.comomlogdepldedaopackaged.jar</jar-name>
      <jar-name>pjs.comomlogceqplceqdaopackaged.jar</jar-name>
      <jar-name>pjs.comomrptinforptdaopackaged.jar</jar-name>
      </jars>
      </provider-descriptor>
    I checked it and didn't find any error! What can i do?

  • Deployment order across applications

    I have a web app that implements ServletContextListener. This app on deployment
    looks for an ejb on another app. How do I tell weblogic to deploy the web app
    before the ejb app. These two have to be different applications. I cannot combine
    them into the same ear. I am not able to find ways to identify deployment order
    across applications. Any thoughts.
    Any ideas on other approaches if this is not possible will be greatly appreciated.
    Thanks in advance.

    We don't want the dependency between the EAR application and this web app. We also
    plan to deploy this web app on multiple boxes that will require only a servlet
    container and will not require an app server. Also the EAR app will be deployed
    on multiple boxes and we do not want the extra overhead of this web app. Hope
    this answers your question.
    Do you know of any alternative approach to this problem since I do not see having
    deployment ordering across apps in weblogic.
    Thanks.
    Gajendra Sanil
    "Dimitri I. Rakitine" <[email protected]> wrote:
    I'm curious, why you cannot deploy your EJBs and WAR in the same EAR?
    Deploying them separately will result in a very serious performance
    penalty because local RMI optimization will not be used.
    Gajendra Sanil <[email protected]> wrote:
    I have a web app that implements ServletContextListener. This app ondeployment
    looks for an ejb on another app. How do I tell weblogic to deploy theweb app
    before the ejb app. These two have to be different applications. Icannot combine
    them into the same ear. I am not able to find ways to identify deploymentorder
    across applications. Any thoughts.
    Any ideas on other approaches if this is not possible will be greatlyappreciated.
    Thanks in advance.--
    Dimitri

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Why we dont have a sales order in case of Intercompany Stock Transfer?

    Hi,
    Why we don't have a sales order in case of Intercompany Stock Transfer?

    HI,
    It is up to the client requirement business scenarios..
    U can do stock transfer with so many ways..
    1. one step process
    In this just stock transfer between two plants but no goods reiceipt only goods issue
    2. two step process
    In this both goods issue and goods receipt docuements
    3. stock transfer with out delviery
    Here purchage order NB  with goods issue and goods reciept
    4. stock transfer with delviery and billing..
    In this Purchage order, goods issue, migo, miro and inter company invoice..
    Regards
    sankar

  • Prevent creation of production order in case of missing parts

    Hi,
    Even in OPJH I have maintained no creation of order in case of missing parts, when i create a production order from planned order and I know the Bom components are not avialable in stock then also system allows to create. Pls guide on how to pevent creation of order.
    Regards.

    Dear,
    If my understanding is correct then the settings in OPJK for business function 1 - availability check during order creation even if
    the value is set as 3 for collective conversion,this works during partial conversion of planned order into production/process
    order or during collective conversion of planned orders into production orders.
    But however the setting in OPJK for business functionality 2 - during order release checks and if
    there are any missing parts means the order cant be released for the value 3 set for release material.
    Just check this link also,
    Re: Avalability Check
    Regards
    Mangalraj.S

  • It still shows confirmed quantity at sales order in case of no stock

    Hi,
    I have the availability check configuration, but my requirement for 0 confirmed quantities at sales order in case of no stock is not working. That is- It still shows confirmed quantity at sales order in case of no stock. Please suggest. 
    All the setting for availability check is done. I have set the accumulation as 3 in checking group. But still not working.
    Thanks
    Mauryan

    Dear Mauryan,
    ATP check will work if you have already turned on ATP check in the following 3 transactions:
    OVZ2
    OVZG
    OVZ8
    You need to turn on ATP at your checking group, requirement class, and schedule line category. If one of them is off, then ATP check will not work. See note 547512, Q1.
    Claire

  • I ordered a case for my iPad mini retina display and I doesn't fit

    I ordered a case I really liked and it doesn't fit? Why is that and where app an I get a new one?

    You have to contact whoever you bought the case from and ask them. This is a technical support site, not Apple Customer Service.

  • Issue with create deployment order with BAPI_POSRVAPS_SAVEMULTI3

    Hi Experts,
      We are trying to create deployment orders with BAPI_POSRVAPS_SAVEMULTI3. The following are the input:
    LOGICAL_SYSTEM                  RR1CLNT010
    ORDER_TYPE                      2
    EXT_NUMBER_ASSIGNMENT
    COMMIT_CONTROL                  E
    PLNG_VERSION                    000
    NO_CREATE
    PLANNING_MODE_USAGE             0
    EVENT_CONTROL                   1
    And for receipts and requirement, we put ATP category as EG and EF.
    But it return error 'Events are supported only for Purchase Requisitions'. For u2018EGu2019 and 'EF', I can see it is category typ '2'.
    Does this BAPI able to create deployment STR or it can only create SNP STR?
    Thanks.
    best regards,
    Wenyan

    Hi Wenyan,
    In the BAPI, the following code should be responsible for the error message:
    * -> check: event_control is only available for purchase requisition
      if event_control = gc_apo_bapi_create_event and order_type <> gc_requisition.
    *   -> error message
        _apo_bapi_message_add_itab0 gc_error gc_apo_bapi_msgclass '342'
        return.
        lv_error = gc_true.
      endif.
    The relevant constants are:
    * -> constants for event control
    CONSTANTS:
      gc_apo_bapi_no_event TYPE bapi10503eventcontrol VALUE space,   "collect but no direct sending
      gc_apo_bapi_create_event TYPE bapi10503eventcontrol VALUE '1',     "collect + send event
      gc_apo_bapi_no_event_collect TYPE bapi10503eventcontrol VALUE '2'. " no collect and no sending
    *--> External Order types
    CONSTANTS:
    *  Bestand
    gc_stock              TYPE /sapapo/r3obj VALUE '0',
    *  Bestellanforderung
    gc_requisition        TYPE /sapapo/r3obj VALUE '1',
    *  Bestellung
    gc_purchase_order     TYPE /sapapo/r3obj VALUE '2',
    As you can see, if you want to create an order other than SNP purchase requistion, you cannot set the control_event as '1'.
    Best Regards,
    Ada

  • Deployment order of MDBs vs EJBs in WL startup sequence

              This is a problem that follows on from my last posting.
              To recap, we have multiple WL servers not clustered, one acts as the JMS server that
              all of them use as their MDB jndi-provider-url so when a message (on a JMS topic)
              is published to the main server, all the WL servers receive it.
              The main WL server acting as the JMS server is started up first, then the others.
              The following problem can occur.
              A message can arrive at the main server while another server is booting up. The MDBs
              on this booting server can deploy it's MDBs before it's EJBs. Because this server
              is subscribing using the JMS server on the main server, the message is delivered
              and the onMessage() method is called. But this method may have to do lookups on EJBs
              that have not been deployed yet.
              So the question is, is it possible to ensure that all the EJBs deploy before the
              MDBs in a WL startup sequence? Does it require two separate JAR files to control
              the order, or can you control the order within a JAR file or have you simply no control
              over the order at all?
              Regs,
              Paul
              

    That's correct.
              "Paul Hammond" <[email protected]> wrote in message
              news:[email protected]...
              >
              > In my response to my own question I have seen in the WL docs that JMS
              servers are
              > deployed before EJB components, but within EJB components you can specify
              a deployment
              > order so presumably there by having separate JARs, one with EJBs, one with
              MDBs,
              > you can ensure your MDBs are deployed last?
              >
              > Paul
              >
              >
              >
              >
              > "Paul Hammond" <[email protected]> wrote:
              > >
              > >This is a problem that follows on from my last posting.
              > >
              > >To recap, we have multiple WL servers not clustered, one acts as the JMS
              > >server that
              > >all of them use as their MDB jndi-provider-url so when a message (on a
              JMS
              > >topic)
              > >is published to the main server, all the WL servers receive it.
              > >
              > >The main WL server acting as the JMS server is started up first, then the
              > >others.
              > >
              > >The following problem can occur.
              > >
              > >A message can arrive at the main server while another server is booting
              > >up. The MDBs
              > >on this booting server can deploy it's MDBs before it's EJBs. Because
              this
              > >server
              > >is subscribing using the JMS server on the main server, the message is
              delivered
              > >and the onMessage() method is called. But this method may have to do
              lookups
              > >on EJBs
              > >that have not been deployed yet.
              > >
              > >So the question is, is it possible to ensure that all the EJBs deploy
              before
              > >the
              > >MDBs in a WL startup sequence? Does it require two separate JAR files to
              > >control
              > >the order, or can you control the order within a JAR file or have you
              simply
              > >no control
              > >over the order at all?
              > >
              > >Regs,
              > >
              > >Paul
              > >
              >
              

  • Planned order creation via MRP depends, If we change Delivery date in STO

    Hi,
    Planned order  creation via MRP depends, If we change Delivery date in Stock transfer Order.
    I created STO with delivery date as 31.1.2012 and when i checked MD04, i can see Planned order created on 27.2.2012 with the same above STO quantity .
    Now when i changed the delivery date as 30.1.2012 and runned MD03, and then checkd MD04, planned order disappeared.
    Why Planned order got created when STO delivery date was 31.1.2012 and when I changed the delivery date in PO, planned order disappeared.
    MRP profile details :
    Plnd delivery time   1
    GR processing time   1
    Planning time fence  38
    Tot. repl. lead time 38
    Can you please let me know why system is beaving in this manner?
    Regards
    Utsav

    Hi,
    Normally , MRP runs based upon the requirements.If your STO is created for a date , system checks through the availabiloty check wheather there exists any stock for that date to get deliverred in the supply plant .If there exists for that date the stock , planned order will not be created.If no stock available then a planned order will be created in MRP.
    cHECK the availability check parameters assigned to material master in supply plant.
    Regards,

  • Meaning of the Deployment Order attribute

    Does anyone know to what the Deployment Order attribute corresponds in
              the Create a new Connector window ?
              Thanks in advance.
              

    Hello Lee,
    The origin of the front panel is denoted by the diamond shape in the front panel grid. As you place your tab control farther from this axis, the value of the Position:Left property will increase. You might want to read this property at runtime and configure any other positions as relative to this one. I hope this is what you needed!
    Mike D. 
    Message Edited by Duffman Says: on 04-18-2007 12:12 PM
    Attachments:
    ScreenShot.JPG ‏15 KB

  • Deployment order in 6.0

    I'm sure this has been covered before but is there anyway to dictate the
    deployment order of EJB's contained in a single EAR file?
    Or does WL use some default scheme - alphanumeric sorting, order in the
    applications.xml file??
    Thanks
    Tom

    The default scheme is random.
    in your config.xml you can specify the order in 6.x, it's just not documented.
    The format is:
    <EJBComponent DeploymentOrder="9" Name="discount"
    Targets="wlcsServer" URI="discount.jar"/>
    We were told by a Bea consultant to set all of the out of the box
    EJBs to 9, all of our beans that are not run through ejbc to something like 80,
    and all of the rest to 99.
    WLS will randomly pick the order for all EJBs with the some deployment order,
    for example 9.
    The catch, once it finds one EJB that is fully packaged (tan through ejbc, it
    will assume that all of the remainder are fully packaged. This can cause problems.
    Tom Gerber <[email protected]> wrote:
    I'm sure this has been covered before but is there anyway to dictate
    the
    deployment order of EJB's contained in a single EAR file?
    Or does WL use some default scheme - alphanumeric sorting, order in the
    applications.xml file??
    Thanks
    Tom

  • 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.

Maybe you are looking for