Hi Andrew,

Il 15/11/18 18:00, Andrew Waterson ha scritto:

Unsure why it wasn’t working.  I haven’t tried a fresh 2.1.2 image yet, but upgrading a working 2.1.1 to 2.1.2 seems to be running fine after I made the /etc/apache-syncope directory persistent.

Glad to hear that now is working.

I guess that this way maybe worked because making */etc/apache-syncope* persitent is like starting from a fresh installation, because mounting a volume on local machine fresh new directory "empties" the target dir on docker environment.

Best regards,
Andrea


*From:*Andrea Patricelli [mailto:andreapatrice...@apache.org]
*Sent:* Wednesday, November 14, 2018 10:31 AM
*To:* user@syncope.apache.org
*Subject:* Re: Syncope 2.1.1 for Docker Issues

Hi Andrew,

I'm not able to reproduce your issue; I've just tested with the docker compose taken from [1] with version 2.1.2 and it works fine.

It seems that your *workflow.properties* is missing *historyLevel* property, please try again with fresh new 2.1.2 images taken from docker hub.

Best regards,
Andrea

Il 13/11/18 17:34, Andrew Waterson ha scritto:

    When running a docker-compose for 2.1.2, syncope-core will not
    initialize.  Receiving the below error.  However, 2.1.1 works fine
    in Docker.

    syncope_1_949d5739a0e5 | 12-Nov-2018 23:00:24.611 SEVERE
    [localhost-startStop-1]
    org.apache.catalina.core.StandardContext.listenerStart Exception
    sending context initialized event to listener instance of class
    org.springframework.web.context.ContextLoaderListener

    syncope_1_949d5739a0e5 |
    org.springframework.beans.factory.BeanDefinitionStoreException:
    Invalid bean definition with name
    
'org.apache.syncope.core.flowable.support.DomainProcessEngineConfiguration#0'
    defined in URL
    
[jar:file:/var/lib/tomcat8/webapps/syncope/WEB-INF/lib/syncope-ext-flowable-bpmn-2.1.2.jar!/workflowFlowableContext.xml]:
    Could not resolve placeholder 'historyLevel' in value
    "${historyLevel}"; nested exception is
    java.lang.IllegalArgumentException: Could not resolve placeholder
    'historyLevel' in value "${historyLevel}"

    syncope_1_949d5739a0e5 |        at
    
org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)

--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

Reply via email to