org.apache.catalina.loader.WebappClassLoader loadClass问题

kmor1984 2012-11-27 05:06:19
Illegal access: this web application instance has been stopped already. Could not load org.apache.commons.httpclient.methods.PostMethod. 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:1273)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at com.yihaodian.configcentre.client.impl.DefaultYccSubscriber.checkUpdateDataIds(DefaultYccSubscriber.java:973)
at com.yihaodian.configcentre.client.impl.DefaultYccSubscriber.checkYccServerConfigInfo(DefaultYccSubscriber.java:429)
at com.yihaodian.configcentre.client.impl.DefaultYccSubscriber.access$900(DefaultYccSubscriber.java:66)
at com.yihaodian.configcentre.client.impl.DefaultYccSubscriber$3.run(DefaultYccSubscriber.java:339)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
哥不多说,部署环境时,出现这样的错误,不知道如何下手,请神仙指点,真的是精尽人亡了。。。
...全文
38704 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
wyx100 2014-03-14
  • 打赏
  • 举报
回复
org.apache.catalina.loader.WebappClassLoader loadClass csdn 问题解决 关闭、重启tomcat后问题解决了,
wyx100 2014-03-14
  • 打赏
  • 举报
回复
关闭、重启tomcat后问题解决了,
wyx100 2014-03-14
  • 打赏
  • 举报
回复
重新其他tomcat后问题解决了, 网上一般说明,没有用到 Tomcat 异常 Illegal access : this web application instance has been stopped already 2006-9-11 11:33:27 org.apache.catalina.loader.WebappClassLoader loadClass 信息 : Illegal access: this web application instance has been stopped already (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) 原因是因为在 tomcat 重启的时候,因为之前的 tomcat 中的线程还没有完全关闭,新启动 tomcat 就会报这个异常,不过这个不影响正常使用,只是跳个 异常挺烦人的。 解决办法 : 将 tomcat 的 server.xml 中的 Context 的 reloadable 设成 false 。 比如 :<Context path="/expert" docBase="expert" debug="0" reloadable="false"> 或者 修改 tomcat 目录下的 context.xml, 找到 <Context> 标签,把 reloadble 的属性值设为: reloadable="false" ,即 <Context reloadable="false"> 。 或者 1 配置文件错了
kmor1984 2012-11-28
  • 打赏
  • 举报
回复
人呢??求高手啊。。。
kmor1984 2012-11-27
  • 打赏
  • 举报
回复
主干上的代码都能跑得通啊,这个就跑不通,最大的可能是包有问题啊,我是测试的,我是在测试的分支要来部署的,所以配制文件不可能存问题啊。
xinde2007 2012-11-27
  • 打赏
  • 举报
回复
web.xml文件,或相应的配置文件配置错误
kmor1984 2012-11-27
  • 打赏
  • 举报
回复
少包???应该不会吧。。。
qinzi_2013 2012-11-27
  • 打赏
  • 举报
回复
是不是少包了?

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧