[MAGNOLIA-1179] Bootstrapping does not work if the webapplication is renamed prior boostrap Created: 02/Nov/06  Updated: 08/Aug/08  Resolved: 07/Aug/08

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Claudio Greuter Assignee: Jan Haderka
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

What i did:

  • let Tomcat extranc the WARs
  • Rename the extracted Directories (projectAuthor, projectPublic)
  • Configured them to use MYSQL and simpleDBpersistencemanager
  • Deleted the "repository" Folder of both instances
  • Stared tomcat and let them bootstrap into mysql.
  • reconfigured "projectPublic" to act as a Admin instance

So far so good. on the first glance it all seemed to work however i got strange problems with activation (internal Server errrors, only sometimes and with large amount of subpages). Additionally problems occured witha custom made "nested" paragraph.

I had to do the following to get it to work:

  • Let the Public War extract normally
  • Then delete the repository sub folder
  • and then configure it for MYSQL and let it boostrap again (without renaming the app)

I guess then it takes the proper magnolia Configuration for bootstrapping.

afterwards i renamed it to "projectpublic" and it worked fine.

I assume the default configuration contains a bug?



 Comments   
Comment by Jan Haderka [ 07/Aug/08 ]

Default configuration bootstraps any instance into "author mode"
if you rename public instance before it is bootstrapped, you have to also rename its /WEB_INF/config/magnoliaPublic folder to match the new public instance name to have it bootstrapped properly as public.

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