[MAGNOLIA-1074] New Magnolia build does not start (duplicate of bug 1055) Created: 22/Sep/06  Updated: 23/Jan/13  Resolved: 22/Sep/06

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.0 RC2
Fix Version/s: 3.0 RC3

Type: Bug Priority: Blocker
Reporter: Giancarlo Berner Assignee: Boris Kraft
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP, Tomcat 5.5.17, Firefox, Magnolia RC2 build 6449


Attachments: Text File stdout_20060921.log    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

In bug 1055 I used Jetty 6. This time I did the same test with Tomcat 5.5.17.

  • Installed Tomcat 5.5.17 (using JDK 1.5 update 6)
  • copied magnolia-3.0-rc3-SNAPSHOT.war (build 6449) into {Tomcat install}

    /webapps

  • renamed magnolia-3.0-rc3-SNAPSHOT.war to mg6449.war
  • started Tomcat
  • checked Tomcat error log (stdout_20060921)
    ----> exact same error as with a clean jetty 6 installation!
    The Error message:
    INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:264) 21.09.2006 20:52:47 Loading workspace:usergroups
    INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:264) 21.09.2006 20:52:47 Loading workspace:mgnlSystem
    INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:264) 21.09.2006 20:52:47 Loading workspace:mgnlVersion
    INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepository:305) 21.09.2006 20:52:47 System : loading JCR magnolia
    INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:143) 21.09.2006 20:52:47 Loading repository at C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.home}\magnolia (config file: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.jackrabbit.config})
    ERROR info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 21.09.2006 20:52:48 Unable to initialize repository: Configuration file could not be read.: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.jackrabbit.config} (The system cannot find the file specified)
    org.apache.jackrabbit.core.config.ConfigurationException: Configuration file could not be read.: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.jackrabbit.config} (The system cannot find the file specified): C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.jackrabbit.config} (The system cannot find the file specified)
    at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:551)
    at org.apache.jackrabbit.core.config.ConfigurationParser.parseRepositoryConfig(ConfigurationParser.java:200)
    at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:140)
    at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:83)
    at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:134)
    at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:122)
    at org.apache.jackrabbit.core.jndi.BindableRepositoryFactory.createInstance(BindableRepositoryFactory.java:58)
    at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:59)
    at info.magnolia.jackrabbit.ProviderImpl.init(ProviderImpl.java:165)

If I look at the INFO (before the error):
Loading repository at C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.home}\magnolia
I interpret that it's loading the repositories at

{tomcat-install}

\webapps\mg6449\repositories\magnolia. However, there is no "\repositories" folder. So I assume it will be created.
The second part of the line reads:
(config file: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\${magnolia.repositories.jackrabbit.config})
looking into the magnolia.properties again, this would mean, that the config file is at
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\mg6449\WEB-INF/config/repo-conf/jackrabbit-derby-search.xml
If I check the location, the file is there. So everything should be ok!
However, now comes the error, that the configuration file COULD NOT BE FOUND (although it's there). If the message is correct, and the file can not be found, even though it's there, then I have the feeling that there must be a problem with the PATH settings.



 Comments   
Comment by Giancarlo Berner [ 22/Sep/06 ]

Attached is the stdout_20060921 log file from Tomcat.

Comment by Giancarlo Berner [ 22/Sep/06 ]

I just did another test on a complete different notebook. This has Windows 2000 and I added Jetty 6. I installed Magnolia build 6449 and got the exact same log messages.

Comment by Philipp Bracher [ 22/Sep/06 ]

This is because of the space in the path!: Program Files\Apache Software Foundation\

I will close this issues and create a new one

Comment by Philipp Bracher [ 22/Sep/06 ]

MAGNOLIA-1075

Generated at Mon Feb 12 03:23:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.