The Alfresco Process Services SDK based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your APS integration and extension projects
Elasticsearch 7.14.0 included in APS 2.1.0 seems to have a different order or different dependencies structure: 06:54:58 [main] ERROR org.springframework.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@733a6500] to prepare test instance [org.alfresco.activiti.unit.tests.FourEyesTest@3c4584e1] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:81) at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:66) at org.testng.TestRunner$1.run(TestRunner.java:672) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:871) at org.testng.TestRunner.privateRunJUnit(TestRunner.java:701) at org.testng.TestRunner.run(TestRunner.java:594) at org.testng.SuiteRunner.runTest(SuiteRunner.java:377) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332) at org.testng.SuiteRunner.run(SuiteRunner.java:276) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212) at org.testng.TestNG.runSuitesLocally(TestNG.java:1134) at org.testng.TestNG.runSuites(TestNG.java:1063) at org.testng.TestNG.run(TestNG.java:1031) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:198) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticsearchRestHighLevelClient' defined in class path resource [org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchRestClientConfigurations$RestHighLevelClientConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticsearch.client.RestHighLevelClient]: Factory method 'elasticsearchRestHighLevelClient' threw exception; nested exception is java.lang.NoClassDefFoundError: org/elasticsearch/common/CheckedConsumer at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) 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:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 47 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticsearch.client.RestHighLevelClient]: Factory method 'elasticsearchRestHighLevelClient' threw exception; nested exception is java.lang.NoClassDefFoundError: org/elasticsearch/common/CheckedConsumer at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ... 65 common frames omitted Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/common/CheckedConsumer at org.elasticsearch.client.RestHighLevelClient.<init>(RestHighLevelClient.java:283) at org.elasticsearch.client.RestHighLevelClient.<init>(RestHighLevelClient.java:275) at org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations$RestHighLevelClientConfiguration.elasticsearchRestHighLevelClient(ElasticsearchRestClientConfigurations.java:108) 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.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ... 66 common frames omitted Caused by: java.lang.ClassNotFoundException: org.elasticsearch.common.CheckedConsumer at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 74 common frames omitted
We currently have an issue when we build from scratch the Docker Volume related to the file content store of APS.
Due to the change of the user in the Docker containers provided by Alfresco, in recent releases the container is running with the alfresco user but the /act_data folder is built using the root user.
It could be useful to introduce the management of an internal smtp server to test the emails.
For example using subethamail. It should start when you start the unit test and it should be down at the end of the test.
Trying to execute integration tests returns the following error: Caused by: java.lang.NoClassDefFoundError: org/mockito/codegen/EmailTemplateService$MockitoMock$22412768 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) 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.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:554) ... 226 common frames omitted Caused by: java.lang.ClassNotFoundException: org.mockito.codegen.EmailTemplateService$MockitoMock$22412768 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 233 common frames omitted
It seems that the upgrade of SpringBoot 2 included in APS 2.x is braking something with Junit and Mockito.
Need more investigation...
Due to the lack of uploading apps using the generated swagger client and the APS API Explorer, we need to manually implement an importer class. This will help to execute integration tests for applications not yet present in APS.
Compiling Java code with versions newer than 8 and using the Docker images provided by Alfresco is returning error due to the wrong version of Java compiled code for the extensions module.
Probably it's better to add a Docker Compose template to mount a Docker volume.
In this way we can keep informations in the contentstore and database for development purpose.
Trying to add Aspose license Maven returns the following error, probably we need to filter resources with .lic extension:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources (copy-and-filter-docker-resources) on project activiti-app-overlay-docker: Input length = 1 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:copy-resources (copy-and-filter-docker-resources) on project activiti-app-overlay-docker: Input length = 1 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Input length = 1 at org.apache.maven.plugins.resources.ResourcesMojo.execute (ResourcesMojo.java:362) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.shared.filtering.MavenFilteringException: Input length = 1 at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile (DefaultMavenFileFilter.java:113) at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources (DefaultMavenResourcesFiltering.java:262) at org.apache.maven.plugins.resources.ResourcesMojo.execute (ResourcesMojo.java:356) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.nio.charset.MalformedInputException: Input length = 1 at java.nio.charset.CoderResult.throwException (CoderResult.java:274) at sun.nio.cs.StreamDecoder.implRead (StreamDecoder.java:339) at sun.nio.cs.StreamDecoder.read (StreamDecoder.java:178) at java.io.InputStreamReader.read (InputStreamReader.java:181) at java.io.BufferedReader.read1 (BufferedReader.java:210) at java.io.BufferedReader.read (BufferedReader.java:287) at java.io.BufferedReader.fill (BufferedReader.java:161) at java.io.BufferedReader.read (BufferedReader.java:182) at org.apache.maven.shared.filtering.BoundedReader.read (BoundedReader.java:85) at org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding.read (MultiDelimiterInterpolatorFilterReaderLineEnding.java:235) at org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding.read (MultiDelimiterInterpolatorFilterReaderLineEnding.java:197) at java.io.Reader.read (Reader.java:229) at org.apache.maven.shared.utils.io.IOUtil.copy (IOUtil.java:199) at org.apache.maven.shared.utils.io.IOUtil.copy (IOUtil.java:181) at org.apache.maven.shared.utils.io.FileUtils.copyFile (FileUtils.java:1908) at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile (DefaultMavenFileFilter.java:98) at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources (DefaultMavenResourcesFiltering.java:262) at org.apache.maven.plugins.resources.ResourcesMojo.execute (ResourcesMojo.java:356) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
I think we can remove the activiti-integrationtests.properties from the aps-extensions-jar project because it is not used since it has been moved to activiti-app-integration-tests
Need to open a JPDA port to let the debug through JPDA starting by the customization of the Dockerfile from tomcat:9.0.56-jdk11-openjdk in the activiti-app-overlay-docker project customizing the CMD ["catalina.sh" "run"] line
APS Admin App should be deployed only when needed.
It would be great to have a specific activiti-admin Maven profile in order to deploy the overall containers.
The default behavior will be building and deploying only the Activiti App containers, this will make development and testing of extensions easier and faster.
We need to add a new Maven profile for managing the build of Arm64 images.
The reason for this is to have faster building and running environment for any developer currently using a Apple Silicon M1 architecture.
Trying to deploy Activiti Admin 2.1.0 with amd64/x86 CPUs is using Tomcat 10 inside the Docker image provided by Alfresco.
We need to replace also this Dockerfile for Activiti Admin 2.1.0 for amd64/x86.
This is a temporary solution that will be replaced by the official Docker images provided by Alfresco.
I have license at ./activiti-app-overlay-docker/src/main/docker/license/activiti.lic but it does not appear to be getting copied into the Docker container. Where does activiti.lic need to be? i don't see what is copying it to: /root/.activiti/enterprise-license/activiti.lic
(below error message)
Trying to load license from user home /root/.activiti/enterprise-license/activiti.lic
thanks for creating this promising SDK project! I'm currently evaluating it and I have a question regarding to deploy a process definition.
Is it possible to automatically deploy a bpmn model placed in /aps-extensions-jar/src/main/resources/apps?
I copied the 4-eyes app from test resources to main resources but it is not automatically deployed. Or do I misunderstand the documentation?
I also found this community question and I'm wondering if I need to implement the "auto deployer" by myself? https://hub.alfresco.com/t5/alfresco-process-services/how-to-auto-deploy-a-bpmn-model-to-aps/td-p/226253
It would be great to install APS Apps in the Maven repository, in this way it will be possible to use it directly in the integration test module in order to upload apps before executing tests.
After importing the project Eclipse show a problem to resolve with Maven related to the maven-ant-run plugin in the Extensions JAR pom.xml. We need to add Eclipse Lifecycle Mapping.
The LicenseService doesn't have any way to configure the license location, so we should find a way to put APS license and Aspose license in a unique location and then used by unit and integration tests.
This issue was created due to #39 and it seems that this problem can probably be annoying for a lot of people.
Hi,
I have tested the new branch 2.x of the SDK on 2.1 and 2.2 and I always got a license error for the unit test.
The same license works with the docker container and with the master branch.
this is the trace of the error :
09:38:05 [main] INFO org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl - Executing configure() of class com.alfresco.process.engine.cfg.AlfrescoProcessEngineConfigurator (priority:0)
09:38:05 [main] INFO com.alfresco.license.LicenseHolder - Using custom license loader to load license
09:38:06 [main] INFO com.alfresco.license.LicenseHolder - Trying to load license from user home C:\Users\Bluexml.activiti\enterprise-license\activiti.lic
09:38:06 [main] ERROR com.alfresco.license.LicenseHolder - License file could not be validated:
com.alfresco.license.LicenseException: Expected holder info is not present
at com.alfresco.license.LicenseHolder.validateLicense(LicenseHolder.java:100)
at com.alfresco.license.LicenseHolder.isLicenseValid(LicenseHolder.java:72)
at com.alfresco.license.LicenseHolder.verifyLicense(LicenseHolder.java:85)
at com.alfresco.process.engine.cfg.AlfrescoProcessEngineConfigurator.configure(AlfrescoProcessEngineConfigurator.java:32)
We have to embed the logging configuration in the WAR module because it is not enabled using the Tomcat classpath anymore. This for both APS SDK 1.x and 2.x
How can we modify and overwrite values in the war that's build via mvn clean install?
For example, we want to modify the beans-whitelist.conf that's part of the activiti-app.war. /activiti-app-overlay-war/overlays/com.activiti.activiti-app-1.11.0/WEB-INF/classes/activiti/beans-whitelist.conf
Double declaration of maven-dependency-plugin and maven-resources-plugin should be merged in a unique declaration in the activiti-app-overlay-docker pom.xml.
Trying to execute just the package command for artifacts, if Maven detects arm64/M1 CPUs executes also the Docker build process. It would be nice to avoid this for executing just mvn clean package command.
During the first execution of the build in both APS SDK 1.x and 2.x the sdk is returning error due to the lack of license files in the propagated license folders.
Great suggestion by @binduwavell to create a dedicated CLI for APS.
This could be useful to install apps on different enviroments but also to grab useful informations from the APS instance.
aps-admin> 08:47:48 [main] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/activiti/conf/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> 08:47:48 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
aps-admin> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/activiti/conf/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
aps-admin> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
aps-admin> at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
aps-admin> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
aps-admin> at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
aps-admin> at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:175)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:155)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:97)
aps-admin> at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:174)
aps-admin> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5219)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
aps-admin> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
aps-admin> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
aps-admin> at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
aps-admin> at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
aps-admin> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
aps-admin> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
aps-admin> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
aps-admin> at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
aps-admin> at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
aps-admin> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
aps-admin> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
aps-admin> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
aps-admin> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
aps-admin> at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
aps-admin> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
aps-admin> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
aps-admin> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
aps-admin> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
aps-admin> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
aps-admin> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
aps-admin> at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
aps-admin> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
aps-admin> at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
aps-admin> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
aps-admin> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
aps-admin> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
aps-admin> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
aps-admin> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
aps-admin> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
aps-admin> Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:271)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
aps-admin> ... 59 common frames omitted
aps-admin> Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
aps-admin> at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
aps-admin> at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:266)
aps-admin> ... 61 common frames omitted
aps-admin> Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
aps-admin> ... 63 common frames omitted
aps-admin> Caused by: java.sql.SQLException: No suitable driver
aps-admin> at java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298)
aps-admin> at com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:285)
aps-admin> at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
aps-admin> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
aps-admin> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
aps-admin> at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
aps-admin> 15-Apr-2022 08:47:48.919 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/usr/local/tomcat/webapps/activiti-admin]
aps-admin> java.lang.IllegalStateException: Error starting child
aps-admin> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
aps-admin> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
aps-admin> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
aps-admin> at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
aps-admin> at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
aps-admin> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
aps-admin> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
aps-admin> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
aps-admin> at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
aps-admin> at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
aps-admin> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
aps-admin> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
aps-admin> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
aps-admin> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
aps-admin> at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
aps-admin> at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
aps-admin> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
aps-admin> at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
aps-admin> at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
aps-admin> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
aps-admin> at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
aps-admin> at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
aps-admin> at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
aps-admin> at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
aps-admin> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
aps-admin> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
aps-admin> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
aps-admin> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
aps-admin> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
aps-admin> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
aps-admin> Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/activiti-admin]]
aps-admin> at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
aps-admin> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
aps-admin> ... 37 more
aps-admin> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/activiti/conf/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
aps-admin> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
aps-admin> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
aps-admin> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
aps-admin> at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
aps-admin> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
aps-admin> at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
aps-admin> at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:175)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:155)
aps-admin> at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:97)
aps-admin> at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:174)
aps-admin> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5219)
aps-admin> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
aps-admin> ... 38 more
aps-admin> Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:271)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
aps-admin> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
aps-admin> ... 59 more
aps-admin> Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
aps-admin> at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
aps-admin> at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
aps-admin> at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:266)
aps-admin> ... 61 more
aps-admin> Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
aps-admin> ... 63 more
aps-admin> Caused by: java.sql.SQLException: No suitable driver
aps-admin> at java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298)
aps-admin> at com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:285)
aps-admin> at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
aps-admin> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
aps-admin> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
aps-admin> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
aps-admin> at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
aps-admin> at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)