[
https://issues.apache.org/jira/browse/JCR-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved JCR-695.
-------------------------------
Resolution: Fixed
Fixed in revisions 493026 and 493031.
The public identifier of the DTD is "-//The Apache Software Foundation//DTD
Jackrabbit 1.2//EN", and I also made the ConfigurationEntityResolver use the
local copy of the DTD even if just the system identifier
"http://jackrabbit.apache.org/dtd/repository-1.2.dtd" is used.
> Repository requires access to external resource
> -----------------------------------------------
>
> Key: JCR-695
> URL: https://issues.apache.org/jira/browse/JCR-695
> Project: Jackrabbit
> Issue Type: Bug
> Components: config
> Environment: Windows XP, Maven 2.0, Java 1.5.0-8
> Reporter: Marcel Reutegger
> Assigned To: Jukka Zitting
> Priority: Blocker
> Fix For: 1.2
>
> Attachments: JCR-695-r492185.patch
>
>
> With the changes from JCR-626 jackrabbit requires access to the resource at
> the URL http://jackrabbit.apache.org/dtd/repository-1.2.dtd. If no connection
> to the internet is available jackrabbit will refuse to start. At least that's
> the case when I run the test cases in the above mentioned environment.
> I'm not an XML expert, but shouldn't the doctype declaration use a public
> identifier? Otherwise the ConfigurationEntityResolver class doesn't make much
> sense.
> The attached patch solve the issue for me, please comment. I've also
> targetted this issue for 1.2 because it seems rather serious to me if you
> can't start jackrabbit when you don't have an internet connection, or am I
> the only one with this issue?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira