I have successfully installed two CA PPM v188.8.131.52.16 instances in the same server, along with their Jaspersoft v6.2.1_184.108.40.206.33, as below (All ports in CA PPM and Jaspersoft Tomcat have been modified to be different within environmetns):
* Java (v8.0.162) is shared for both PPM instances and both Jaspersoft instances * PPM Instance 1 has it's own tomcat (v8.5.28), and it's own Jaspersoft tomcat (7.0.82), working correctly individually. * PPM Instance 2 has it's own tomcat (v8.5.28), and it's own Jaspersoft tomcat (7.0.82), working correctly individually.
The problem comes when running both Jaspersoft tomcats at the same time. The first one seems to take ownership and works fine, while the second displays this error:
Apr 02, 2018 7:12:36 PM org.apache.catalina.loader.WebappClassLoaderBase loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load org.infinispan.util.concurrent.BoundedConcurrentHashMap$Values. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.infinispan.util.concurrent.BoundedConcurrentHashMap.values(BoundedConcurrentHashMap.java:2113) at org.infinispan.container.DefaultDataContainer.purgeExpired(DefaultDataContainer.java:189) at org.infinispan.eviction.EvictionManagerImpl.processEviction(EvictionManagerImpl.java:102) at org.infinispan.eviction.EvictionManagerImpl$ScheduledTask.run(EvictionManagerImpl.java:144) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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)
The expected result is having both PPM and Jaspersoft instances working in parallel, but the second-started Jaspersoft always fails. I checked the NSA and the reporting is not available for the second instance. The jobs related to DWH and Jaspersoft fail, and the Advanced Reporting is not accesible. Any ideas what can be working wrong?