Acosix / alfresco-utility

Project to consolidate abstract utility features and enhancements / safe fixes that may be used by multiple Alfresco addons
Apache License 2.0
12 stars 11 forks source link

GenericJob: NoSuchMethodError #5

Closed phhoef closed 4 years ago

phhoef commented 4 years ago

When using the GenericJob with Alfresco 5 (5.2.6) the following exception raises during bootstrapping:

Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.JobDataMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

https://github.com/Acosix/alfresco-utility/blob/acdc01c4c9670d7dff4b1eebfc3b9aa08aec4230/core/repository/src/main/java/de/acosix/alfresco/utility/repo/job/GenericJobDetailsFactoryBean.java#L80

Same code/configuration is working fine on Alfresco 6.2 The problem can be fixed by either casting the String into Object or passing a Object[]

JOB_DATA_PUT_METHOD.invoke(this.getJobDataMap(), (Object) RELAY_JOB_CLASS_DATA_KEY, this.jobClass);

or

JOB_DATA_PUT_METHOD.invoke(this.getJobDataMap(), new Object[] { RELAY_JOB_CLASS_DATA_KEY, this.jobClass });
AFaust commented 4 years ago

I have tested this with the latest Community version of 5.2, and cannot reproduce this issue. Now it might be that Alfresco did some shoddy work in their Enterprise service packs that cause this - it has been known to occur.

AFaust commented 4 years ago

Even running in Alfresco 5.2.6 I cannot reproduce this particular issue. There is no incompatibility here. Might it be that there is some classpath corruption in your system, e.g. mixing of JARs of different Alfresco versions, e.g. having Quartz 2.x in an Alfresco 5.2.x system?

phhoef commented 4 years ago

Hi Axel,

Happy New Year!

I've tested it with a vanilla Alfresco 5.2.6 Enterprise installation and ran into the same problem. The only amp, I've applied, is the project which utilizes your alfresco-ulitity lib.

Here is the stack trace during bootstrap:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.replicateSapSchedulerAccessor' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Cannot create inner bean 'genericRfc.sap.system.1.jobs.genericRfcJobTrigger' of type [org.springframework.scheduling.quartz.CronTriggerFactoryBean] while setting bean property 'triggers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.jobs.genericRfcJobTrigger' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Cannot resolve reference to bean 'genericRfc.sap.system.1.replicateSapJobDetail' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.replicateSapJobDetail' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.JobDataMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:287)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:358)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:620)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5110)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:2002)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.jobs.genericRfcJobTrigger' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Cannot resolve reference to bean 'genericRfc.sap.system.1.replicateSapJobDetail' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.replicateSapJobDetail' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.JobDataMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
    ... 31 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRfc.sap.system.1.replicateSapJobDetail' defined in class path resource [alfresco/module/genericRfc-repo/jobs.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.JobDataMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    ... 37 more
Caused by: java.lang.NoSuchMethodError: org.quartz.JobDataMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    at de.acosix.alfresco.utility.repo.job.GenericJobDetailsFactoryBean.afterPropertiesSet(GenericJobDetailsFactoryBean.java:65)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
    ... 44 more

Is there anything else, I could test?

Thanks

AFaust commented 4 years ago

Can you create a simple test module (different from your actual, main module) that triggers this behaviour and provide it for further analysis? Though I don't yet see how or where, but there could be subtle differences between our specific test projects that we have not yet accounted for.

phhoef commented 4 years ago

Sure, I'll setup a small test project to reproduce the issue - presumably tomorrow.

phhoef commented 4 years ago

You can find the test project here: https://github.com/phhoef/genericJobTest

The project adds a job, that prints a debug log every minute.

The only specialty is, that I've created a custom FactoryBean to either create the org.alfresco.schedule.AlfrescoSchedulerAccessorBean or org.springframework.scheduling.quartz.SchedulerAccessorBean class depending of the Alfresco version. The FactoryBean introduces the enabled flag, which is not available in the quartz.SchedulerAccessorBean

AFaust commented 4 years ago

Strange - that module works perfectly fine in my environment. I am including my alfresco.log output as demonstration. As you can see from the log output, I am running Alfresco 5.2.6 (freshly set up Enterprise Trial) with alfresco-utility 1.1.0 (current snapshot), OOTBee Support Tools, JavaScript Console, JDK 1.8.0_231-b11 on Windows 10. The job runs succesfully and log output can be seen once I set the logger to debug via OOTBee Support Tools.

2020-01-10 14:21:18,915 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2020-01-10 14:21:19,290 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2020-01-10 14:21:25,810 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2020-01-10 14:21:25,850 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2020-01-10 14:21:26,476 INFO  [org.orderofthebee.addons.support.tools.repo.config.PropertyBackedBeanPersister] [localhost-startStop-1] OOTBee Support Tools - PropertyBackedBeanPersister may conflict with JMX support in Enterprise Edition and will not be enabled
2020-01-10 14:21:27,334 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2020-01-10 14:21:27,342 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2020-01-10 14:21:34,555 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2020-01-10 14:21:34,619 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2020-01-10 14:21:34,947 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbc:postgresql://localhost:5432/alf52, UserName=alf52, PostgreSQL JDBC Driver
2020-01-10 14:21:34,947 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
2020-01-10 14:21:35,171 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 85 potential problems, results written to: C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-alf_-4567599211756232313.txt
2020-01-10 14:21:35,191 WARN  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 26 potential problems, results written to: C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-PostgreSQLDialect-Validation-Pre-Upgrade-act_-256654547624154075.txt
2020-01-10 14:21:35,331 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-schema-PostgreSQLDialect-pre-upgrade-alf_-4170777949507761430.xml.
2020-01-10 14:21:35,331 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-schema-PostgreSQLDialect-pre-upgrade-act_-2355221172208999582.xml.
2020-01-10 14:21:35,365 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-6283648946002490621.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-RepoTables.sql).
2020-01-10 14:21:36,077 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-8662060594072808388.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-LockTables.sql).
2020-01-10 14:21:36,127 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-7935156933306562461.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ContentTables.sql).
2020-01-10 14:21:36,254 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-9133536756953666184.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-PropertyValueTables.sql).
2020-01-10 14:21:36,466 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-8907309378936391817.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ContentUrlEncryptionTables.sql).
2020-01-10 14:21:36,512 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-6072161839344732119.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-AuditTables.sql).
2020-01-10 14:21:36,612 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-7294098350994112288.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-ActivityTables.sql).
2020-01-10 14:21:36,719 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-1479837325433866552.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-UsageTables.sql).
2020-01-10 14:21:36,750 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-1845074296015836602.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-SubscriptionTables.sql).
2020-01-10 14:21:36,774 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-3860081755913662854.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-TenantTables.sql).
2020-01-10 14:21:36,799 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Executing database script C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-Update-2319945114035016086.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/AlfrescoCreate-AuthorizationTables.sql).
2020-01-10 14:21:36,852 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Create scripts executed in 1808 ms
2020-01-10 14:21:38,261 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] All executed statements:  C:\alf-instances\Alfresco 52\repository\temp\Alfresco\AlfrescoSchema-PostgreSQLDialect-All_Statements-5116362245454165474.sql.
2020-01-10 14:21:39,657 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ALF.xml]
2020-01-10 14:21:40,331 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/Schema-Reference-ACT.xml]
2020-01-10 14:21:42,033 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-schema-PostgreSQLDialect-post-upgrade-alf_-7606910756766140910.xml.
2020-01-10 14:21:42,033 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Normalized schema dumped to file C:\alf-instances\Alfresco 52\repository\temp\Alfresco\Alfresco-schema-PostgreSQLDialect-post-upgrade-act_-8925961582211870430.xml.
2020-01-10 14:21:42,543 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Search' subsystem, ID: [Search, managed, solr6]
2020-01-10 14:21:43,219 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Search' subsystem, ID: [Search, managed, solr6] complete
2020-01-10 14:21:55,952 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco license: Creating time limited trial license
2020-01-10 14:21:56,220 INFO  [org.alfresco.enterprise.repo.sync.SyncAdminServiceImpl] [localhost-startStop-1] There is no key for cloud sync, cloud sync turned off
2020-01-10 14:21:56,237 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2020-01-10 14:21:56,662 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2020-01-10 14:21:56,662 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2020-01-10 14:21:56,766 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
2020-01-10 14:21:57,182 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
2020-01-10 14:21:57,280 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] [localhost-startStop-1] Bootstrap command failed: 
Execution result: 
   os:         Windows 10
   command:    soffice -accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///F:/AlfrescoContent/Alfresco%2052/data/oouser -headless -nocrashreport -nofirststartwizard -nologo -norestore
   succeeded:  false
   exit code:  2
   out:        
   err:        Cannot run program "soffice": CreateProcess error=2, The system cannot find the file specified
2020-01-10 14:22:01,376 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2020-01-10 14:22:01,379 WARN  [org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap] [localhost-startStop-1] License does not permit clustering: clustering is disabled.
2020-01-10 14:22:01,390 INFO  [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] The root data directory ('dir.root') is: F:\AlfrescoContent\Alfresco 52\data
2020-01-10 14:22:01,423 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...
2020-01-10 14:22:01,580 WARN  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Patch description is not available: Patch[ id=patch.contentFormFolderType, description=patch.contentFormFolderType.description, fixesFromSchema=0, fixesToSchema=36, targetSchema=37, ignored=false]
2020-01-10 14:22:01,614 WARN  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Patch description is not available: Patch[ id=patch.redeploySubmitProcess, description=patch.redeploySubmitProcess.description, fixesFromSchema=0, fixesToSchema=57, targetSchema=58, ignored=false]
2020-01-10 14:22:02,198 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1]     Applying patch 'patch.exampleJavaScript' (Loads sample Javascript file into datadictionary scripts folder).
2020-01-10 14:22:02,341 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1]     Applying patch 'patch.siteLoadPatch.swsdp' (Loads a sample site into the repository.).
2020-01-10 14:22:08,893 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.db-V3.4-UsageTables
RESULT: 
Script completed
=====================================
2020-01-10 14:22:08,893 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.db-V4.0-TenantTables
RESULT: 
Script completed
=====================================
2020-01-10 14:22:08,893 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.db-V4.1-AuthorizationTables
RESULT: 
Script completed
=====================================
2020-01-10 14:22:08,893 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.db-V5.0-ContentUrlEncryptionTables
RESULT: 
Script completed
=====================================
2020-01-10 14:22:08,894 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.exampleJavaScript
RESULT: 
Imported view into bootstrap location: /app:company_home/app:dictionary/app:scripts (workspace://SpacesStore/3b1b04a5-454d-421e-8e82-4483191c2628)
=====================================
2020-01-10 14:22:08,894 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 
=== Applied patch                 === 
ID: patch.siteLoadPatch.swsdp
RESULT: 
Site swsdp imported.
=====================================
2020-01-10 14:22:08,935 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 6 module package(s).
2020-01-10 14:22:08,972 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'ootbee-support-tools-repo' version 1.1.0.0.9999999999.
2020-01-10 14:22:08,998 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'de.fme.alfresco.JavascriptConsole-repo' version 0.6.1604291213.
2020-01-10 14:22:09,020 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'alfresco-share-services' version 5.2.6.
2020-01-10 14:22:09,039 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'acosix-utility-core' version 1.1.0.
2020-01-10 14:22:09,059 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'alfresco-trashcan-cleaner' version 2.2.
2020-01-10 14:22:09,074 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Installing module 'genericJobTest-repo' version 1.2.1.
2020-01-10 14:22:09,092 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1] java.lang.UnsatisfiedLinkError: no Win32NetBIOSx64 in java.library.path
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.lang.Runtime.loadLibrary0(Runtime.java:870)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.lang.System.loadLibrary(System.java:1122)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.jlan.netbios.win32.Win32NetBIOS.<clinit>(Win32NetBIOS.java:834)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:637)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.filesys.AbstractServerConfigurationBean.getLocalServerName(AbstractServerConfigurationBean.java:597)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:280)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:460)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:790)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:569)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:958)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:824)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:1098)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:637)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:214)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:958)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4817)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5283)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1]     at java.lang.Thread.run(Thread.java:748)
2020-01-10 14:22:09,753 ERROR [org.alfresco.fileserver] [localhost-startStop-1] Error accessing Win32 NetBIOS, check DLL is on the path
2020-01-10 14:22:09,754 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2020-01-10 14:22:09,754 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
2020-01-10 14:22:09,915 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete
2020-01-10 14:22:09,915 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, outbound]
2020-01-10 14:22:10,095 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, outbound] complete
2020-01-10 14:22:10,095 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, inbound]
2020-01-10 14:22:10,378 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, inbound] complete
2020-01-10 14:22:10,378 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2020-01-10 14:22:10,425 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2020-01-10 14:22:10,446 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2020-01-10 14:22:10,589 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2020-01-10 14:22:10,605 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.8.0_231-b11; maximum heap size 4096.000MB
2020-01-10 14:22:10,605 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco license: Mode ENTERPRISE, NO CLUSTER granted to Trial User limited to 30 days expiring Sun Feb 09 00:00:00 CET 2020 (30 days remaining).
2020-01-10 14:22:10,605 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN
2020-01-10 14:22:10,614 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco Content Services started (Enterprise). Current version: 5.2.6 (rb278f6ec-b18) schema 10,090. Originally installed version: 5.2.6 (rb278f6ec-b18) schema 10,090.
2020-01-10 14:22:10,623 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2020-01-10 14:22:11,073 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2020-01-10 14:22:11,331 INFO  [org.alfresco.enterprise.repo.authorization.AuthorizationService] [localhost-startStop-1] Preauthorized user: admin
2020-01-10 14:22:11,334 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2020-01-10 14:22:11,361 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2020-01-10 14:22:28,217 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 565 Web Scripts (+0 failed), 746 URLs
2020-01-10 14:22:28,218 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed) 
2020-01-10 14:22:28,218 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:36,880 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 565 Web Scripts (+0 failed), 746 URLs
2020-01-10 14:22:36,881 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 1 Package Description Documents (+0 failed) 
2020-01-10 14:22:36,881 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:36,888 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Repository Web Script Container (in 23264.947ms)
2020-01-10 14:22:36,947 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2020-01-10 14:22:36,949 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2020-01-10 14:22:45,048 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 565 Web Scripts (+0 failed), 746 URLs
2020-01-10 14:22:45,048 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed) 
2020-01-10 14:22:45,048 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:45,362 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2020-01-10 14:22:45,362 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed) 
2020-01-10 14:22:45,362 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:45,460 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 13 Web Scripts (+0 failed), 102 URLs
2020-01-10 14:22:45,460 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Package Description Documents (+0 failed) 
2020-01-10 14:22:45,460 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:45,467 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Public Api Web Script Container (in 8457.66ms)
2020-01-10 14:22:45,514 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2020-01-10 14:22:45,514 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed) 
2020-01-10 14:22:45,514 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed) 
2020-01-10 14:22:46,302 WARN  [org.alfresco.web.scripts.servlet.X509ServletFilterBase] [localhost-startStop-1] clientAuth does not appear to be set for Tomcat. clientAuth must be set to 'want' for X509 Authentication
2020-01-10 14:22:46,302 WARN  [org.alfresco.web.scripts.servlet.X509ServletFilterBase] [localhost-startStop-1] Attempting to set clientAuth=want through JMX...
2020-01-10 14:22:46,448 WARN  [org.alfresco.web.scripts.servlet.X509ServletFilterBase] [localhost-startStop-1] Unable to set clientAuth=want through JMX.
2020-01-10 14:31:00,010 DEBUG [com.ph.repo.jobs.GenericJob] [DefaultScheduler_Worker-3] Executing Generic Job Test
2020-01-10 14:31:01,673 DEBUG [com.ph.repo.jobs.GenericJob] [DefaultScheduler_Worker-2] Executing Generic Job Test
phhoef commented 4 years ago

That's weird. I tested it with a freshly installed Alfresco Content Services 5.2.6 Enterprise installation in trial mode without any additional module installed - except the default ones, plus the test module. I didn't install the alfresco-utility module amp, but added just the Maven dependency to my module project. Can this make a difference?

The Alfresco instance is running on a Ubuntu 18.04.3 LTS x64 machine. I think Alfresco uses the bundled JRE (Java(TM) SE Runtime Environment (build 1.8.0_131-b11)).

It seems that an additional system-wide JRE has been installed (Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode))

Do you have an idea how I can isolate the problem? If you like, I can provide access to my dev machine.

AFaust commented 4 years ago

For this case, it should not make a difference whether you installed alfresco-utility-core properly via AMP or via dependencies - at least the Quartz related stuff does not rely on any configuration that you will not include by only including the regular JARs. Most configuration included in the core module only relates to abstract beans (thus not instantiated, unless extended in dependent modules) and a couple custom web scripts (improved content / dowload handling, specifically around thumbnail + renditions).

I personally never used the Alfresco default installer to set up a system, so don't know if that might have some "hidden" nuggets to break this. Having access to the dev machine might indeed help at this point.

AFaust commented 4 years ago

Turns out, this issue was caused by using a dev 1.0.8.0 SNAPSHOT build of the module, which did not include the commit https://github.com/Acosix/alfresco-utility/commit/acdc01c4c9670d7dff4b1eebfc3b9aa08aec4230 - since version 1.0.8.0 was released a day after this commit, there was no newer SNAPSHOT build. So in fact, this issue has already been resolved by https://github.com/Acosix/alfresco-utility/commit/acdc01c4c9670d7dff4b1eebfc3b9aa08aec4230 and no further action is required.