AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

cancel
Showing results for 
Search instead for 
Did you mean: 
ValentinLeblanc
Active Member

AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

Hello,

 

I just created a project from the All-in-one maven Alfresco Archetype (org.alfresco.maven.archetype:alfresco-allinone-archetype version 4.4.0) with Alfresco content services and share 7.2.0

But when I start it, I get the following exceptions logged : 

 

test-acs_1       | 19-Apr-2022 13:04:29.349 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
test-acs_1       | 19-Apr-2022 13:04:29.359 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [34952] milliseconds
test-ass_1       | 2022-04-19 13:04:29.621 ERROR (searcherExecutor-21-thread-1-processing-x:alfresco) [   x:alfresco] o.a.s.t.AbstractTracker Model tracking failed for core: archive
test-ass_1       | org.alfresco.error.AlfrescoRuntimeException: 03190000 archive GetModelsDiff return status is 403
test-ass_1       | 	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:271)
test-ass_1       | 	at org.alfresco.solr.lifecycle.SolrCoreLoadRegistration.registerForCore(SolrCoreLoadRegistration.java:110)
test-ass_1       | 	at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:44)
test-ass_1       | 	at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
test-ass_1       | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
test-ass_1       | 	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
test-ass_1       | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
test-ass_1       | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
test-ass_1       | 	at java.lang.Thread.run(Thread.java:748)
test-ass_1       | 2022-04-19 13:04:30.016 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@29a5f4e7_Worker-3) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
test-ass_1       | org.alfresco.error.AlfrescoRuntimeException: 03190001 api/solr/aclchangesets return status:403
test-ass_1       | 	at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:169)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
test-ass_1       | 	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215)
test-ass_1       | 	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
test-ass_1       | 	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
test-ass_1       | 	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
test-ass_1       | 2022-04-19 13:04:30.018 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@29a5f4e7_Worker-1) [   ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
test-ass_1       | org.alfresco.error.AlfrescoRuntimeException: 03190002 archive GetModelsDiff return status is 403
test-ass_1       | 	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
test-ass_1       | 	at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
test-ass_1       | 	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215)
test-ass_1       | 	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
test-ass_1       | 	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
test-ass_1       | 	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
test-ass_1       | 2022-04-19 13:04:30.018 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@29a5f4e7_Worker-2) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
test-ass_1       | org.alfresco.error.AlfrescoRuntimeException: 03190003 api/solr/aclchangesets return status:403
test-ass_1       | 	at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:169)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
test-ass_1       | 	at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
test-ass_1       | 	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215)
test-ass_1       | 	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
test-ass_1       | 	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
test-ass_1       | 	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

The services are available but I would like to get rid of these exeptions at the start of the application.

Can anyone help ? Thank you !

5 Replies
abhinavmishra14
Advanced

Re: AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

This error indicates the possibility of error on repository side or alfresco would have crashed. Tail the logs start from begening and see if you can locate any errors. Also make sure enough memory is allocated to run all the containers at least minimum 13GB. Minimum 13GB or more, memory is required depending on the memory limits set in the docker compose file. 

Can you run following commands and share what you see?

To see what all containers running:

docker ps

OR To see all containers including the exited containers:

docker ps -a
Check resources:

docker stats

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
angelborroy
Alfresco Employee

Re: AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

The problem is that ACS 7.2.0 has deprecated "none" communication between Repo and Solr.

You need to configure the "secret" mode in provided "docker-compose.yml".

We'll fix this problem in future releases.

Hyland Developer Evangelist
ValentinLeblanc
Active Member

Re: AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

I have two errors actually before that

becpg-artworks-acs_1       | 2022-04-20 09:38:48,994  INFO  [domain.schema.SchemaBootstrap] [main] Ignoring script patch (post-Hibernate): patch.db-V7.1.0-remove-alf_server-table
becpg-artworks-acs_1       | log4j:ERROR setFile(null,true) call failed.
becpg-artworks-acs_1       | java.io.FileNotFoundException: alfresco.log (Permission denied)
becpg-artworks-acs_1       | 	at java.base/java.io.FileOutputStream.open0(Native Method)
becpg-artworks-acs_1       | 	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
becpg-artworks-acs_1       | 	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
becpg-artworks-acs_1       | 	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:158)
becpg-artworks-acs_1       | 	at org.apache.log4j.FileAppender.setFile(FileAppender.java:282)
becpg-artworks-acs_1       | 	at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:166)
becpg-artworks-acs_1       | 	at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)
becpg-artworks-acs_1       | 	at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:284)
becpg-artworks-acs_1       | 	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:160)
becpg-artworks-acs_1       | 	at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:100)
becpg-artworks-acs_1       | 	at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:802)
becpg-artworks-acs_1       | 	at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:738)
becpg-artworks-acs_1       | 	at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:630)
becpg-artworks-acs_1       | 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
becpg-artworks-acs_1       | 	at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:454)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
becpg-artworks-acs_1       | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.Log4JHierarchyInit.importLogSettings(Log4JHierarchyInit.java:119)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.Log4JHierarchyInit.init(Log4JHierarchyInit.java:103)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
becpg-artworks-acs_1       | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.lambda$invokeCustomInitMethod$7(AbstractAutowireCapableBeanFactory.java:1920)
becpg-artworks-acs_1       | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1919)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1872)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
becpg-artworks-acs_1       | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
becpg-artworks-acs_1       | 	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:149)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:139)
becpg-artworks-acs_1       | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:696)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
becpg-artworks-acs_1       | 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
becpg-artworks-acs_1       | 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
becpg-artworks-acs_1       | 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)

and 

becpg-artworks-acs_1       |  2022-04-20 09:38:57,250  ERROR [repo.admin.ConfigurationChecker] [main] Ensure that the 'dir.root' property './alf_data' is pointing to the correct data location.
becpg-artworks-acs_1       |  2022-04-20 09:38:57,254  ERROR [web.context.ContextLoader] [main] Context initialization failed
becpg-artworks-acs_1       |  org.alfresco.error.AlfrescoRuntimeException: 03200018 Ensure that the 'dir.root' property './alf_data' is pointing to the correct data location.
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:212)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.ConfigurationChecker.access$0(ConfigurationChecker.java:167)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.ConfigurationChecker$1$1.doWork(ConfigurationChecker.java:155)
becpg-artworks-acs_1       | 	at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:602)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:151)
becpg-artworks-acs_1       | 	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
becpg-artworks-acs_1       | 	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:338)
becpg-artworks-acs_1       | 	at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:161)
becpg-artworks-acs_1       | 	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
becpg-artworks-acs_1       | 	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:232)
becpg-artworks-acs_1       | 	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:197)
becpg-artworks-acs_1       | 	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:217)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
becpg-artworks-acs_1       | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
becpg-artworks-acs_1       | 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
becpg-artworks-acs_1       | 	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:149)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:139)
becpg-artworks-acs_1       | 	at java.base/java.security.AccessController.doPrivileged(Native Method)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:696)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
becpg-artworks-acs_1       | 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
becpg-artworks-acs_1       | 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
becpg-artworks-acs_1       | 	at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
becpg-artworks-acs_1       | 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
becpg-artworks-acs_1       | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
becpg-artworks-acs_1       | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
ValentinLeblanc
Active Member

Re: AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

How can I configure this secret mode in docker-compose.yml ? 

I already added

solr.secureComms=secret
solr.sharedSecret=secret


in the alfresco-global.properties file located in XXX-platform-docker/src/main/docker

This is the results I get from the commands :

docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c40142c4175a alfresco-content-services-test:development "catalina.sh run -se…" 19 hours ago Up 19 hours 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 8000/tcp, 10001/tcp, 0.0.0.0:8888->8888/tcp, :::8888->8888/tcp docker_test-acs_1
db403e195853 postgres:9.6 "docker-entrypoint.s…" 19 hours ago Up 19 hours 0.0.0.0:5555->5432/tcp, :::5555->5432/tcp docker_test-postgres_1
effca6833ace alfresco/alfresco-activemq:5.16.1 "/bin/sh -c './init.…" 19 hours ago Up 19 hours 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 0.0.0.0:8161->8161/tcp, :::8161->8161/tcp, 0.0.0.0:61613->61613/tcp, :::61613->61613/tcp, 0.0.0.0:61616->61616/tcp, :::61616->61616/tcp docker_test-activemq_1
fe68dd22512c alfresco/alfresco-search-services:1.2.0 "/bin/sh -c '$DIST_D…" 19 hours ago Up 19 hours 0.0.0.0:8983->8983/tcp, :::8983->8983/tcp docker_test-ass_1
b1efe4383f93 alfresco-share-test:development "/usr/local/tomcat/s…" 19 hours ago Up 19 hours 8000/tcp, 0.0.0.0:8180->8080/tcp, :::8180->8080/tcp, 0.0.0.0:9898->8888/tcp, :::9898->8888/tcp docker_test-share_1

docker stats

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
c40142c4175a docker_test-acs_1 0.55% 1.303GiB / 15.37GiB 8.47% 174MB / 231MB 17.5MB / 0B 112
db403e195853 docker_test-postgres_1 0.00% 57.57MiB / 15.37GiB 0.37% 223MB / 172MB 3.9MB / 2GB 16
effca6833ace docker_test-activemq_1 0.24% 210.9MiB / 15.37GiB 1.34% 153kB / 0B 2.94MB / 59.6MB 59
fe68dd22512c docker_test-ass_1 0.47% 424.7MiB / 15.37GiB 2.70% 7.91MB / 1.71MB 864kB / 201kB 94
b1efe4383f93 docker_test-share_1 0.17% 622.6MiB / 15.37GiB 3.95% 153kB / 0B 12.2MB / 24.6kB 46


Thank you!

sanjaybandhniya
Intermediate

Re: AlfrescoRuntimeException from All-in-one Alfresco 7.2.0

Hi,

is this issue resolved?

Where I need to add those parameter?