You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Jervis Liu <je...@gmail.com> on 2010/01/08 07:34:24 UTC
java.io.FileNotFoundException: http://jackrabbit.apache.org/dtd/repository-1.6.dtd
?
Hi, I suddenly started to get java.io.FileNotFoundException:
http://jackrabbit.apache.org/dtd/repository-1.6.dtd exception in my
application. I am using Jackrabbit 1.6, the pom section looks like
below:
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>1.6.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.0.1B_spec</artifactId>
</exclusion>
<exclusion>
<groupId>pdfbox</groupId>
<artifactId>pdfbox</artifactId>
</exclusion>
<exclusion>
<groupId>poi</groupId>
<artifactId>poi</artifactId>
</exclusion>
<exclusion>
<groupId>org.textmining</groupId>
<artifactId>tm-extractors</artifactId>
</exclusion>
<exclusion>
<groupId>nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
<version>1.0</version>
</dependency>
I checked the location of http://jackrabbit.apache.org/dtd/, the
repository-1.6.dtd file does not exsit, not sure if it was there
before. Is this the location where jackrabbit looks for the dtd file?
or jackrabbit gets the dtd file from a local postion?
The full stack trace is as low. Any helps are highly apprecaited.
Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file could not be read.:
http://jackrabbit.apache.org/dtd/repository-1.6.dtd:
http://jackrabbit.apache.org/dtd/repository-1.6.dtd
at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:202)
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseRepositoryConfig(RepositoryConfigurationParser.java:187)
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:141)
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:244)
... 41 more
Caused by: java.io.FileNotFoundException:
http://jackrabbit.apache.org/dtd/repository-1.6.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:193)
... 45 more
Thank,
Jervis
Re: java.io.FileNotFoundException: http://jackrabbit.apache.org/dtd/repository-1.6.dtd
?
Posted by Paco Avila <mo...@gmail.com>.
Thanks Jukka.
On Fri, Feb 19, 2010 at 1:43 PM, Jukka Zitting <ju...@gmail.com> wrote:
> Hi,
>
> On Fri, Feb 19, 2010 at 1:35 PM, Paco Avila <mo...@gmail.com> wrote:
>> Any tip? I have seen there is a repository-1.5.dtd a repository-1.6.dtd is
>> not needed?
>
> Jackrabbit is supposed to use a local copy of the DTD (included inside
> the jackrabbit-core jar). It's a bug if it doesn't.
>
> In any case I'll publish the 1.6 and 2.0 DTDs on the Jackrabbit site,
> at least for documentation purposes.
>
> BR,
>
> Jukka Zitting
>
--
OpenKM
http://www.openkm.com
http://www.guia-ubuntu.org
Re: java.io.FileNotFoundException: http://jackrabbit.apache.org/dtd/repository-1.6.dtd
?
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Fri, Feb 19, 2010 at 1:35 PM, Paco Avila <mo...@gmail.com> wrote:
> Any tip? I have seen there is a repository-1.5.dtd a repository-1.6.dtd is
> not needed?
Jackrabbit is supposed to use a local copy of the DTD (included inside
the jackrabbit-core jar). It's a bug if it doesn't.
In any case I'll publish the 1.6 and 2.0 DTDs on the Jackrabbit site,
at least for documentation purposes.
BR,
Jukka Zitting
Re: java.io.FileNotFoundException:
http://jackrabbit.apache.org/dtd/repository-1.6.dtd ?
Posted by Paco Avila <mo...@gmail.com>.
Any tip? I have seen there is a repository-1.5.dtd a repository-1.6.dtd is
not needed?
--
View this message in context: http://n4.nabble.com/java-io-FileNotFoundException-http-jackrabbit-apache-org-dtd-repository-1-6-dtd-tp1009490p1561532.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.