0 Replies Latest reply on Apr 28, 2011 12:45 AM by suraj chhetry Branched from an earlier discussion.

    java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss-app_6_0.dtd

    suraj chhetry Newbie

      Hi,

        I am running into same problem. I have an api jar , an ejb jar and 2 ejb client ( web and swing ) . I want to deploy ejb as ear but it is not working. In application.xml iam writting

       

      <application xmlns="http://java.sun.com/xml/ns/javaee"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5"

      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"> 

       

       

      is it correct ? beacuse iam getting error here as

       

      Caused by: java.io.FileNotFoundException: http://www.jboss.org/j2ee/dtd/jboss-app_6_0.dtd

          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434) [:1.6.0_24]

          at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

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

          ... 41 more