On 09/10/2015 13:46, Ralph de Boom wrote:
On 09-10-15 13:20, Francesco Chicchiriccò wrote:
mvn clean package -Dconf.directory=/opt/syncope/conf
-Dbundles.directory=/opt/syncope/bundles
-Dlog.directory=/opt/syncope/log
Huzzah, I finally found the cause.
using mvn clean package, the eventual war generated will contain
references to load stuff from the project source directory. Which
causes stuff to be loaded on runtime that breaks deploying the war
properly.
[...]
I don't know which of these files causes the problems I had. But my
case is solved.
I might add a note that even with 'mvn clean package
-Dconf.directory=/opt/syncope/conf
-Dbundles.directory=/opt/syncope/bundles
-Dlog.directory=/opt/syncope/log' a reference to my project source dir
is still made!
./webapps/syncope-console/WEB-INF/classes/console.properties:21:activitiModelerDirectory=/home/ralph/projects/git/bnl-iam-syncope-1.2.5/nl.stichtingbibliotheek.idm/console/target/activiti-modeler
If this might cause problems you might need to include this on the
documentation how to change this setting accordingly?
Activiti Modeler is a separate component that can be enabled by following
https://cwiki.apache.org/confluence/display/SYNCOPE/Enable+Activiti+Modeler
I don't think the dangling reference to activitiModelerDirectory should
cause any trouble, because it is contained in console.properties, which
in turn is first looked up in conf.directory, then in classpath.
Glad that you've solved :-)
Regards.
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/