[MAGNOLIA-1055] New Magnolia build does not start Created: 15/Sep/06  Updated: 23/Jan/13  Resolved: 19/Sep/06

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

Type: Bug Priority: Critical
Reporter: Giancarlo Berner Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Jetty 6, Magnolia 3.0 RC3 Build 6375


Attachments: Text File startup.log     JPEG File startup1.jpg    
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   
  • Checkout Magnolia with SVN
  • Build Magnolia with maven
  • In Jetty /webapps created new folder /mga
  • Opened magnolia-3.0-rc3-SNAPSHOT.war with WINZIP
  • Extracted all into jetty6 /webapps/mga
  • Started Jetty
    --> Properties are not found and then tons of error messages are presented


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

Screenshot of first few messages. They show that properties are not found.
Then follow ERROR messages until Jetty stops.

Comment by Sameer Charles [ 19/Sep/06 ]

magnolia build 6424 works fine with Jetty 6.0

You might have old configuration, recently we changed how configuration properties are handled.

Comment by Giancarlo Berner [ 20/Sep/06 ]

Magnolia does not start up. See attached startup.log file. The error found is:

ERROR info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 19.09.2006 22:42:57 Unable to initialize repository: Configuration file could not be read.: C:\jetty-6.0.0\webapps\mga\${magnolia.repositories.jackrabbit.config} (The system cannot find the file specified)
org.apache.jackrabbit.core.config.ConfigurationException: Configuration file could not be read.: C:\jetty-6.0.0\webapps\mga\${magnolia.repositories.jackrabbit.config} (The system cannot find the file specified): C:\jetty-6.0.0\webapps\mga\${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)

Comment by Philipp Bracher [ 20/Sep/06 ]

The last entry implies that you have a not complete magnolia.properties files, else the ${magnolia.repositories.jackrabbit.config} variable would get replaced.

On startup you see where magnolia looks for the magnolia.properties files.

The files are cascaded.

Comment by Giancarlo Berner [ 20/Sep/06 ]

Yes, correct, I am assuming I do not have the magnolia.properties is corrupt. I though took build 6427 and extracted magnolia-3.0-rc3-SNAPSHOT.war into /webapps/mga. I did not do any changes to anything. So this may imply that the provided magnolia.properties is "broken".

Comment by Philipp Bracher [ 22/Sep/06 ]

see new issue MAGNOLIA-1075

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