[
https://issues.apache.org/jira/browse/SYNCOPE-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622569#comment-17622569
]
ASF subversion and git services commented on SYNCOPE-1702:
----------------------------------------------------------
Commit 6e749c35513ce12f72a5953dc84f6be65acfab35 in syncope's branch
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=6e749c3551 ]
[SYNCOPE-1702] Including specific instructions for Keymaster setup
> NoSuchBeanDefinitionException when running Core in standalone mode
> ------------------------------------------------------------------
>
> Key: SYNCOPE-1702
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1702
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.0.0-M1
> Environment: Rocky8.6, Java-11.0.16.1, Postgres server 14.5
> Reporter: Lionel Schwarz
> Assignee: Francesco Chicchiriccò
> Priority: Major
>
> Unable to run a Syncope core (built from Maven Archetype 3.0.0-M1) in
> standalone mode:
>
> {{Field serviceOps in
> org.apache.syncope.common.keymaster.client.api.startstop.KeymasterStartStop
> required a bean of type
> 'org.apache.syncope.common.keymaster.client.api.ServiceOps' that could not be
> found.}}
>
> Here are steps to reproduce this:
> * create new project from Maven archetype
> * disable the SRA module
> [(https://issues.apache.org/jira/projects/SYNCOPE/issues/SYNCOPE-1701)|https://issues.apache.org/jira/projects/SYNCOPE/issues/SYNCOPE-1701]
> * add postgres driver dependency in {{core/pom.xml}}
> * add "postgres" as spring profile in
> {{core/src/main/resources/core.properties}}
> {{spring.profiles.include[0]=postgres}}
> * create file {{core/src/main/resources/core-postgres.properties}} as
> explained at
> [https://syncope.apache.org/docs/3.0/reference-guide.html#postgresql]
> * build with
> {{mvn -P executable clean verify -Dconf.directory=/opt/syncope3/conf
> -Dbundles.directory=/opt/syncope3/bundles -Dlog.directory=/opt/syncope3/log}}
> * deploy with
> {{cp core/target/syncope.war /opt/syncope3/lib/}}
> {{cp core/target/classes/*properties /opt/syncope3/conf}}
> * start with
> {{export LOADER_PATH=/opt/syncope3/conf,/opt/syncope3/lib}}
> {{java -jar /opt/syncope3/lib/syncope.war}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)