cancel
Showing results for 
Search instead for 
Did you mean: 

Error when activating activities "Can not create application.xml"

Former Member
0 Kudos

Hi all,

I'm having a problem activating a group of activities for some DC's.

I'm not able to understand what is wrong with it, and already looked in the forum for similar problems and couldn't find any topic related with it.

The error i'm having is

"Can not create application.xml: no context-root information for web modules available."

The problem is that the context-root is defined for all web modules.

Can anyone help me.

thanks in advance.

Development Component Build (2006-08-08 18:53:36)

Component name: ecoord

Component vendor: com.pmi.tab

SC compartment: com.pmi.tab_ECOORD_1

Configuration: DCJ_devtab_D

Location: DCJ_devtab_D

Source code location: http://pmichsapjw01:54000/dtr/ws/devtab/com.pmi.tab_ECOORD/dev/active/DCs/com.pmi.tab/ecoord/_comp/

DC root folder: C:\Temp\CBS\17\.B\194\DCs\com.pmi.tab\ecoord\_comp\

DC type: J2EE

DC subtype: Enterprise Application

DC Model check:

[dcmake] All used DCs are available locally

[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/enterpriseApplication"

[dcmake] validating dependency to public part "war" of DC "com.pmi.tab/ecoordwb"

[dcmake] validating dependency to public part "war" of DC "com.pmi.tab/ecoordw"

[dcmake] DC model check OK

Start build plugin:

[dcmake] using build plugin: sap.com/tc/bi/bp/enterpriseApplication

[dcmake] starting build plugin from : C:\Temp\CBS\17\.B\194\DCs\sap.com\tc\bi\bp\enterpriseApplication\_comp\gen\default\public\enterpriseApplication\

Build Plugin 'EnterpriseApplicationPlugin', Version 6.40 SP 16 (630_VAL_REL, built on 2006-02-09 00:07:21 CET)

development component: ecoord (com.pmi.tab)

software component: ECOORD (com.pmi.tab)

location: DCJ_devtab_D

type: J2EE, subtype Enterprise Application

build variant: default

source location: http://pmichsapjw01:54000/dtr/ws/devtab/com.pmi.tab_ECOORD/dev/active/

plugin start time: 2006-08-08 18:53:36 GMT+01:00 (CEST)

Java VM: Java HotSpot(TM) Client VM, 1.4.2_10-b03 (Sun Microsystems Inc.)

General options:

convert *.xlf to *.properties: yes

include sources for debugging: yes

Plugin initialized in 0.031 seconds

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Preparing data context..

No 'default' JDK defined, will use running VM.

Data context prepared in 0.015 seconds

Executing macro file..

Using macro file: C:\Temp\CBS\17\.B\194\DCs\sap.com\tc\bi\bp\enterpriseApplication\_comp\gen\default\public\enterpriseApplication\macros\build.vm

Creating output file: C:\Temp\CBS\17\.B\194\DCs\com.pmi.tab\ecoord\_comp\gen\default\logs\build.xml

Macro file executed in 0.125 seconds

Starting Ant..

Using build file: C:\Temp\CBS\17\.B\194\DCs\com.pmi.tab\ecoord\_comp\gen\default\logs\build.xml

Using build target: build

Generation folder: C:\Temp\CBS\17\.B\194\t\E2BD8882D593C2EE29F55D54A338155A

Using Ant version: 1.5.4

prepare:

createDeployArchive:

[cda] Adding module 'com.pmi.tab~ecoordwb.war' from DC 'ecoordwb' (vendor 'com.pmi.tab'), public part 'war'

[cda] Adding module 'com.pmi.tab~ecoordw.war' from DC 'ecoordw' (vendor 'com.pmi.tab'), public part 'war'

[cda] Creating application.xml

<b>[cda] ERROR: com.sap.tc.buildplugin.util.BuildPluginException: Can not create application.xml: no context-root information for web modules available.</b> [cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ApplicationXmlValidator.validate(ApplicationXmlValidator.java:108)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:266)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:264)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)

[cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)

[cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)

[cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)

[cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)

[cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1498)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)

[cda] ERROR: Failed to create build script: Can not create application.xml: no context-root information for web modules available.

[cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:271)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)

[cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)

[cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)

[cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)

[cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)

[cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1498)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)

[cda] ERROR: Caused by: com.sap.tc.buildplugin.util.BuildPluginException: Can not create application.xml: no context-root information for web modules available.

[cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ApplicationXmlValidator.validate(ApplicationXmlValidator.java:108)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:266)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:264)

[cda] ERROR: ... 27 more

[cda] ERROR: --- Nested Exception ---

[cda] ERROR: com.sap.tc.buildplugin.util.BuildPluginException: Can not create application.xml: no context-root information for web modules available.

[cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ApplicationXmlValidator.validate(ApplicationXmlValidator.java:108)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:266)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)

[cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:264)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)

[cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)

[cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)

[cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)

[cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)

[cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

[cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)

[cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)

[cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)

[cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)

[cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1498)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)

[cda] ERROR: at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)

Ant runtime 0.078 seconds

Ant build finished with ERRORS

Failed to create build script: Can not create application.xml: no context-root information for web modules available.

Error: Build stopped due to an error: Failed to create build script: Can not create application.xml: no context-root information for web modules available.

Build plugin finished at 2006-08-08 18:53:36 GMT+01:00 (CEST)

Total build plugin runtime: 0.297 seconds

Build finished with ERROR

<b></b><b></b>

Accepted Solutions (1)

Accepted Solutions (1)

sid-desh
Advisor
Advisor
0 Kudos

Hello Carlos,

Can you please check if your application.xml has been checked-in to DTR. Also is the local build successful.

Regards

Sidharth

Former Member
0 Kudos

I have had this exact same problem. In the end I decided to check the checkbox to "Activate even if errors occur". After that I created another activity with some changes for the same DC and was able to activate that without problems...

Former Member
0 Kudos

I already thought of that but i'm not sure of the risks that come with it.

Can you tell me what can happen in worst case scenario.

From what i know i think it can create inconstancies in the DC and/or then break on another further task (i.e. assemble).

I will keep this solution for last resort.

regards

Carlos Teixeira

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Carlos,

the problem is that the build plugin tries to CREATE the application.xml instead of using your existing one. (At least I assume you have a META-INF/application.xml in your DC as you write that the context-root is defined).

As Sidharth already wrote please check that the application.xml is correctly added to DTR. Also make sure that the "META-INF" folder is correctly defined as "Source Folder" in the DC metadata.

If both points are correct the build log should say: "[cda] Validating application.xml"

instead of

"[cda] Creating application.xml".

If both points are correct and you still the get same error I would assume a problem with the CBS cache or with CBS/DTR communication. In that case it would be intersting to know which version of CBS you are using.

Regards,

Marc

Former Member
0 Kudos

First of all, thanks to all that replied to my problem.

The application.xml file is in the META-INF folder, the folder is defined as a source folder in the "DC MetaData", and they are "checked in" in the DTR.

The local build is successful, but with warnings, can these warnings be causing the problem?

The deployment is also successful.

That said, we are left with the CBS/DTR communication or CBS cache.

I have looked for the CBS version but couldn't find it, how can i see the CBS version or clean the CBS cache?

As for the communication part i don't think there is a problem because i have other DC's that were correctly activated/transported into production.

-


BUIL LOG -


Aug 9, 2006 12:48:11 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: ecoord: built with warnings com.pmi.tab/ecoord(com.pmi.tab_ECOORD_1) in variant "default" (3.284 sec) :The Build finished successfully with warnings

The Build finished successfully with warnings

-


Build log -


Build Plugin 'EnterpriseApplicationPlugin', Version 6.40 SP 16 (630_VAL_REL, built on 2006-02-09 00:07:21 CET)

development component: ecoord (com.pmi.tab)

software component: ECOORD (com.pmi.tab)

location: DCJ_devtab_D

type: J2EE, subtype Enterprise Application

build variant: default

source location: http://pmichsapjw01:54000/dtr/ws/devtab/com.pmi.tab_ECOORD/dev/inactive/

plugin start time: 2006-08-09 12:48:08 Europe/London

Java VM: Java HotSpot(TM) Client VM, 1.4.2_09-b05 (Sun Microsystems Inc.)

General options:

convert *.xlf to *.properties: yes

include sources for debugging: yes

Plugin initialized in 0.341 seconds

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on utility (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on trutil (com.pmi.tab), but the current component neither assembles nor references that component.

Warning: Assembled DC ecoordwb (com.pmi.tab) has runtime dependency on eoperweb (com.pmi.tab), but the current component neither assembles nor references that component.

Starting build (wrapped)

Preparing data context..

No 'default' JDK defined, will use running VM.

Data context prepared in 0.05 seconds

Executing macro file..

Using macro file: C:\NWDS_local\.dtc\2\DCs\sap.com\tc\bi\bp\enterpriseApplication\_comp\gen\default\public\enterpriseApplication\macros\build.vm

Creating output file: C:\NWDS_local\.dtc\2\DCs\com.pmi.tab\ecoord\_comp\gen\default\logs\build.xml

Macro file executed in 0.961 seconds

Starting Ant..

Using build file: C:\NWDS_local\.dtc\2\DCs\com.pmi.tab\ecoord\_comp\gen\default\logs\build.xml

Using build target: build

Generation folder: C:\NWDS_local\.dtc\2\t\E2BD8882D593C2EE29F55D54A338155A

Using Ant version: 1.5.4

prepare:

createDeployArchive:

[cda] Adding module 'com.pmi.tab~ecoordw.war' from DC 'ecoordw' (vendor 'com.pmi.tab'), public part 'war'

[cda] Adding module 'com.pmi.tab~ecoordwb.war' from DC 'ecoordwb' (vendor 'com.pmi.tab'), public part 'war'

[cda] Validating C:\NWDS_local\.dtc\2\DCs\com.pmi.tab\ecoord\_comp\META-INF\application.xml

[cda] Validating C:\NWDS_local\.dtc\2\DCs\com.pmi.tab\ecoord\_comp\META-INF\application-j2ee-engine.xml

packDeployArchive:

[srcpacker] Creating source archive

[srcpacker] Adding source archive from com.pmi.tab~ecoordw

[srcpacker] Adding source archive from com.pmi.tab~ecoordwb

[timer] Source archive creation finished in 0.14 seconds

[jarsap] Info: JarSAP version 20041217.1600

[jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831

[jarsap] Property jarsap.info.dir is not set.

[jarsap] Building: C:\NWDS_local\.dtc\2\DCs\com.pmi.tab\ecoord\_comp\gen\default\deploy\com.pmi.tab~ecoord.ear with compression

[timer] JarSAP finished in 0.1 seconds

build:

Ant runtime 1.422 seconds

Ant build finished OK

Build plugin finished at 2006-08-09 12:48:11 Europe/London

Total build plugin runtime: 2.794 seconds

Build finished with WARNING

-


end of Log -


Best Regards

Carlos Teixeira

Former Member
0 Kudos

Ok, so your sources look good, but when CBS tries to build them the build plugin does not find the application.xml.

As Pascal mentioned that in his case the solution was to create some other activity I really think there's something wrong on the CBS side. I'd recommend opening a customer message and to attach both build and request log.

In the meantime doing a forced activation followed by initializing the compartment should help, creating a "dummy" activity may also help.

The warnings are not relevant to this issue. They just indicate a potential inconsistency in your DC metadata. Assuming that "ecoordwb" is your WebModule the warning says that your Webmodule has a runtime depenceny on some other components. You are packaging/assembling the WAR into an EAR and the build cannot find matching dependencies for your EAR DC. You probably assemble the Jars from those referenced DCs directly into the WAR. If that's what you're doing you only need build-time dependencies from your WAR DC to those DCs as assembly occurs during build. Runtime dependencies mean that you need to reference (in the sense of "point to some other location") some other object at runtime. If the "other object" is already assembled into the runtime component there's no point in pointing.

Regards,

Marc

Former Member
0 Kudos

The problem is solved.

I had to check the "Activate even if errors occur" option and they where activated.

Then created a dummy activity and it went into production without problems.

Thanks to all.

PS: Marc your last answer was very helpful to solve the warnings, right on the spot.