10 Replies Latest reply on Jul 29, 2005 9:27 AM by jaikiran pai

    org.xml.sax.SAXParseException

    soma saha Newbie

      Hi,
      I am trying to deploy a war file in Jboss developed in webloic .
      I am getting the following exception.

      org.xml.sax.SAXParseException:element type "type" must be declared

      Can somebody tell me how to remove this exception.

      preeti

        • 1. Re: org.xml.sax.SAXParseException
          Vishal Sharma Expert

          Can u please provide more debug on error - like stack trace for the error.

          On the face of it, it's coming because an element 'type' is either missing or not closed properly in some xml file. Probably in web.xml or jboss.xml

          • 2. Re: org.xml.sax.SAXParseException
            soma saha Newbie

            Hi,
            My web.xml file is:
            <?xml version="1.0" encoding="ISO-8859-1"?>
            <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
            "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

            <web-app>

            <servlet-name>CPSDispatcher</servlet-name>
            <servlet-class>com.gepower.geep.cps.CPSDispatcher</servlet-class>
            <init-param>
            <param-name>AdminEmail</param-name>
            <param-value></param-value>
            </init-param>
            <init-param>
            <param-name>driver</param-name>
            <param-value></param-value>
            </init-param>
            <init-param>
            <param-name>poolname</param-name>
            <param-value>eRisk</param-value>
            </init-param>

            <init-param>
            <param-name>jdbcurl</param-name>
            <param-value>jdbc:oracle:thin:@atlord09.geips.ge.com:1521:atlord09</param-value>
            </init-param>
            <init-param>
            <param-name>userid</param-name>
            <param-value>tbwap</param-value>
            </init-param>
            <init-param>
            <param-name>password</param-name>
            <param-value>greml1ns6</param-value>
            </init-param>
            <init-param>
            <param-name>initialconnections</param-name>
            <param-value>5</param-value>
            </init-param>
            <init-param>
            <param-name>maxconnections</param-name>
            <param-value>20</param-value>
            </init-param>



            <servlet-mapping>
            <servlet-name>CPSDispatcher</servlet-name>
            <url-pattern>/CPSDispatcher</url-pattern>
            </servlet-mapping>
            </web-app>

            and my jboss-web.xml is:

            <jboss-web>
            <context-root>/EPIMCPSLite</context-root>
            </jboss-web>

            • 3. Re: org.xml.sax.SAXParseException
              Vishal Sharma Expert

              You wont get much help if yu don't provide
              errors stack trace from logs

              • 4. Re: org.xml.sax.SAXParseException
                soma saha Newbie

                One error is this:


                ERROR [org.apache.commons.digester.Digester] Parse Error at line 24 column 13: Element type "type" must be declared.
                org.xml.sax.SAXParseException: Element type "type" must be declared.
                at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
                at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:2874)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:792)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:752)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
                at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
                at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
                at org.apache.commons.digester.Digester.parse(Digester.java:1562)
                at org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:977)
                at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1006)
                at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
                at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
                at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
                at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:417)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:266)
                at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy7.deploy(Unknown Source)
                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
                at $Proxy0.start(Unknown Source)
                at org.jboss.system.ServiceController.start(ServiceController.java:392)
                at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy5.start(Unknown Source)
                at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy6.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
                at org.jboss.Main.boot(Main.java:150)
                at org.jboss.Main$1.run(Main.java:388)
                at java.lang.Thread.run(Thread.java:534)





                [b]and another error is:



                ERROR [org.apache.commons.digester.Digester] Parse Error at line 26 column 17: The content of element type "attribute" must match "(name,required?,rtexprvalue?)".
                org.xml.sax.SAXParseException: The content of element type "attribute" must match "(name,required?,rtexprvalue?)".
                at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
                at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2959)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1145)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
                at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
                at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
                at org.apache.commons.digester.Digester.parse(Digester.java:1562)
                at org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:977)
                at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1006)
                at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
                at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
                at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
                at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:417)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:266)
                at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy7.deploy(Unknown Source)
                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
                at $Proxy0.start(Unknown Source)
                at org.jboss.system.ServiceController.start(ServiceController.java:392)
                at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy5.start(Unknown Source)
                at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy6.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
                at org.jboss.Main.boot(Main.java:150)
                at org.jboss.Main$1.run(Main.java:388)
                at java.lang.Thread.run(Thread.java:534)




                3RD ERROR is:




                ERROR [org.apache.commons.digester.Digester] Parse Error at line 30 column 13: Element type "type" must be declared.
                org.xml.sax.SAXParseException: Element type "type" must be declared.
                at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
                at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
                at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:2874)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:792)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:752)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
                at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
                at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
                at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
                at org.apache.commons.digester.Digester.parse(Digester.java:1562)
                at org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:977)
                at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1006)
                at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
                at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
                at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
                at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:417)
                at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:266)
                at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy7.deploy(Unknown Source)
                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
                at $Proxy0.start(Unknown Source)
                at org.jboss.system.ServiceController.start(ServiceController.java:392)
                at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy5.start(Unknown Source)
                at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
                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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy6.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
                at org.jboss.Main.boot(Main.java:150)
                at org.jboss.Main$1.run(Main.java:388)
                at java.lang.Thread.run(Thread.java:534)


                4TH one is:

                • 5. Re: org.xml.sax.SAXParseException
                  jaikiran pai Master

                  Looking at the above errors, i guess there is some .tld file whose contents are not proper. See if you can figure out which tld file it is

                  • 6. Re: org.xml.sax.SAXParseException
                    soma saha Newbie

                    I am puuting below the content of my TLD file:


                    <?xml version="1.0" encoding="ISO-8859-1" ?>
                    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag
                    Library 1.1//EN"
                    "http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd">


                    <!-- ============== Tag Library Description Elements ============= -->
                    1.0
                    1.2
                    Select
                    /WEB-INF/SelectTag.tld

                    This tag library contains useful general-purpose tags supporting the
                    development of JSP/servlet applications



                    select
                    com.gepower.geep.cps.SelectTagSupport
                    empty

                    scName
                    true
                    java.lang.String
                    true


                    scIdsChain
                    true
                    java.lang.String
                    true



                    • 7. Re: org.xml.sax.SAXParseException
                      jaikiran pai Master

                      Hi,
                      Please repost your tld file, with the contents of the tld enclosed in:

                      , so that the contents are not lost

                      • 8. Re: org.xml.sax.SAXParseException
                        soma saha Newbie

                        Hi,

                        The content of my taglib is:


                        <?xml version="1.0" encoding="ISO-8859-1" ?>
                        <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag
                        Library 1.1//EN"
                        "http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd">
                        
                        <taglib>
                        <!-- ============== Tag Library Description Elements ============= -->
                         <tlibversion>1.0</tlibversion>
                         <jspversion>1.2</jspversion>
                         <shortname>Select</shortname>
                         <uri>/WEB-INF/SelectTag.tld</uri>
                         <info>
                         This tag library contains useful general-purpose tags supporting the
                         development of JSP/servlet applications
                         </info>
                        
                         <tag>
                         <name>select</name>
                         <tagclass>com.gepower.geep.cps.SelectTagSupport</tagclass>
                         <bodycontent>empty</bodycontent>
                         <attribute>
                         <name>scName</name>
                         <required>true</required>
                         <type>java.lang.String</type>
                         <rtexprvalue>true</rtexprvalue>
                         </attribute>
                         <attribute>
                         <name>scIdsChain</name>
                         <required>true</required>
                         <type>java.lang.String</type>
                         <rtexprvalue>true</rtexprvalue>
                         </attribute>
                         </tag>
                        </taglib>
                        


                        • 9. Re: org.xml.sax.SAXParseException
                          jaikiran pai Master

                          You are using the wrong dtd. Use the following dtd:

                          <?xml version="1.0" encoding="ISO-8859-1" ?>
                          <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">


                          Also, in this new dtd i guess, tag is not supported. I think you can use display-name instead


                          • 10. Re: org.xml.sax.SAXParseException
                            jaikiran pai Master

                             

                            Also, in this new dtd i guess, tag is not supported. I think you can use display-name instead


                            I meant the 'info' attribute is not supported in this dtd. Instead use 'display-name'