[MAGNOLIA-4071] Activation: keypair.properties gets created in the wrong directory -> /apache-tomcat-6.0.32/bin/WEB-INF/config/default/keypair.properties Created: 14/Mar/12  Updated: 08/Jan/14  Resolved: 14/Mar/12

Status: Closed
Project: Magnolia
Component/s: activation
Affects Version/s: 4.5, 4.5.1
Fix Version/s: 4.5.2

Type: Bug Priority: Blocker
Reporter: Christian Ringele Assignee: Jan Haderka
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MAGNOLIA-4068 Activation keypair file is generated ... Closed
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

 Description   

The configuration in the magnolia.properties file:
magnolia.author.key.location=WEB-INF/config/default/keypair.properties

should create the file 'keypair.properties' relative within the WEB-INF lib folder.
So correct would be:
apache-tomcat-6.0.32/webapps/magnoliaAuthor/WEB-INF/config/default/keypair.properties

But the file gets created in:
apache-tomcat-6.0.32/bin/WEB-INF/config/default/keypair.properties

There for depending on the write rights on the bin folder of the the file can't be created. Usually the webapplication process doesn't have write writes to tomcat's bin folder -> activation fails.


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