amsmota
Feb 21st, 2008, 05:18 AM
I'm having this strange error on try to undeploy/deploy a jar in JBoss, with this strange message:
Illegal access: this web application instance has been stopped already. Could not load org.springframework.integration.message.ErrorMessa ge. 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.
Note that JBoss enter a infinite loop, outputting in sucession the following trace:
11:04:40,318 INFO [WebappClassLoader] Illegal access: this web application instance has been stopped already. Could not load org.springframework.integration.message.ErrorMessa ge. 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.loadC lass(WebappClassLoader.java:1244)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
at org.springframework.integration.scheduling.Message PublishingErrorHandler.handle(MessagePublishingErr orHandler.java:56)
at org.springframework.integration.scheduling.SimpleM essagingTaskScheduler$MessagingTaskRunner.run(Simp leMessagingTaskScheduler.java:140)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndRe set(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(Future Task.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$101(ScheduledThreadPoolE xecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.runPeriodic(ScheduledThreadPool Executor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
11:04:40,318 WARN [MessagePublishingErrorHandler] failure occurred in messaging task
java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.getCachedFac tory(LogFactory.java:908)
at org.apache.commons.logging.LogFactory.getFactory(L ogFactory.java:395)
at org.apache.commons.logging.LogFactory.getLog(LogFa ctory.java:645)
at org.springframework.integration.dispatcher.Default MessageDistributor.<init>(DefaultMessageDistributor.java:43)
at org.springframework.integration.dispatcher.Default MessageDispatcher.getDistributor(DefaultMessageDis patcher.java:186)
at org.springframework.integration.dispatcher.Default MessageDispatcher.access$1(DefaultMessageDispatche r.java:182)
at org.springframework.integration.dispatcher.Default MessageDispatcher$DispatcherTask.run(DefaultMessag eDispatcher.java:208)
at org.springframework.integration.scheduling.SimpleM essagingTaskScheduler$MessagingTaskRunner.run(Simp leMessagingTaskScheduler.java:136)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndRe set(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(Future Task.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$101(ScheduledThreadPoolE xecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.runPeriodic(ScheduledThreadPool Executor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
I'll try to investigate a little more.
Regards.
Illegal access: this web application instance has been stopped already. Could not load org.springframework.integration.message.ErrorMessa ge. 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.
Note that JBoss enter a infinite loop, outputting in sucession the following trace:
11:04:40,318 INFO [WebappClassLoader] Illegal access: this web application instance has been stopped already. Could not load org.springframework.integration.message.ErrorMessa ge. 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.loadC lass(WebappClassLoader.java:1244)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
at org.springframework.integration.scheduling.Message PublishingErrorHandler.handle(MessagePublishingErr orHandler.java:56)
at org.springframework.integration.scheduling.SimpleM essagingTaskScheduler$MessagingTaskRunner.run(Simp leMessagingTaskScheduler.java:140)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndRe set(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(Future Task.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$101(ScheduledThreadPoolE xecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.runPeriodic(ScheduledThreadPool Executor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
11:04:40,318 WARN [MessagePublishingErrorHandler] failure occurred in messaging task
java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.getCachedFac tory(LogFactory.java:908)
at org.apache.commons.logging.LogFactory.getFactory(L ogFactory.java:395)
at org.apache.commons.logging.LogFactory.getLog(LogFa ctory.java:645)
at org.springframework.integration.dispatcher.Default MessageDistributor.<init>(DefaultMessageDistributor.java:43)
at org.springframework.integration.dispatcher.Default MessageDispatcher.getDistributor(DefaultMessageDis patcher.java:186)
at org.springframework.integration.dispatcher.Default MessageDispatcher.access$1(DefaultMessageDispatche r.java:182)
at org.springframework.integration.dispatcher.Default MessageDispatcher$DispatcherTask.run(DefaultMessag eDispatcher.java:208)
at org.springframework.integration.scheduling.SimpleM essagingTaskScheduler$MessagingTaskRunner.run(Simp leMessagingTaskScheduler.java:136)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndRe set(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(Future Task.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$101(ScheduledThreadPoolE xecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.runPeriodic(ScheduledThreadPool Executor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
I'll try to investigate a little more.
Regards.