com.sun.enterprise.config.ConfigException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • application server not run
    via by 807581,
  • Parsing XHTML Error
    via Stack Overflow by meepin
    ,
  • Error finding spring schemas
    via Stack Overflow by mnki
    ,
    • com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:D:\Creator2_1\SunAppServer8\domains\creator/config/domain.xml cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct. Attribute "name" was already specified for element "jdbc-connection-pool". at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:368) at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:450) at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:241) at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:74) at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:57) at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:429) at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404) at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204) at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128) Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct. Attribute "name" was already specified for element "jdbc-connection-pool". at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718) at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262) at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:345) ... 8 more Caused by: org.xml.sax.SAXParseException: Attribute "name" was already specified for element "jdbc-connection-pool". at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1027) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:851) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292) at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714) ... 10 more

    Users with the same issue

    jpvee
    1 times, last one,
    Andreas Häber
    19 times, last one,
    chenjunjun
    1 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    4 times, last one,
    40 more bugmates