[jboss-jira] [JBoss JIRA] Closed: (JGRP-826) Unable to stop tomcat because of an IllegalStateException in jgroups threads
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Sep 26 01:44:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JGRP-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban closed JGRP-826.
-------------------------
Resolution: Rejected
This seems to be a log4j issue, which tries to create a LogEvent in the wrong classloader.
Probable solution: place the JGroups and log4j JARs into the ./lib dir
> Unable to stop tomcat because of an IllegalStateException in jgroups threads
> ----------------------------------------------------------------------------
>
> Key: JGRP-826
> URL: https://jira.jboss.org/jira/browse/JGRP-826
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.6.2
> Environment: linux debian etch
> Reporter: Laurent Mimoun
> Assignee: Bela Ban
>
> Sep 25, 2008 7:50:36 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive ROOT.war
> Sep 25, 2008 7:55:33 PM org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context []
> Sep 25, 2008 7:55:33 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive ROOT.war
> Sep 25, 2008 7:55:34 PM org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Illegal access: this web application instance has been stopped already. Could not load java.io.PrintWriter. 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.WebappClassLoader.loadClass(WebappClassLoader.java:1246)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
> at org.apache.log4j.Category.forcedLog(Category.java:388)
> at org.apache.log4j.Category.log(Category.java:853)
> at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
> at org.jgroups.protocols.MPING.run(MPING.java:362)
> at java.lang.Thread.run(Thread.java:619)
> Sep 25, 2008 7:55:34 PM org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.log4j.spi.VectorWriter. 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.WebappClassLoader.loadClass(WebappClassLoader.java:1246)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
> at org.apache.log4j.Category.forcedLog(Category.java:388)
> at org.apache.log4j.Category.log(Category.java:853)
> at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
> at org.jgroups.protocols.MPING.run(MPING.java:362)
> at java.lang.Thread.run(Thread.java:619)
> Sep 25, 2008 7:55:34 PM org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.log4j.spi.VectorWriter. 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.WebappClassLoader.loadClass(WebappClassLoader.java:1246)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
> at org.apache.log4j.Category.forcedLog(Category.java:388)
> at org.apache.log4j.Category.log(Category.java:853)
> at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
> at org.jgroups.protocols.Discovery$PingSenderTask$1.run(Discovery.java:389)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> Sep 25, 2008 7:55:36 PM org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.log4j.spi.VectorWriter. 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list