You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (Jira)" <ji...@apache.org> on 2022/10/21 14:09:00 UTC
[jira] [Assigned] (SYNCOPE-1702) NoSuchBeanDefinitionException when running Core in standalone mode
[ https://issues.apache.org/jira/browse/SYNCOPE-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò reassigned SYNCOPE-1702:
-----------------------------------------------
Assignee: Francesco Chicchiriccò
> 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)