syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wyllys Ingersoll (JIRA)" <>
Subject [jira] [Created] (SYNCOPE-1344) CORE_SCHEME not being updated in
Date Tue, 24 Jul 2018 15:48:00 GMT
Wyllys Ingersoll created SYNCOPE-1344:

             Summary: CORE_SCHEME not being updated in
                 Key: SYNCOPE-1344
             Project: Syncope
          Issue Type: Bug
          Components: enduser
    Affects Versions: 2.1.0
            Reporter: Wyllys Ingersoll

When running syncope-enduser from docker image (2.1.1-SNAPSHOT), the the CORE_SCHEME value
is not being replaced from the template when creating the /etc/apache-syncope/
file.  The result looks like this:



{{ anonymousKey=anonymousKey}}
{{ adminUser=admin}}
{{ useGZIPCompression=true}}
{{ maxUploadFileSizeMB=5}}

{{ host=syncope}}
{{ port=8080}}
{{ rootPath=/syncope/rest/}}

{{ xsrf=true}}

This causes the enduser service to throw exception:

{{Caused by: Illegal character in scheme name at index 0: ${CORE_SCHEME}://syncope:8080//syncope/rest/}}
{{ at$ ~[?:1.8.0_171]}}
{{ at$Parser.checkChars( ~[?:1.8.0_171]}}
{{ at$Parser.checkChar( ~[?:1.8.0_171]}}
{{ at$Parser.parse( ~[?:1.8.0_171]}}
{{ at<init>( ~[?:1.8.0_171]}}
{{ at ~[?:1.8.0_171]}}


The file  in /var/lib/tomcat8/webapps/syncope-enduser/WEB-INF/classes/
appears to be correct, but because it refers to /etc/apache-syncope as the "",
the app is pulling the values from the version in /etc/apache-syncope and is failing because
CORE_SCHEME was never substituted from the template to the properties file.


This message was sent by Atlassian JIRA

View raw message