wcms properties don't work with environment variables

Description

Most of the wcms properties in
mycore.properties.wcms(.template) contain environment
variables, e.g
MCR.WCMS.contentRoot=$AppsServerDocumentRoot/webapps/content/

If processed by Java, however, the environment
variables are not being escaped which results in error
messages such as:
BUILD FAILED
...
/root/mycorenew/mycoresample/modules/module-wcms/build.xml:135:
/.../mycoresample/$AppsServerDocumentRoot/webapps/.../common
not found.

If the WCMS is run with the default properties file,
similar errors occur:
ERROR java.io.FileNotFoundException:
/root/$MycoreSample_Home/.../WCMSUserDB.xml (No such
file or directory)

The appropriate environment variables DO exist, case
sensitivity has been paid attention.

Environment

None

Activity

Thomas Scheffler 
February 1, 2015 at 1:36 PM

closed all issues resolved before end of last year

Jira Admin 
February 17, 2005 at 8:59 AM

Logged In: YES
user_id=1211259

The bug existed as long as the document haven't been
finished.
Since Feb. 11th the UserGuide, chapter 3.4.1.11 should solve
this problem.

Jira Admin 
February 17, 2005 at 8:59 AM

  • *status*: open --> closed

Thomas Scheffler 
February 4, 2005 at 5:08 PM

Logged In: YES
user_id=885950

Maybe this is not the way to tell JAVA to read environment
variables?
Maybe there is no way to do this?
Maybe the config file needs preprocessing by ANT to solve
this problem?
Questions too much questions!

Jira Admin 
February 4, 2005 at 3:12 PM

  • *assignee*: nobody --> f3_tran

Fixed

Details

Assignee

Reporter

Labels

URL

External issue ID

Fix versions

Priority

Created January 27, 2005 at 12:52 PM
Updated May 16, 2018 at 11:13 AM
Resolved May 16, 2018 at 11:13 AM