3 Replies Latest reply on Jun 22, 2011 6:04 AM by Wolfgang Knauf

    org.jboss.xb.binding.JBossXBException: Failed to parse source in jboss 6

    karan Singh Newbie

      Hi,

       

      I am getting this error on deploying of war file.can anyone please let me know why this is so.for your reference i am attaching the tld file.

       

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///C:/development/GateGourmet/IFX/Software/jboss-6.0.0.Final/server/default/deploy/IFXWEB.war/WEB-INF/tld/ifx/a.tld@720,12

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]

              at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:64) [:6.0.0.Final]

              at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:38) [:6.0.0.Final]

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.handleMultipleFiles(AbstractVFSParsingDeployer.java:446) [:2.2.0.GA]

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:319) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376)

       

       

      Please help me.

        • 1. Re: org.jboss.xb.binding.JBossXBException: Failed to parse source in jboss 6
          Wolf-Dieter Fink Master

          Is it the right tld?  a.tld==ifx.tld

           

          If I validate with the DOCTYPE jsptaglibrary 1.2

          <function> in line 720 is not valid.

           

          Do you use the right version of doctype?

          Use a XML editor with validation, like jEdit, to check.

          • 2. Re: org.jboss.xb.binding.JBossXBException: Failed to parse source in jboss 6
            karan Singh Newbie

            Thanks for you reply ,the tld is right and hopefully the parse exception is got solved but now the connect exception is coming

            Hi all, i have the next problem:

             

            ERROR [org.apache.struts.action.ActionServlet] Parsing error processing resource path

            java.net.ConnectException: Connection timed out: connect

            at java.net.PlainSocketImpl.socketConnect(Native Method)

            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

            at java.net.Socket.connect(Socket.java:519)

            at java.net.Socket.connect(Socket.java:469)

            at sun.net.NetworkClient.doConnect(NetworkClient.java:157)

            at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)

            at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)

            at sun.net.www.http.HttpClient.(HttpClient.java:231)

            at sun.net.www.http.HttpClient.New(HttpClient.java:304)

            at sun.net.www.http.HttpClient.New(HttpClient.java:316)

            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)

            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)

            at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)

            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)

            at org.apache.commons.digester.Digester.createInputSourceFromURL(Digester.java:1938)

            at org.apache.commons.digester.Digester.resolveEntity(Digester.java:1615)

            at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)

            at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source

             

            can anyone know why this is coming?

            • 3. Re: org.jboss.xb.binding.JBossXBException: Failed to parse source in jboss 6
              Wolfgang Knauf Master

              Hi,

               

              can the PC where the server is  running connect to the internet? It seems that a xsd or dtd file is to be loaded from some URL. But I don't see which file causes this trouble.

              Could you try to find out which xml files declare either a schema location or a DTD url?

               

              Best regards

               

              Wolfgang