cancel
Showing results for 
Search instead for 
Did you mean: 

Used DC indicates invalid usage in CBS

former_member540174
Participant
0 Kudos

I have a DC that uses several DCs within my SC. All DCs build successfully and the DCs used in the final DC all state everything is successful.

Here's the problem - it doesn't deploy!

Log -


Check whether build was successful for all required variants...

"spiritaero.com/dogs/attendtrack/rpts" in variant "default" OK

Update component metadata...

"spiritaero.com/dogs/attendtrack/rpts" has been CHANGED

STORE build results...

"spiritaero.com/dogs/attendtrack/rpts": store meta-data

"spiritaero.com/dogs/attendtrack/rpts" in "default" variant is PROCESSED

Change request state from PROCESSING to SUCCEEDED

Analyse effect of applied changes to buildspace state... started at 2008-10-13 12:51:54.422 GMT

Handle Cycles...

No cycles detected.

Activation will FAIL because it would break the following request components:

"spiritaero.com/dogs/attendtrack/rpts"

===== Post-Processing ===== finished at 2008-10-13 12:51:55.164 GMT and took 1 s 283 ms

Change request state from SUCCEEDED to FAILED

ERROR! The following problem(s) occurred during request processing:

Request FAILED.

What? I'd like to buy a clue! What do I look at to see why it failed. I looked in the CBS Used DCs - one of the DCs has a red light on "Valid Usage" - what does this mean? BTW - it all works on my local java engine - deploys and I can run the code - even the DC with the red light.

Help anyone?

Diane

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member540174
Participant
0 Kudos

Cleared the CBS Buildspace compartment cache and deployement worked.

Former Member
0 Kudos

Hi,

I am having a similar issue when I am trying to map the component usage of used DC in the Parent. It works perfectly fine on my local machine. When I try to activate the activation fails with the following errors:

I tried to initialize the compartment from CBS GUI but still the same.

Any help is highly appreciated!!

Thanks,

Madhavi

[wdgen] [Error] com.component.newhire.healthplan.New_Hire_HealthPlan --> Controller New_Hire_HealthPlan [FlexUsage]: Controller has invalid controller usage. Please check the referenced controller or delete the usage.

(GenerationAnt.java:157)

[wdgen] at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2047)

[wdgen] at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)

[wdgen] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)

[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

[wdgen] at java.lang.reflect.Method.invoke(Method.java:391)

[wdgen] at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)

[wdgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[wdgen] at org.apache.tools.ant.Task.perform(Task.java:364)

[wdgen] at org.apache.tools.ant.Target.execute(Target.java:341)

[wdgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[wdgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

[wdgen] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)

[wdgen] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)

[wdgen] at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:218)

[wdgen] at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:195)

[wdgen] at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

[wdgen] at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

[wdgen] at java.lang.reflect.Method.invoke(Method.java:391)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)

[wdgen] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)

[wdgen] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)

[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)

[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)

[wdgen] at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)

[wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)

[wdgen] ERROR: Generation failed due to errors (32 seconds)

Error: /usr/sap/NWP/JC00/j2ee/cluster/server1/temp/CBS/12/.B/4426/DCs/com/home/benefits/enroll/_comp/gen/default/logs/build.xml:76: [Error] Generation failed!

at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:254)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)

at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)

at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:218)

at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:195)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)

at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)

at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)

at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)

at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)

at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)

at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)

at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)

at com.sap.tc.buildcontroller.CBSBuildController

Edited by: Madhavi on Feb 3, 2009 10:09 PM

former_member540174
Participant
0 Kudos

Wow....When I initialized the cache in the Change Mgmt System on the build tab of my compartment it fixed my problem

snehal_kendre
Active Contributor
0 Kudos

HI,

please check the build log, may be one of the used component is in broken state.

If it is, then first you need to correct it

former_member540174
Participant
0 Kudos

Ok - I'm wondering if I built the definitions incorrectly. This is first time I've done an SC with multiple dependent DCs.

What I have is the following

Model DC - used in Rprts DC

Utility DC - used in the IFace DC and Rpts DC

IFace DC - used in Rpts DC

in the Used DCs here are is component info for each --- did I define these right? Rpts DC is the only application used by the end user. The Utility DC (hind site said should be a Library DC but it's too late in my development to do that now is a bunch of utility Java Classes) has a Calendar class (based on Gregorian Calendar with all the other things we do with dates - LOVE IT). Should I modify the Design/Run time options? I've read the SAP help and it didn't.....

BuildTime DeployTime DesignTime RunTime

IFace DC

util T F T T

Rpts DC

iFace T F T T

Model T F T T

util T F T T

Rpts DC

iFace T F T T

Model T F T T

util T F T T

Edited by: Diane Fuller on Oct 17, 2008 8:03 AM

Former Member
0 Kudos

Hi Build all your Used DC's saperately ( DC BUILD) and Deploy them(DC Deploy)

Check weather you have any errors in the DC's

and then Sync your Used DC's in the main DC then build and Deploy.

Edited by: Praveen Kommineni on Oct 13, 2008 11:59 PM