Help: NWDI 7.2 CBS build problem - initialize compartment-broken DCs

Hi all.
I am facing a problem with CBS build due to broken DCs - invalid dependencies. I have read all the articles and notse related to this issue, but cannot not solve is. Has anyone faced this issue or know a solution?
The problem:
In one SC I have a DC A, which used to have public part PP_A.
In another SC I have a DC B, which used to depend on public part PP_A of DC A.
As part of implementation, the PP_A in DC A was deleted and replaced by new public parts. The changes are checked in and activated in NWDI successfully.
Next, the DC B was corrected, its reference to PP_A was deleted and replaced with appropriate replacements.
I checked in the activity correcting the DC B. Activation fails, because CBS complains that DC B has invalid dependency. I assume that the CBS cache still holds the old sources.
I took the compartment where DC B is located and triggered a CBS Reinitialize compartment (which should discard the cached sources and load a fresh copy). The CBS Reinitialize compartment request fails too! The log shows the same message as the build log: invalid dependency.
It seems that during reinitialize, CBS checks the validity of the DCs in the compartment BEFORE it does clean its cache and refreshes from DTR.
In DTR, I can see the sources of DC A and DC B checked in correctly in the inactive branch, the .dcdef in DC B contains correct references to new public parts of DC A.
Does anyone know how to force CBS to refresh its sources from DTR where correct sources are checked in?
Thanks.
Edited by: Rastislav Cesnek on Dec 20, 2011 3:25 PM

Right.
Its not the CONS, it's the active from DEV which is used. I sort of don't understand the NWDI concept then, maybe SAP could learn a little from Hudson, CruiseControl you name it.
Apparently, as I found out after some trial and error, the checks done before the build AND before the initialize compartment run on sources from ACTIVE branch. So the check-ed in fixed sources of the DC B are ignored by CBS. It then complains about the invalid dependencies all the time.
Finally, although it looks very scary, I activated the soure code changes of the dependent components (I hade a lot of them, not just one) with the "Activate even if the build fails". Then the initialize compartment did not complain about BROKEN components because of dependencies, because the check of metadata succeeded and the components were rebuilt.
Thanks for hints.

Similar Messages

  • Please HELP!!! Survey building problem (passing variable)

    If anybody can help I would very very appreciate this!
    The problem is that I’m trying to build a survey! In
    admin screen there is choice of questions to create (check box,
    radio, combo and comments)
    Once admin creates questions with particular radio buttons
    set, then he can add answers with radio buttons next to it.
    Then it adds all that to database.
    For users to see this survey with multiple questions and
    answers I have created form in which all this is visible. For radio
    buttons to appear I need to loop through the query which selects
    all created questions and answers. However, for radio buttons to
    appear as grouped I use name = #questionID# from query – so
    that radio buttons will be grouped for each question.
    My problem is since it is like:
    <CFLOOP query="radioCheckView">
    <INPUT type="Radio" name=" #questionID #"
    value="<CFOUTPUT>#RadioQuest#</CFOUTPUT>">
    <CFOUTPUT>#RadioQuest#</CFOUTPUT><br>
    </CFLOOP>
    Once user submits the form, all answers should be inserted
    into database.
    How then this radio button can be identified when you submit?
    <CFIF isDefined("Form.Submit")>
    <CFOUTPUT query="ViewQuests">
    <CFQUERY name="UserInsert" datasource="surveyDB">
    INSERT INTO answers
    (questID, comments, radio)
    VALUES
    #questID#,
    '#form.comment#',
    '#form.??????????? #' – “Don’t know what
    should I write here this should be a radioButton Name which is
    mentioned above”
    </CFQUERY>
    </CFIF>
    Please guys if you know how to solve this problem –
    help me!
    THANK YOU VERY VERY MUCH IN ADVANCE!

    Here is an example that answers your question. Remarks:
    1) There is, as usual, just
    one name for the radio fields. It is assigned dynamically as
    #questionid#.
    2) The radio fields have different values, also assigned
    dynamically by means of the array radioquest.
    3) When the form is submitted the dynamic value #questionid#
    will not exist on the action page. One solution is to store it in a
    hidden field.

  • Nonempty list of broken DCs error when we assemble using CBS

    Hi
    We created DC and we are going to assemble using CBS.
    When we assemble, we got below error.
    Info:Starting Step Check-assembly at 2005-03-15T10:13:57.0250-8:00
    Fatal:Contact CBS administrator: Nonempty list of broken DCs -stopping export now
    Error:list of broken DCs:
    Error:lapha.net,nw04/tec/tax/calc_01
    Error:lapha.net,nw04/tech/tax
    Info:Step Check-assembly ended with result 'fatal error' ,stopping execution at 2005-03-15T10:13:58.0500-8:00
    Any idea ?
    Regards, Arnold.

    Hello,
    "broken DC" means that the build failed for this development component.This for example happens if a used component was changed in an incompatible way. It also happens if the DC itself contains errors and the developer used the "activate even if build fails"
    option in NWDS.
    If you view the buildspace of your system in CBS you will see which DCs are actually broken. And you can also see the build logs there.
    The CMS prevents you from assembling a  software component that contains broken DCs.
    Hope this helps
    Regards,
    Wolfram

  • NWDS and DC Build Problem

    Hi,
    I recently installed a new version of NWDS on my workstation.  This was an upgrade to Version 7.0.10   For some reason my DC will no longer  build successfully since using the 7.0.10 version of NWDS.  The error I get is:
    /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: /mydc : Build failed for /mydc in variant "default": null
    Thanks,
    Brian

    Hi All
    I facing same problem. Can you help me how to resolve this. I want to convert existing WebDynpro project into NWDI. I followed two ways to achieve it.
    1) I followed step by step in this help link
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm</a>.
    2) I newly created one DC (WebDynpro) project and there is an option "Import from existing local project" option.
    I used both of them still there build problems in my DC.

  • CBS BUILD FAILD-- EPBUILDT

    Hi,
    I have a problem with CBS Build,
    When i create WDJ App in As a local App i dont get issues i mean every thing working fine
    When i try to create WDJ App thr NWDI it is getting me problem due to EP_BUILDT
    I try to Add the EP_BUILDT in Required SC in my track i dont find EP_BUILDT SC in SC's list, now i have download the EPBUILDT09_0-10003786.SCA file from S&M and i have deployed it thr SDM and restarted my SAP servers but still i dont see any EP_BUILDT file in SC list even in SLD.
    Please suggest me what to for above issue.
    Thanks,
    Sreeni.

    Hi,
    I solved my problem with reference of
    Re: Broken DCs after changing the runtime systems in track
    Thanks,
    Sreeni.

  • Application Builder problem on one server but not another

    I am having an Application Builder problem. When I get into App Express and go inside the builder and try to edit a listed application, I get an “http 404 the page cannot be found. The page might have had its name changed or is temporarily unavailable” situation. I can get into SQL commands, utilities, and administrative activities. I can also run the application. Also, if I go onto a different server with App Express on it, I can get into the builder and edit applications with no trouble. Our DBA had the server in question rebooted a little over a week ago and that took care of the problem for a couple days. Any ideas? Is this an Express problem or a server problem? He had also tried restarting Express before he had the reboot done and that didn’t help.
    Thank you for any help.
    Cordially,
    Robert J. Smith

    I have messages from the Apache error log files from the dates I was getting the builder error. For future reference, I will post them below. The builder has been working fine lately.
    Robert Smith
    ** error log messages follow **
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788610,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/KeyboardFocusManager.class
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788611,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/event/MouseWheelListener.class
    [Mon Jul 16 07:25:13 2007] [error] [client 147.159.5.134] [ecid: 
    83438757083,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/oracle/forms/registry/default.dat

  • CBS build error

    Hi all,
    When I am trying to check-in my application, I am getting the following error. Can any one of you give me the reason for it?
    Activation Failed:CBS Build Error: CBS Failed to communicate with some other server(internal code: COMMUNICATION_ERROR)
    Thank You.
    Regards,
    Murthy.

    Hi,
    Try pinging the JDI server from the NWDS and ensure that you get response from all the components (DTR, CMS, SLD etc).
    Even if response from one component fails, then check whether the JDI server is up and running.
    Hope this helps !
    Regards
    Srinivasan T

  • Help me find what's the problem! Thanks!

    In my meaning, I want to click the button (transformbutton), then will achieve the transformation process. (The transformation process has been test successfully, now I defined it as a method). There might be something wrong with the action, but I don't know where it is. When I click the button, there is nothing happen.
    Could anybody help me check and solve this problem? Thanks a lot!
    The code is attached below:-
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.FileOutputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    public class Interface extends JApplet
    String[] birdname ={"", "chaffinch", "barn_swallow"};
    JPanel jPanel1 = new JPanel();
    JLabel jLabel1 = new JLabel();
    JComboBox birdBox = new JComboBox(birdname);
    JButton transformButton = new JButton("Transform");
    JTextField text = new JTextField(30);
    //Initialize the applet
    public void init()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception
    birdBox.setSelectedIndex(0);
    this.setSize(new Dimension(400, 300));
    jPanel1.setBackground(new Color(0, 83, 255));
    jPanel1.setPreferredSize(new Dimension(400, 300));
    jLabel1.setFont(new java.awt.Font("Dialog", 1, 12));
    jLabel1.setBounds(65,55,150,25);
    jLabel1.setForeground(Color.white);
    jLabel1.setText("Select a Bird");
    birdBox.setBackground(Color.white);
    transformButton.setBounds(75,75,60,25);
    this.getContentPane().add(jPanel1, BorderLayout.CENTER);
    jPanel1.add (jLabel1);
    jPanel1.add(birdBox);
    jPanel1.add(transformButton);
    jPanel1.add(text);
    transformButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    try
    Transform();
    text.setText ("The Transformation is finished!");
    catch (IOException ex)
    catch (TransformerException ex)
    public void Transform() throws TransformerException, TransformerConfigurationException,
    FileNotFoundException, IOException
    //first round transformation
    TransformerFactory tFactory = TransformerFactory.newInstance ();
    Transformer transformer = tFactory.newTransformer (new StreamSource ("onebird.xsl"));
    transformer.transform (new StreamSource ("birds_06_2_oneBird_2_xmlbackend.xml"), new StreamResult (new FileOutputStream ("chaffinch.xml")));
    System.out.print ("The Transformation is finished!");
    }

    And, I have obtained that exception by adding the system.out.print() in the catch clause. This exception is caused by the TransformerException.
    I expect that somebody can help me get rid of that exception and made the transformation successfully.
    Waiting for the answer online.....Thanks!

  • CBS Build Error DynamicRFCModelClass

    Hi,
    I have a case where my local build and deployment goes fine, but the CBS Build fails with the following error.
    com.sap.tools.webdynpro.bytecode.ClassFileNotFoundException: class 'com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass' not found via com.sap.tools.webdynpro.bytecode.util.URLClassFileLoader$MyURLClassLoader@10cc250f
    What could be the reasons for this to happen ?

    Hi,
    Try pinging the JDI server from the NWDS and ensure that you get response from all the components (DTR, CMS, SLD etc).
    Even if response from one component fails, then check whether the JDI server is up and running.
    Hope this helps !
    Regards
    Srinivasan T

  • When I try to enter codes for digital movie downloads it tells me "code redemption is temporarily unavailable. Try again later." Customer support has been no help. Anyone else have this problem?

    When I try to enter codes for digital movie downloads it tells me "code redemption is temporarily unavailable. Try again later." Customer support has been no help. Anyone else have this problem?
    Am sick of going back and forth with what has turned out to be worthless customer support. Have sent them so much info and pictures, no help. All they do is send me links for instructions on how to redeem the codes. I know how to redeem, I have redeemed at least 50 codes. To them I am obviously an idiot though. To me it seems to be a problem on their end, but can't get an answer from them on why it is telling me code redemption is unavailable. Please help! Anybody!

    Confirming my suspicions with every passing hour. Support on this forum is non-existent like the support from Apple support. But, you got my money now... why would you care?

  • When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    When I print a photo to my epson printer, it comes out larger than the original photo - so the photo prints beyond the borders. Tried readjusting all sorts of things but nothing helps. I had this same problem with my Canon. any ideas?

    Crop to the print size before pringing
    LN

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • TS1702 help, are you having the same problem? iPad 2 calendar, can't get the month of March, can get days in March, but not month view. Any suggestions, thank u.

    help, are you having the same problem? iPad 2 calendar, can't get the month of March, can get days in March, but not month view. Any suggestions, thank u.

    Hi melbernai - not sure if you've solved this problem yet. I had the exact same problem recently with my 2nd Gen iPod Nano. I solved it yesterday by simply updating iTunes to the most recent version, after which I could get rid of the register screen. The only other thing I needed to do to add my custom playlists was select "Manually manage music" on the screen for my iPod, since it had been in an automatic synching mode since the problem occurred.

  • OC4J 10.1.3 production: Build problem Adventure Builder 1.0.1 using EJB 3.0

    Hi all,
    I tried to use the migration to EJB 3.0 of the Adventure Builder 1.01 from Debu Panda and had some build problems.
    Does anybody know if this demo was tested with the production version of 10.1.3?
    I used the standalone version and had to tweak a lot of entries in ant-oracle.xml.
    Is it possible that the migration was done with a preview release? Have there been so many changes? I had to include a bunch of additional JARs e.g ${J2EE_HOME}/lib/adminclient.jar, ${ORACLE_HOME}/webservices/lib/wsclient.jar. ${ORACLE_HOME}/lib/xmlparserv2.jar
    and others.
    Also I had to change some task definitions as I guess that the contents of ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar must have changed...
    If I did not do something terribly wrong it would be nice if you could update the example to save other people from this nightmare of running from one build error to the next!
    Regards,
    Eric

    Hi Debu,
    thanks for your reply. I've used an previously installed ant 1.6.5 from ant.apache.org, but I don't think this should matter, or?
    As far as I could see one of the problems is related to the version of ant-oracle-classes.jar in ${ORACLE_HOME}/j2ee/utilities which the example relies on.
    In the adventure builder ant-oracle.xml you'll find task definitions like that:
    taskdef resource="oracle/ant/taskdefs/deploy/antlib.xml" uri="http://www.oracle.com/ant/taskdefs" loaderRef="oracle.tasks.loader">which does not match with what one can find in ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar
    So from my point of view this has to be changed to
    <taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">I also had to change some libs... That's why I thought this example was made and tested with an earlier version of oc4j 10.1.3 (maybe a preview version).
    Regards,
    Eric

  • Will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    Chances are the 2g itouch will not be included in the update. Also no one yet knows if it will be fixed in the next firmware but apple has said they know of this bug.

Maybe you are looking for

  • Yoga 2 Pro - Motion Control

    If this has been answered, or solution(s) offered, I'll be darned if I can find them, even an extensive search in the Forum and Community Database... New Yoga 2 Pro for Christmas...so far, very nice machine. However, am a litlle (!) frustrated with t

  • I need a java class to turn plain text into excel

    I need a class to turn a plain text file into MSExcel. Thanks.

  • Printing File lists with thumbnails?

    I have to go through a ton of image files for a book project. All the images are categorized into subfolders according to chapters. Is there an easy way using Bridge to print a list of these folders with thumbnails of each image? Thanks! -Brian

  • Time indicator (clock) runs slow and getting slower

    I have had problems with the clock for quite some time. First, when I travel, if the computer is shut down and only on battery for quite along time, when I restart the computer, the clock needs to be reset before the system will boot. This past week

  • Accidentally primary database convert to physical standby

    Hi , Accidentally the primary database was converted to physical standby .Is there any way where it can be revert back to primary other than using the activate command. Thanks and Regards, Hussain