日期:2014-05-17  浏览次数:20703 次

服务器部署后,报表查询报错
在本机测试没问题,部署到服务器上出错,用的tomcat,错误日志如下:
2011-08-15 07:13:16 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2011-08-15 07:13:18 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2011-08-15 07:13:18 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2011-08-15 07:13:18 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2011-08-15 07:13:18 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2011-08-15 07:32:24 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2011-08-15 07:32:26 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2011-08-15 07:32:26 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2011-08-15 07:32:27 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2011-08-15 07:32:27 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2011-08-15 07:40:17 StandardContext[/member]Exception sending context destroyed event to listener instance of class com.run.web.listener.Listener
java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1774)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1575)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.run.web.listener.Listener.contextDestroyed(Listener.java:55)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3868)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4531)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:952)
at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:723)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:971)
at org.apache.catalina.startup.HostConfig.checkContextLastModified(HostConfig.java:840)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:800)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1619)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1628)
at