This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes ChildCountException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ChildCountException" Watch "ChildCountException" New topic
Author

ChildCountException

Vikram VM
Greenhorn

Joined: Sep 21, 2005
Posts: 2


can some body help me with this.

Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 1 Module: REG/BLS Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application "...."
[weblogic.xml.dom.ChildCountException: extra child reference-descriptor in weblogic-web-app at weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(Lorg.w3c.dom.Element;Ljava.lang.String Lorg.w3c.dom.Element;(DOMUtils.java:182) at weblogic.servlet.internal.dd.WLWebAppDescriptor.<init>(Lweblogic.servlet.internal.dd.WebAppDescriptor;Lorg.w3c.dom.Element V(WLWebAppDescriptor.java:280) at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebLogicXml(Lorg.xml.sax.InputSource;Ljava.lang.String V(DescriptorLoader.java:742) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(Ljava.util.jar.JarFile;Ljava.io.File;Ljava.lang.String V(DescriptorLoader.java:303) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(Ljava.util.jar.JarFile;Ljava.lang.String V(DescriptorLoader.java:235) at weblogic.servlet.internal.WebAppModule.loadDescriptor()Lweblogic.management.descriptors.TopLevelDescriptorMBean;(WebAppModule.java:533) at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;ZLjava.lang.String V(J2EEApplicationContainer.java:1379) at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String V(J2EEApplicationContainer.java:1204) at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String V(J2EEApplicationContainer.java:1051) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer Z(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread V(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest V(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178) at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread V(Unknown Source) weblogic.xml.dom.ChildCountException: extra child reference-descriptor in weblogic-web-app weblogic.xml.dom.ChildCountException: extra child reference-descriptor in weblogic-web-app at weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(Lorg.w3c.dom.Element;Ljava.lang.String Lorg.w3c.dom.Element;(DOMUtils.java:182) at weblogic.servlet.internal.dd.WLWebAppDescriptor.<init>(Lweblogic.servlet.internal.dd.WebAppDescriptor;Lorg.w3c.dom.Element V(WLWebAppDescriptor.java:280) at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebLogicXml(Lorg.xml.sax.InputSource;Ljava.lang.String V(DescriptorLoader.java:742) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(Ljava.util.jar.JarFile;Ljava.io.File;Ljava.lang.String V(DescriptorLoader.java:303) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(Ljava.util.jar.JarFile;Ljava.lang.String V(DescriptorLoader.java:235) at weblogic.servlet.internal.WebAppModule.loadDescriptor()Lweblogic.management.descriptors.TopLevelDescriptorMBean;(WebAppModule.java:533) at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;ZLjava.lang.String V(J2EEApplicationContainer.java:1379) at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String V(J2EEApplicationContainer.java:1204) at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String V(J2EEApplicationContainer.java:1051) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer Z(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread V(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest V(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178) at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread V(Unknown Source) .

tx
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ChildCountException
 
Similar Threads
ClassCastException: occured
GlassFishConfigureListener Version Exception while deploying on Weblogic
Home & Remote interface
EJB not deploying
Exception while deploying in Weblogic 8.1