jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scot McSweeney-Roberts <apache-jackrab...@mcsweeney-roberts.co.uk>
Subject Problem with FirstHop
Date Tue, 15 May 2007 12:09:05 GMT
I'm trying to get FirstHop running, but I keep getting the following 
error: Configuration file syntax error.: Premature end of file

I see that repository.xml is created, but I haven't touched it.

Here's the entire error output - any ideas?


[Fatal Error] :-1:-1: Premature end of file.
Exception in thread "main" javax.jcr.RepositoryException: Invalid 
repository configuration: repository.xml: Configuration file syntax 
error.: Premature end of file.: Configuration file syntax error.: 
Premature end of file.: Premature end of file.
    at 
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:250)
    at 
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:388)
    at FirstHop.main(FirstHop.java:35)
Caused by: org.apache.jackrabbit.core.config.ConfigurationException: 
Configuration file syntax error.: Premature end of file.: Premature end 
of file.
    at 
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:199)
    at 
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:330)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:362)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:317)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
    at 
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:244)
    ... 4 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
    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)
    ... 10 more
org.apache.jackrabbit.core.config.ConfigurationException: Configuration 
file syntax error.: Premature end of file.: Premature end of file.
    at 
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:199)
    at 
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:330)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:362)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:317)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
    at 
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:244)
    at 
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:388)
    at FirstHop.main(FirstHop.java:35)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
    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)
    ... 10 more
org.xml.sax.SAXParseException: Premature end of file.
    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)
    at 
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:330)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:362)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:317)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142)
    at 
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
    at 
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:244)
    at 
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
    at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:388)
    at FirstHop.main(FirstHop.java:35)




cheers

Scot

Mime
View raw message