[ADVPERS-1] Error while creating cluster setup Created: 25/Sep/19  Updated: 25/Sep/19  Resolved: 25/Sep/19

Status: Closed
Project: Advanced Personalization
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Maduri Arun Kumar Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Server version: Apache Tomcat/7.0.76
OS Name: Linux
Command line argument: -Xms2048m
Command line argument: -Xmx2048m
Magnolia : 6.1

We have 1 author instance and 2 public instances. We are creating mysql cluster. To access forms data we are creating shared workspace. while creating cluster set up we are getting below error.


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Below is the exception stack.

 

SEVERE: The web application [/author] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.SEVERE: The web application [/author] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbcSEVERE: The web application [/author] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-publishing] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-audit] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-access] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-error] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-form] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [AsyncAppender-log-debug] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-1] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/version/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:43799)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/version/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/default/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:41460)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/default/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-2] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-3] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-4] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/website/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:42935)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/website/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/config/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:43625)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/config/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/users/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:45720)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/users/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/userroles/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:39184)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/userroles/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/usergroups/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:43908)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/usergroups/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/mgnlSystem/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:42564)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/mgnlSystem/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 File Lock Watchdog /var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/mgnlVersion/db.lock.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [H2 TCP Server (tcp://10.70.129.241:35576)] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [MVStore background writer nio:/var/lib/tomcat/webapps/author/repositories/magnolia/workspaces/mgnlVersion/db.mv.db] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [ObservationManager] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-5] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [FileSystemWatchService] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-6] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-7] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsSEVERE: The web application [/author] appears to have started a thread named [jackrabbit-pool-8] but has failed to stop it. This is very likely to create a memory leak.Sep 24, 2019 10:58:24 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesResourceBundlesSEVERE: Failed to clear ResourceBundle references for web application [/author]java.lang.NoSuchFieldException: loaderRef at java.base/java.lang.Class.getDeclaredField(Class.java:2412) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesResourceBundles(WebappClassLoaderBase.java:3049) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:2255) at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:2123) at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:663) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5872) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
Sep 24, 2019 10:58:24 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deployment of web application archive /var/lib/tomcat/webapps/author.war has finished in 18,747 msSep 24, 2019 10:58:24 PM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["http-bio-8080"]Sep 24, 2019 10:58:24 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 23460 msSep 24, 2019 10:59:31 PM org.apache.catalina.loader.WebappClassLoaderBase loadClassINFO: Illegal access: this web application instance has been stopped already.  Could not load java.lang.Thread$State.  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.apache.logging.log4j.core.appender.AsyncAppender$AsyncThread.shutdown(AsyncAppender.java:473) at org.apache.logging.log4j.core.appender.AsyncAppender.stop(AsyncAppender.java:133) at org.apache.logging.log4j.core.config.AbstractConfiguration.stop(AbstractConfiguration.java:336) at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:351) at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279) at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109) at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74) at java.base/java.lang.Thread.run(Thread.java:834)


Generated at Sun Feb 11 23:11:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.