Hi Eric,

I don't have exactly the same problem as I'm using Eclipse WTP, but like you I can't have the latest stable version working on eclipse. I already post on the dev list about this problem but apparently the problem doesn't come from Magnolia as Fabrizio Giustina managed to make it works. So I tried to post on the user list a set of instruction to install it on eclipse, but no one answered. So if you have a guess on where the problem comes from, don't hesitate I'm interested in finding the solution with you.

Regards.

CAPITAINE Harold

EricCho a écrit :

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


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to