Hi,
It's been a little while since I've last attempted a build with Magnolia.
My goal is to get the latest build working on Eclipse3.2.x/RAD 7.0.
I've gotten the latest codebase from the trunk of svn and ran "mvn
eclipse:eclipse -Dwtpversion=1.5" with Maven 2.0.5.
I've imported the projects into RAD and have been able to build them
without errors.
When I finally attempt to start it with the Tomcat 5.5 plugin, I get the
following exception......
INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:143)
05.03.2007 11:03:42 Loading repository at
C:\RAD7WorkSpaces\magnoliaProjects\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\magnolia\repositories\magnolia
(config file:
C:\RAD7WorkSpaces\magnoliaProjects\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\magnolia\WEB-INF\config\repo-conf\jackrabbit-derby-search.xml)
[Fatal Error] :-1:-1: Premature end of file.
ERROR info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176)
05.03.2007 11:03:42 Unable to initialize repository: Configuration file
syntax error.: Premature end of file.
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:327)
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.jndi.BindableRepository.createRepositoryConfig(
BindableRepository.java:160)
at org.apache.jackrabbit.core.jndi.BindableRepository.init(
BindableRepository.java:137)
at org.apache.jackrabbit.core.jndi.BindableRepository.create(
BindableRepository.java:125)
at
org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.createInstance(
BindableRepositoryFactory.java:59)
at
org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(
RegistryHelper.java:60)
at info.magnolia.jackrabbit.ProviderImpl.init(
ProviderImpl.java:165)
at
info.magnolia.cms.beans.config.ContentRepository.loadRepository(
ContentRepository.java:336)
at
info.magnolia.cms.beans.config.ContentRepository.loadRepositories(
ContentRepository.java:300)
at info.magnolia.cms.beans.config.ContentRepository.init(
ContentRepository.java:187)
I've taken a look at the xml file in question and from an unexperienced
eye, it looks fine. Has anybody else encountered this exception?
Or is there an updated set of instructions in regards to setting up
Magnolia on Eclipse? (I've checked the wiki and main site, and it looks
as though they're both out-dated).
Any help is appreciated.
Regards,
Eric