首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

proxool关闭的时候出现这样的异常(java.lang.reflect.InvocationTargetException)是怎么回事呢?

2014-01-26 

4000 [Shutdown Hook] INFO proxool.spring - Shutting down 'spring' pool immediately [Shutdown Hook]
  4000 [Shutdown Hook] ERROR proxool.ShutdownHook - Problem calling "get cause" on IllegalStateException.
  java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.logicalcobwebs.proxool.ShutdownHook.remove(ShutdownHook.java:40)
  at org.logicalcobwebs.proxool.ProxoolFacade.shutdown(ProxoolFacade.java:238)
  at org.logicalcobwebs.proxool.ProxoolFacade.shutdown(ProxoolFacade.java:220)
  at org.logicalcobwebs.proxool.ShutdownHook.run(ShutdownHook.java:99)
  at java.lang.Thread.run(Thread.java:534)
  Caused by: java.lang.IllegalStateException: Shutdown in progress
  at java.lang.Shutdown.remove(Shutdown.java:102)
  at java.lang.Runtime.removeShutdownHook(Runtime.java:218)
  ... 9 more

------解决方法--------------------------------------------------------
有可能你改变了它的配置文件导致出现此类问题,看不太明白!

        

热点排行