jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalyan Sarkar <kalyansarkar...@yahoo.co.in>
Subject Re: Problem with FirstHop
Date Wed, 16 May 2007 06:08:51 GMT

Hi Scot,
Use the latest versions of the xercesImpl.jar (2.8.1) and xmlParserAPIs.jar
(2.6.2).

Regards,
Kalyan Sarkar


Scot McSweeney-Roberts-4 wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-FirstHop-tf3758123.html#a10635960
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message