• No labels

3 Comments

  1. Hi all,

    doing a submitMessage test using files provided to us (including keystore, truststore and soap ui example call), we encounter this error, after Domibus try to send the message to the Test AP(https://gateway-edelivery.westeurope.cloudapp.azure.com/?domain=static): 

    eu.domibus.core.ebms3.EbMS3Exception: Error dispatching message to https://gateway-edelivery.westeurope.cloudapp.azure.com/?domain=static
    [........]
    Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    We try also to import in java cacerts file the "gateway-edelivery.westeurope.cloudapp.azure" certificate but nothing change. It seems that something in certificates/truststore is wrong. 

    Anyone else having same or similar problem?

  2. Hi!


    Please we need to help with Domibus installation on Rocky Linux 9.


    this are the version of soft we have:


    [root@tdombbap1 domibus]# java -version

    openjdk version "11.0.11" 2021-04-20

    OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)

    OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)



    Your MySQL connection id is 22

    Server version: 8.0.32 Source distribution


    Apache Tomcat/9.0.76




    [root@tdombbap1 domibus]# ./bin/startup.sh

    Using CATALINA_BASE:   /usr/share/tomcat/webapps/domibus

    Using CATALINA_HOME:   /usr/share/tomcat/webapps/domibus

    Using CATALINA_TMPDIR: /usr/share/tomcat/webapps/domibus/temp

    Using JRE_HOME:        /usr/lib/jvm/jdk-11.0.11+9

    Using CLASSPATH:       /usr/share/tomcat/webapps/domibus/bin/bootstrap.jar:/usr/share/tomcat/webapps/domibus/bin/tomcat-juli.jar

    Using CATALINA_OPTS:

    Tomcat started.


    and this is the error log:

    cat logs/domibus-error.log
    2023-06-21 09:02:25,800 [edelivery@localhost] [] [] [] [main]  WARN e.d.c.p.p.f.PayloadFileStorage:55 - No file system storage defined. This is fine for small attachments but might lead to database issues when processing large payloads
    2023-06-21 09:02:30,184 [edelivery@localhost] [default] [] [] [main]  WARN o.s.w.c.s.AnnotationConfigWebApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'propertyChangeNotifierImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/property/PropertyChangeNotifierImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'WSPluginEnabledChangeListener' defined in URL [jar:file:/usr/share/tomcat/webapps/domibus/conf/domibus/plugins/lib/domibus-default-ws-plugin-5.1.jar!/eu/domibus/plugin/ws/property/listeners/WSPluginEnabledChangeListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorProviderExtServiceDelegate' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-msh-ext-services-delegate-5.1.jar!/eu/domibus/ext/delegate/services/backend/BackendConnectorProviderExtServiceDelegate.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorStateServiceImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/plugin/BackendConnectorStateServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
    'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
    2023-06-21 09:02:30,983 [edelivery@localhost] [default] [] [] [main] ERROR o.s.w.c.ContextLoader:299 - Context initialization failed
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'propertyChangeNotifierImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/property/PropertyChangeNotifierImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
    bean with name 'WSPluginEnabledChangeListener' defined in URL [jar:file:/usr/share/tomcat/webapps/domibus/conf/domibus/plugins/lib/domibus-default-ws-plugin-5.1.jar!/eu/domibus/plugin/ws/property/listeners/WSPluginEnabledChangeListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorProviderExtServiceDelegate' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-msh-ext-services-delegate-5.1.jar!/eu/domibus/ext/delegate/services/backend/BackendConnectorProviderExtServiceDelegate.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorStateServiceImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/plugin/BackendConnectorStateServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException:
    Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
            at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
            at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:399)
            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:278)
            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
            at eu.domibus.core.spring.DomibusContextLoaderListener.contextInitialized(DomibusContextLoaderListener.java:30)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766)
            at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1024)
            at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
            at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
            at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:825)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
            at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
            at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
            at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
            at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
            at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
            at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
            at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
            at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
            at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
            at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
            at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
            at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:566)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'WSPluginEnabledChangeListener' defined in URL [jar:file:/usr/share/tomcat/webapps/domibus/conf/domibus/plugins/lib/domibus-default-ws-plugin-5.1.jar!/eu/domibus/plugin/ws/property/listeners/WSPluginEnabledChangeListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorProviderExtServiceDelegate' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-msh-ext-services-delegate-5.1.jar!/eu/domibus/ext/delegate/services/backend/BackendConnectorProviderExtServiceDelegate.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorStateServiceImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/plugin/BackendConnectorStateServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
            at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
            at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
            ... 57 common frames omitted
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorProviderExtServiceDelegate' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-msh-ext-services-delegate-5.1.jar!/eu/domibus/ext/delegate/services/backend/BackendConnectorProviderExtServiceDelegate.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorStateServiceImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/plugin/BackendConnectorStateServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
            at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
            at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
            ... 74 common frames omitted
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'backendConnectorStateServiceImpl' defined in URL [jar:file:/usr/share/apache-tomcat-9.0.76/webapps/domibus/webapps/domibus/WEB-INF/lib/domibus-MSH-5.1.jar!/eu/domibus/core/plugin/BackendConnectorStateServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected [See nested exception:
    java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
            at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
            at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
            ... 88 common frames omitted
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'domibusQuartzStarter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException:
    Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
            at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
            at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
            at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
            ... 102 common frames omitted
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactory' defined in class path resource [eu/domibus/core/scheduler/DomainSchedulerFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected [See nested exception: java.sql.SQLException: No database selected]
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:353)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1284)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1245)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:494)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:349)
            at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1180)
            at eu.domibus.core.scheduler.DomibusSchedulerFactoryImpl.createScheduler(DomibusSchedulerFactoryImpl.java:31)
            at eu.domibus.core.scheduler.DomibusQuartzStarter.checkJobsAndStartScheduler(DomibusQuartzStarter.java:162)
            at eu.domibus.core.scheduler.DomibusQuartzStarter.initQuartzSchedulers(DomibusQuartzStarter.java:352)
            at eu.domibus.core.scheduler.DomibusQuartzStarter.initQuartzSchedulers(DomibusQuartzStarter.java:346)
            at eu.domibus.core.scheduler.DomibusQuartzStarter.initialize(DomibusQuartzStarter.java:111)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:566)
            at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
            at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
            at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
            ... 115 common frames omitted
    Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: No database selected
            at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1538)
            at org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1527)
            at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)
            at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3800)
            at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1524)
            at org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1505)
            at org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508)
            at org.springframework.scheduling.quartz.SchedulerAccessor.addTriggerToScheduler(SchedulerAccessor.java:300)
            at org.springframework.scheduling.quartz.SchedulerAccessor.registerJobsAndTriggers(SchedulerAccessor.java:244)
            at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:507)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
            ... 136 common frames omitted
    Caused by: java.sql.SQLException: No database selected
            at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
            at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
            at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
            at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:972)
            at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
            at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
            at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1761)
            at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1536)
            ... 147 common frames omitted
    2023-06-21 09:02:30,994 [edelivery@localhost] [default] [] [] [main]  WARN o.s.w.c.s.SpringBeanAutowiringSupport:89 - Current WebApplicationContext is not available for processing of MetricsServletContextListener: Make sure this class gets constructed in a Spring web application after the Spring WebApplicationContext has been initialized. Proceeding without injection.
    2023-06-21 09:02:31,003 [edelivery@localhost] [default] [] [] [main]  WARN o.s.w.c.s.SpringBeanAutowiringSupport:89 - Current WebApplicationContext is not available for processing of HealthCheckServletContextListener: Make sure this class gets constructed in a Spring web application after the Spring WebApplicationContext has been initialized. Proceeding without injection.




    thanks

    1. we have some workaround, we had bad mysql connector - newest one, did not work, we downloaded this:
      
      https://jar-download.com/artifacts/mysql/mysql-connector-java/8.0.11/source-code
      
      copy here:
      
      /usr/share/tomcat/lib
      
      
      
      edit:
      
      /usr/share/tomcat/bin/setenv.sh
      
      
      
      
      
      #!/bin/sh
      
      #Please change CATALINA_HOME to the right folder
      
      #export CATALINA_HOME=<YOUR_INSTALLATION_PATH>
      
      #JAVA_OPTS="$JAVA_OPTS -Xms4096m -Xmx4096m -Ddomibus.config.location=$CATALINA_HOME/conf/domibus"
      
      export CATALINA_HOME="/usr/share/tomcat"
      
      export CATALINA_TMPDIR="/usr/share/tomcat/temp"
      
      export JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx1024m "
      
      export JAVA_OPTS="$JAVA_OPTS -Ddomibus.config.location=$CATALINA_HOME/conf/domibus"


      Domibus conf:
      
      vi /usr/share/tomcat/conf/domibus/domibus.properties

      #Database server name
      
      domibus.database.serverName=localhost
      
      
      
      #Database port
      
      domibus.database.port=3306
      
      
      
      #General schema. If uncommented Domibus will run in multi-tenancy mode.
      
      #domibus.database.general.schema=general_schema
      
      
      
      #Database schema.
      
      #Please comment this property when Domibus is configured in multi-tenancy mode.
      
      #Please comment this property when Domibus is configured in single tenancy mode with an Oracle database.
      
      domibus.database.schema=domibus
      
      
      
      #Non-XA Datasource
      
      #MySQL
      
      #Connector/J 8.0.x
      
      domibus.datasource.driverClassName=com.mysql.cj.jdbc.Driver
      
      
      
      domibus.datasource.url=jdbc:mysql://${domibus.database.serverName}:${domibus.database.port}/${domibus.database.schema}?useSSL=false&allowPublicKeyRetrieval=true&useLegacyDatetimeCode=false&serverTimezone=UTC


      we have used UTC time zone, when changing, be sure it works - look at domibus log

      now domibus is working