[jira] [Created] (SYNCOPE-1770) Errors upon Core restart after adding domain

2023-07-10 Thread Jira
Francesco Chicchiriccò created SYNCOPE-1770:
---

 Summary: Errors upon Core restart after adding domain
 Key: SYNCOPE-1770
 URL: https://issues.apache.org/jira/browse/SYNCOPE-1770
 Project: Syncope
  Issue Type: Bug
  Components: core
Affects Versions: 3.0.4
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 3.0.5, 4.0.0


When, after adding a secondary, the Core is restarted, there are error 
conditions related to the additional Spring beans defined.

{code}
java.lang.NullPointerException: Cannot invoke 
"org.springframework.beans.factory.support.DefaultListableBeanFactory.containsBeanDefinition(String)"
 because the return value of 
"org.apache.syncope.core.spring.ApplicationContextProvider.getBeanFactory()" is 
null
at 
org.apache.syncope.core.persistence.jpa.DomainConfFactory.unregisterBeanDefinition(DomainConfFactory.java:64)
at 
org.apache.syncope.core.persistence.jpa.DomainConfFactory.registerBeanDefinition(DomainConfFactory.java:70)
at 
org.apache.syncope.core.persistence.jpa.DomainConfFactory.register(DomainConfFactory.java:93)
at 
org.apache.syncope.core.persistence.jpa.RuntimeDomainLoader.added(RuntimeDomainLoader.java:60)
at 
org.apache.syncope.common.keymaster.client.zookeeper.ZookeeperDomainOps.lambda$afterPropertiesSet$0(ZookeeperDomainOps.java:73)
at 
org.apache.curator.framework.recipes.cache.CuratorCacheImpl.lambda$putStorage$6(CuratorCacheImpl.java:288)
at 
org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:93)
at 
org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:90)
at 
org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:90)
at 
org.apache.curator.framework.recipes.cache.CuratorCacheImpl.lambda$callListeners$9(CuratorCacheImpl.java:302)
at 
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
{code}

{code}
Parameter 0 of method transactionTemplate in 
org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$TransactionTemplateConfiguration
 required a single bean, but 2 were found:
- MasterTransactionManager: defined by method 'transactionManager' in class 
path resource [org/apache/syncope/core/persistence/jpa/MasterDomain.class]
- newDomainTransactionManager: defined in unknown location
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[ANN] Apache Syncope 3.0.4

2023-07-10 Thread Francesco Chicchiriccò

The Apache Syncope team is pleased to announce the release of Syncope 3.0.4

Apache Syncope is an Open Source system for managing digital identities in 
enterprise environments, implemented in Java EE technology .

Syncope 3.0 Maggiore is now a full-fledged IAM system covering provisioning, 
reconciliation and reporting needs (as with earlier releases), access 
management and API management.

The release will be available within 24h from:
https://syncope.apache.org/downloads

Read the full change log available here:
https://s.apache.org/syncope304

Upgrading from 3.0.3? There are some notes about this process:
https://s.apache.org/a0bl5

We welcome your help and feedback. For more information on how to report 
problems, and to get involved, visit the project website at

http://syncope.apache.org/

The Apache Syncope Team



[RESULT] [VOTE] Apache Syncope 3.0.4

2023-07-10 Thread Francesco Chicchiriccò

Hi all,
after 72 hours, the vote for Syncope 3.0.4 [1] *passes* with 6 PMC votes.

+1 (PMC / binding)
* Marco Di Sabatino
* Samuel Garofalo
* Fabio Martelli
* Andrea Patricelli
* Lorenzo Di Cola
* Francesco Chicchiriccò

+1 (non binding)


0


-1


Thanks to everyone participating.

I will now copy this release to Syncope' dist directory, promote the artifacts 
to the central Maven repository and publish to DockerHub.

Best regards.

[1] https://lists.apache.org/thread/nrmfhcxfj4fw9k41sd4ns4vskvc8ofgw

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/