geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Azfar Kazmi <azfarka...@gmail.com>
Subject Assembly Build Fails: GBeanMBean can't set attribute for Log4jService
Date Tue, 23 Nov 2004 20:19:44 GMT
JDK 1.4.2_04, Windows XP SP1/2, Maven 1.0.1

I am not sure why the attribute rootLoggerLevel for Log4jService is
being set during build!. Regardless, it is failing being neither
GBeanMBeanAttribute.special nor GBeanMBeanAttribute.persistent and the
GBean (logger) is offline. See line 330. Attempt to trace it to the
origin failed when I could not locate
ConfigurationType/ConfigurationDocument xbeans!

--------------
BUILD FAILED
File...... D:\eclipse\workspace\incubator-geronimo\modules\assembly\maven.xml
Element... bootstrap:bootstrap
Line...... 202
Column.... 15
GBeanData could not be loaded into the GBeanMBean
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[rebuild] -- D:\eclipse\workspace\incubator-geronimo\modules\assembly\maven.xml:202:
15: <bootstrap:bootstrap> GBeanData could not be loaded into the GBeanMBean
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException:
D:\eclipse\workspace\incubator-geronimo\modules\assembly\maven.xml:202:15:
<bootstrap:bootstrap> GBeanData
 could not be loaded into the GBeanMBean
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:243)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
        at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
        at com.werken.werkz.Goal.fire(Goal.java:616)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
GBeanData could not be loaded into the GBeanMBean
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:184)
        at org.apache.geronimo.deployment.DeploymentContext.addGBean(DeploymentContext.java:159)
        at org.apache.geronimo.deployment.service.GBeanHelper.addGbean(GBeanHelper.java:48)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:116)
        at org.apache.geronimo.deployment.Bootstrap.bootstrap(Bootstrap.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
        ... 43 more
Caused by: java.lang.IllegalStateException: Only persistent attributes
can be modified while offline. Attribute Name: rootLoggerLevel, Type:
class jav
a.lang.String, GBean: org.apache.geronimo.system.logging.log4j.Log4jService
        at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.setValue(GBeanMBeanAttribute.java:357)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setAttribute(GBeanMBean.java:754)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setGBeanData(GBeanMBean.java:716)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:182)
        ... 52 more
Root cause
org.apache.geronimo.gbean.InvalidConfigurationException: GBeanData
could not be loaded into the GBeanMBean
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:184)
        at org.apache.geronimo.deployment.DeploymentContext.addGBean(DeploymentContext.java:159)
        at org.apache.geronimo.deployment.service.GBeanHelper.addGbean(GBeanHelper.java:48)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:116)
        at org.apache.geronimo.deployment.Bootstrap.bootstrap(Bootstrap.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
        at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
        at com.werken.werkz.Goal.fire(Goal.java:616)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalStateException: Only persistent attributes
can be modified while offline. Attribute Name: rootLoggerLevel, Type:
class jav
a.lang.String, GBean: org.apache.geronimo.system.logging.log4j.Log4jService
        at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.setValue(GBeanMBeanAttribute.java:357)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setAttribute(GBeanMBean.java:754)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setGBeanData(GBeanMBean.java:716)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:182)
        ... 52 more
Root cause
org.apache.geronimo.gbean.InvalidConfigurationException: GBeanData
could not be loaded into the GBeanMBean
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:184)
        at org.apache.geronimo.deployment.DeploymentContext.addGBean(DeploymentContext.java:159)
        at org.apache.geronimo.deployment.service.GBeanHelper.addGbean(GBeanHelper.java:48)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:116)
        at org.apache.geronimo.deployment.Bootstrap.bootstrap(Bootstrap.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
        at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
        at com.werken.werkz.Goal.fire(Goal.java:616)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalStateException: Only persistent attributes
can be modified while offline. Attribute Name: rootLoggerLevel, Type:
class jav
a.lang.String, GBean: org.apache.geronimo.system.logging.log4j.Log4jService
        at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.setValue(GBeanMBeanAttribute.java:357)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setAttribute(GBeanMBean.java:754)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.setGBeanData(GBeanMBean.java:716)
        at org.apache.geronimo.gbean.jmx.GBeanMBean.<init>(GBeanMBean.java:182)
        ... 52 more
Final Memory: 6M/11M
Total time: 24 seconds
Finished at: Tue Nov 23 11:20:34 PST 2004

Mime
View raw message