ArkCase / arkcase-ce

Packer configuration and Ansible plays to create a Vagrant virtual machine with services required to run ArkCase.
16 stars 17 forks source link

Invalid environment assignment #462

Open TheMindFlayer opened 2 years ago

TheMindFlayer commented 2 years ago

Hi, i have installed arkcase-ce following "How to Create a New VM and Install ArkCase Yourself", but i get this error

`[vagrant@arkcase-ce ~]$ sudo systemctl -l status config-server ● config-server.service - ArkCase Config Server Loaded: loaded (/etc/systemd/system/config-server.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2022-08-09 11:59:58 UTC; 4min 45s ago Main PID: 515 (config-server.j) CGroup: /system.slice/config-server.service ├─515 /bin/bash /opt/arkcase/app/config-server/config-server.jar └─556 /usr/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -Dserver.port=9999 -Djava.net.preferIPv4Stack=true -Dacm.activemq.keystore=/opt/arkcase/common/arkcase.ks -Dacm.activemq.keystore-password=@rKc@3e -Dacm.activemq.truststore=/opt/arkcase/common/arkcase.ts -Dacm.activemq.truststore-password=@rKc@3e -Djavax.net.ssl.trustStorePassword=@rKc@3e -Djavax.net.ssl.keyStore=/opt/arkcase/common/arkcase.ks -Djavax.net.ssl.trustStore=/opt/arkcase/common/arkcase.ts -Djavax.net.ssl.keyStorePassword=@rKc@3e -Dspring.activemq.broker-url=ssl://arkcase-ce.local:61616 -Dacm.activemq.broker-url=ssl://arkcase-ce.local:61616 -jar /opt/arkcase/app/config-server/config-server.jar

Aug 09 12:02:26 arkcase-ce.local config-server[515]: 2022-08-09 12:02:26.719 INFO 556 --- [nio-9999-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4785c4d2: startup date [Tue Aug 09 12:02:26 UTC 2022]; root of context hierarchy Aug 09 12:02:49 arkcase-ce.local config-server[515]: 2022-08-09 12:02:49.012 INFO 556 --- [nio-9999-exec-4] c.a.a.c.api.ModulesListAPIController : Returns modules names. [profile] Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.393 INFO 556 --- [nio-9999-exec-5] o.s.boot.SpringApplication : Starting application on localhost with PID 556 (/opt/arkcase/app/config-server/config-server.jar started by arkcase in /opt/arkcase/app/config-server) Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.393 INFO 556 --- [nio-9999-exec-5] o.s.boot.SpringApplication : The following profiles are active: runtime,server Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.396 INFO 556 --- [nio-9999-exec-5] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4ebcadcf: startup date [Tue Aug 09 12:03:22 UTC 2022]; root of context hierarchy Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.404 INFO 556 --- [nio-9999-exec-5] o.s.boot.SpringApplication : Started application in 0.151 seconds (JVM running for 197.092) Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.405 INFO 556 --- [nio-9999-exec-5] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: file:/home/arkcase/.arkcase/acm/acm-config-server-repo/arkcase-server.yaml Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.406 INFO 556 --- [nio-9999-exec-5] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: file:/home/arkcase/.arkcase/acm/acm-config-server-repo/arkcase.yaml Aug 09 12:03:22 arkcase-ce.local config-server[515]: 2022-08-09 12:03:22.406 INFO 556 --- [nio-9999-exec-5] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4ebcadcf: startup date [Tue Aug 09 12:03:22 UTC 2022]; root of context hierarchy Aug 09 12:04:10 arkcase-ce.local systemd[1]: [/etc/systemd/system/config-server.service:9] Invalid environment assignment, ignoring: _JAVA_OPTIONS=-Djava.io.tmpdir=/opt/arkcase/data/config-server/tmp -Dspring.config.location=/opt/arkcase/app/config-server/application.yaml`

imagen

srinivasagunturu commented 2 years ago

Hi Julio,

Thanks for the mail. Could you please share the config-server.service file (/etc/systemd/system/config-server.service) to check further.

Srinivas │ ARMEDIA

TheMindFlayer commented 2 years ago

Hi @srinivasagunturu,

This is the config-server.service:

`C:\Users\jpeguero\Documents\arkcase\arkcase-ce\vagrant>vagrant ssh -c "cat /etc/systemd/system/config-server.service" [Unit] Description=ArkCase Config Server After=syslog.target

[Service] ExecStart=/opt/arkcase/app/config-server/config-server.jar SuccessExitStatus=143 Environment=LOGGING_FILE=/opt/arkcase/log/config-server/acmConfigServer.log Environment=_JAVA_OPTIONS=-Djava.io.tmpdir=/opt/arkcase/data/config-server/tmp -Dspring.config.location=/opt/arkcase/app/config-server/application.yaml WorkingDirectory=/opt/arkcase/app/config-server User=arkcase Group=arkcase Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=config-server

[Install] WantedBy=multi-user.target`

srinivasagunturu commented 2 years ago

Hi Julio,

Thanks for the sharing config file. Could you please run the below command once and confirm.

sudo systemctl start config-server

Srinivas │ ARMEDIA

TheMindFlayer commented 2 years ago

This time the environment error dosen't show, but i continue having problem:

`[vagrant@arkcase-ce ~]$ sudo systemctl -l status config-server ● config-server.service - ArkCase Config Server Loaded: loaded (/etc/systemd/system/config-server.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2022-08-10 14:44:20 UTC; 7min ago Main PID: 505 (config-server.j) CGroup: /system.slice/config-server.service ├─505 /bin/bash /opt/arkcase/app/config-server/config-server.jar └─545 /usr/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -Dserver.port=9999 -Djava.net.preferIPv4Stack=true -Dacm.activemq.keystore=/opt/arkcase/common/arkcase.ks -Dacm.activemq.keystore-password=@rKc@3e -Dacm.activemq.truststore=/opt/arkcase/common/arkcase.ts -Dacm.activemq.truststore-password=@rKc@3e -Djavax.net.ssl.trustStorePassword=@rKc@3e -Djavax.net.ssl.keyStore=/opt/arkcase/common/arkcase.ks -Djavax.net.ssl.trustStore=/opt/arkcase/common/arkcase.ts -Djavax.net.ssl.keyStorePassword=@rKc@3e -Dspring.activemq.broker-url=ssl://arkcase-ce.local:61616 -Dacm.activemq.broker-url=ssl://arkcase-ce.local:61616 -jar /opt/arkcase/app/config-server/config-server.jar

Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.386 INFO 545 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshScope' has been autodetected for JMX exposure Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.387 INFO 545 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.412 INFO 545 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager] Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.422 INFO 545 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope] Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.445 INFO 545 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=2d6eabae,type=ConfigurationPropertiesRebinder] Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.482 INFO 545 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.886 INFO 545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9999 (http) with context path '' Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.916 INFO 545 --- [ main] c.a.a.c.AcmConfigServerApplication : Started AcmConfigServerApplication in 67.497 seconds (JVM running for 83.4) Aug 10 14:45:50 arkcase-ce.local config-server[505]: 2022-08-10 14:45:50.927 INFO 545 --- [ main] .s.a.AnnotationAsyncExecutionInterceptor : No task executor bean found for async processing: no bean of type TaskExecutor and no bean named 'taskExecutor' either Aug 10 14:45:51 arkcase-ce.local config-server[505]: 2022-08-10 14:45:51.157 DEBUG 545 --- [cTaskExecutor-1] c.a.a.c.service.FileWatchService : Waiting for file change on path [/home/arkcase/.arkcase/acm/acm-config-server-repo]`

imagen

srinivasagunturu commented 2 years ago

Hi Julio,

Could you please confirm any error observed during vagrant UP. We have followed the same procedure and installed the arkcase in our laptop. Also able to access the URL.

Please follow the below steps and confirm the status

  1. Open VM Virtual BOX and start the arkcase-Vagrant VM
  2. Wait for 5 min and check the below services on VM vagrant ssh -c "sudo systemctl status config-server" vagrant ssh -c "sudo systemctl status arkcase"
  3. Please restart the services if services are not running vagrant ssh -c "sudo systemctl start config-server" vagrant ssh -c "sudo systemctl start arkcase"
  4. Please wait for 20-30 min post services UP and check the URL status

If still issue happening, Kindly share the logs

vagrant ssh -c "sudo tail -f /opt/arkcase/log/arkcase/catalina.out"

Srinivas │ ARMEDIA

TheMindFlayer commented 2 years ago

[vagrant@arkcase-ce ~]$ sudo tail -f /opt/arkcase/log/arkcase/catalina.out ) LIMIT ? OFFSET ?; time=6457 ms; 2022-08-26 17:44:40,694 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseExtractors 2022-08-26 17:44:41,034 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCreate 2022-08-26 17:44:41,042 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseDeleteExtractors 2022-08-26 17:44:41,051 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMoveFrom 2022-08-26 17:44:41,062 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCopy 2022-08-26 17:44:41,072 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseRename 2022-08-26 17:44:41,083 [INFO ] [arkcase-scheduler_Worker-6] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMetadata 2022-08-26 17:44:46,660 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseExtractors 2022-08-26 17:44:46,835 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCreate 2022-08-26 17:44:46,845 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseDeleteExtractors 2022-08-26 17:44:46,862 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMoveFrom 2022-08-26 17:44:46,883 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCopy 2022-08-26 17:44:46,898 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseRename 2022-08-26 17:44:46,922 [INFO ] [arkcase-scheduler_Worker-9] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMetadata

Message from syslogd@localhost at Aug 26 17:45:45 ... haproxy[1417]: backend be_alfresco has no server available!

Message from syslogd@localhost at Aug 26 17:45:45 ... haproxy[1417]: backend be_alfresco has no server available!

Message from syslogd@localhost at Aug 26 17:45:45 ... haproxy[1417]: backend be_share has no server available!

Message from syslogd@localhost at Aug 26 17:45:45 ... haproxy[1417]: backend be_share has no server available! 26-Aug-2022 17:45:45.219 WARNING [Thread-126] org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportSlowQuery Slow Query Report SQL=select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RUEXECUTION PI ON PI.ID = RES.PROCESS_INSTANCEID where (RETRIES > 0) and (DUEDATE is null or DUEDATE_ <= ?) and (LOCKOWNER is null or LOCK_EXPTIME <= ?) and ( (RES.EXECUTIONID is null) or (PI.SUSPENSIONSTATE = 1) ) LIMIT ? OFFSET ?; time=10872 ms; 2022-08-26 17:45:46,873 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseExtractors 2022-08-26 17:45:47,004 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseExtractors org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,005 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCreate 2022-08-26 17:45:47,038 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseCreate org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,039 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseDeleteExtractors 2022-08-26 17:45:47,163 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseDeleteExtractors org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,164 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMoveFrom 2022-08-26 17:45:47,188 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseMoveFrom org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,189 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCopy 2022-08-26 17:45:47,223 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseCopy org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,224 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseRename 2022-08-26 17:45:47,241 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseRename org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,242 [INFO ] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMetadata 2022-08-26 17:45:47,265 [ERROR] [arkcase-scheduler_Worker-1] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Could not query Alfresco audit records for application AuditArkCaseMetadata org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [

503 Service Unavailable

No server is available to handle this request. ] at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:112) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:188) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar:5.3.2] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:601) ~[spring-web-5.3.2.jar:5.3.2] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoAuditApplicationRestClient.service(AlfrescoAuditApplicationRestClient.java:72) ~[acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.collectAuditEvents(AlfrescoSyncService.java:106) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService.queryAlfrescoAuditApplications(AlfrescoSyncService.java:73) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncScheduledBean.executeJob(AlfrescoSyncScheduledBean.java:67) [acm-service-ecm-2021.03.jar:?] at com.armedia.acm.quartz.scheduler.AcmJobDescriptor.execute(AcmJobDescriptor.java:49) [acm-quartz-scheduler-2021.03.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2022-08-26 17:45:47,779 [ERROR] [task-scheduler-1] org.springframework.integration.handler.LoggingHandler - org.springframework.messaging.MessagingException: failure occurred while polling for mail; nested exception is javax.mail.AuthenticationFailedException: AUTHENTICATE failed. at org.springframework.integration.mail.MailReceivingMessageSource.receive(MailReceivingMessageSource.java:131) at org.springframework.integration.endpoint.SourcePollingChannelAdapter.receiveMessage(SourcePollingChannelAdapter.java:224) at org.springframework.integration.endpoint.AbstractPollingEndpoint.doPoll(AbstractPollingEndpoint.java:245) at org.springframework.integration.endpoint.AbstractPollingEndpoint.access$000(AbstractPollingEndpoint.java:58) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:190) at org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:186) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:353) at org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:55) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50) at org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:51) at org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:344) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: javax.mail.AuthenticationFailedException: AUTHENTICATE failed. at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:725) at javax.mail.Service.connect(Service.java:366) at javax.mail.Service.connect(Service.java:246) at javax.mail.Service.connect(Service.java:195) at org.springframework.integration.mail.AbstractMailReceiver.connectStoreIfNecessary(AbstractMailReceiver.java:286) at org.springframework.integration.mail.AbstractMailReceiver.openFolder(AbstractMailReceiver.java:293) at org.springframework.integration.mail.AbstractMailReceiver.receive(AbstractMailReceiver.java:319) at org.springframework.integration.mail.AbstractMailReceiver$$FastClassBySpringCGLIB$$6fe2213e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:137) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at org.springframework.integration.mail.ImapMailReceiver$$EnhancerBySpringCGLIB$$412e4293.receive() at org.springframework.integration.mail.MailReceivingMessageSource.receive(MailReceivingMessageSource.java:112) ... 19 more

26-Aug-2022 17:45:54.881 WARNING [arkcase-scheduler_QuartzSchedulerThread] org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportSlowQuery Slow Query Report SQL=UPDATE QRTZ_TRIGGERS SET TRIGGER_STATE = ? WHERE SCHED_NAME = 'arkcase-scheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? AND TRIGGER_STATE = ?; time=6117 ms; 26-Aug-2022 17:45:54.882 WARNING [arkcase-scheduler_Worker-3] org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportSlowQuery Slow Query Report SQL=UPDATE QRTZ_TRIGGERS SET TRIGGER_STATE = ? WHERE SCHED_NAME = 'arkcase-scheduler' AND JOB_NAME = ? AND JOB_GROUP = ? AND TRIGGER_STATE = ?; time=6051 ms; 2022-08-26 17:45:58,460 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseExtractors 26-Aug-2022 17:46:19.821 WARNING [Thread-126] org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportSlowQuery Slow Query Report SQL=select RES. from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RUEXECUTION PI ON PI.ID = RES.PROCESS_INSTANCEID where (RETRIES > 0) and (DUEDATE is null or DUEDATE_ <= ?) and (LOCKOWNER is null or LOCK_EXPTIME <= ?) and ( (RES.EXECUTIONID is null) or (PI.SUSPENSIONSTATE = 1) ) LIMIT ? OFFSET ?; time=6577 ms; 26-Aug-2022 17:46:19.834 WARNING [QuartzScheduler_arkcase-scheduler-localhost1661535378180_ClusterManager] org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportSlowQuery Slow Query Report SQL=SELECT FROM QRTZ_SCHEDULER_STATE WHERE SCHED_NAME = 'arkcase-scheduler'; time=9965 ms; 2022-08-26 17:46:22,288 [INFO ] [arkcase-scheduler_Worker-8] com.armedia.acm.services.subscription.dao.SubscriptionDao - No new Subscriptions found 2022-08-26 17:46:38,359 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCreate 2022-08-26 17:46:38,441 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseDeleteExtractors 2022-08-26 17:46:38,475 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMoveFrom 2022-08-26 17:46:38,822 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseCopy 2022-08-26 17:46:39,009 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseRename 2022-08-26 17:46:39,022 [INFO ] [arkcase-scheduler_Worker-7] com.armedia.acm.plugins.ecm.service.sync.impl.AlfrescoSyncService - Starting Alfresco sync for audit application AuditArkCaseMetadata 2022-08-26 17:46:40,126 [INFO ] [QuartzScheduler_arkcase-scheduler-localhost1661535378180_MisfireHandler] org.springframework.scheduling.quartz.LocalDataSourceJobStore - Handling 1 trigger(s) that missed their scheduled fire-time. 2022-08-26 17:46:40,131 [WARN ] [QuartzScheduler_arkcase-scheduler-localhost1661535378180_MisfireHandler] com.armedia.acm.quartz.scheduler.AcmTriggerListener - Trigger [DEFAULT.alfrescoSyncScheduledJobTrigger] for job misfired.`

srinivasagunturu commented 2 years ago

Hi Julio,

Could you please confirm your availabity time. We will check the status once you shared the screen.

Srinivas │ ARMEDIA

TheMindFlayer commented 2 years ago

Sorry, i didn`t understand. Could you please be more specific?

srinivasagunturu commented 2 years ago

Hi Julio,

Could you please confirm your availabity time so that we can send team meeting to your mail id. You can join the meeting and share your screen so that we can check exact what is going on for this issue.

Srinivas │ ARMEDIA

srinivasagunturu commented 1 year ago

Hi @TheMindFlayer,

If you are still interested in installing Arkcase on your local machine, please let me know.