Exception sending context initialized event to listener instance

J2EE 码拜 9年前 (2015-04-21) 893次浏览 0个评论
 

[2012-07-09 19:15:48,827] INFO  3623(eman.sys.SysInit:initMsgContext) – 成功初始化消息context!
[2012-07-09 19:15:49,607] INFO     0(eman.sys.SysInit:contextInitialized) – 开始启动EMan context
[2012-07-09 19:15:49,622] INFO    15(eman.tool.DBConnectionManager:init) – 初始化连接池
[2012-07-09 19:15:49,622] INFO    15(eman.tool.DBConnectionManager:loadDrivers) – 成功注册JDBC驱动程序net.sourceforge.jtds.jdbc.Driver
[2012-07-09 19:15:49,622] INFO    15(eman.tool.DBConnectionManager:createPools) – 成功创建连接池idb
[2012-07-09 19:15:49,764]ERROR   157(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
[2012-07-09 19:15:49,764]ERROR   157(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
[2012-07-09 19:15:49,764]ERROR   157(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
[2012-07-09 19:15:49,764]ERROR   157(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
[2012-07-09 19:15:49,764]ERROR   157(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
[2012-07-09 19:15:49,764] WARN   157(eman.tool.DBConnectionManager:freeConnection) – pool为空,不能释放连接
[2012-07-09 19:15:49,764] WARN   157(eman.tool.DBConnectionManager:freeConnection) – pool为空,不能释放连接
[2012-07-09 19:15:49,764] WARN   157(eman.tool.DBConnectionManager:freeConnection) – pool为空,不能释放连接
[2012-07-09 19:15:49,764] WARN   157(eman.tool.DBConnectionManager:freeConnection) – pool为空,不能释放连接
[2012-07-09 19:15:49,764] WARN   157(eman.tool.DBConnectionManager:freeConnection) – pool为空,不能释放连接
[2012-07-09 19:15:49,764] INFO   157(eman.sys.SysInit:contextInitialized) – 初始化连接池成功
[2012-07-09 19:15:50,481] INFO   874(eman.tool.xml.ViewConfigerReader:readAll) – 读取页面显示配置文件:C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\EMan.myeclipse.bak\files\pageViewConfig\pageViewConfig.xml…
[2012-07-09 19:15:50,949] INFO  1342(eman.sys.SysInit:contextInitialized) – 系统功能信息初始化成功
[2012-07-09 19:15:50,981]ERROR  1374(com.opensymphony.oscache.base.Config:loadProps) – Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException
[2012-07-09 19:15:50,981]ERROR  1374(com.opensymphony.oscache.base.Config:loadProps) – Ensure the /oscache.properties file is readable and in your classpath.
[2012-07-09 19:15:50,981] INFO  1374(com.opensymphony.oscache.general.GeneralCacheAdministrator:<init>) – Constructed GeneralCacheAdministrator()
[2012-07-09 19:15:50,981] INFO  1374(com.opensymphony.oscache.general.GeneralCacheAdministrator:createCache) – Creating new cache
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 从数据库中读取暂停时间点:11:30
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 读取对应的资源…
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 从数据库中读取暂停时间点:17:35
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 读取对应的资源…
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 从数据库中读取暂停时间点:11:35
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 读取对应的资源…
[2012-07-09 19:15:51,293] INFO  1686(eman.sys.SysInit:monitorAutoPause) – 从数据库中读取暂停时间点:17:30
[2012-07-09 19:15:51,309] INFO  1702(eman.sys.SysInit:monitorAutoPause) – 读取对应的资源…
[2012-07-09 19:15:51,309]ERROR  1702(com.opensymphony.oscache.base.Config:loadProps) – Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException
[2012-07-09 19:15:51,309]ERROR  1702(com.opensymphony.oscache.base.Config:loadProps) – Ensure the /oscache.properties file is readable and in your classpath.
[2012-07-09 19:15:51,309] INFO  1702(com.opensymphony.oscache.general.GeneralCacheAdministrator:<init>) – Constructed GeneralCacheAdministrator()
[2012-07-09 19:15:51,309] INFO  1702(com.opensymphony.oscache.general.GeneralCacheAdministrator:createCache) – Creating new cache
[2012-07-09 19:15:51,309]ERROR  1702(com.opensymphony.oscache.base.Config:loadProps) – Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException
[2012-07-09 19:15:51,309]ERROR  1702(com.opensymphony.oscache.base.Config:loadProps) – Ensure the /oscache.properties file is readable and in your classpath.
[2012-07-09 19:15:51,309] INFO  1702(com.opensymphony.oscache.web.ServletCacheAdministrator:getInstance) – Created new instance of ServletCacheAdministrator
[2012-07-09 19:15:51,309] INFO  1702(com.opensymphony.oscache.web.ServletCacheAdministrator:getAppScopeCache) – Created new application-scoped cache at key: __oscache_cache
[2012-07-09 19:15:51,309]ERROR  1702(eman.tool.DBConnectionManager:getConnection) – pool为空,返回得到空连接
2012-7-9 19:15:51 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class eman.sys.SysInit
java.lang.NullPointerException
at eman.sql.monitor.QueryScanHumanInfoSql.QueryHumanInfoByMonitorID(QueryScanHumanInfoSql.java:210)
at eman.sys.SysInit.contextInitialized(SysInit.java:354)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2012-7-9 19:15:51 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-7-9 19:15:51 org.apache.catalina.core.StandardContext start
严重: Context [/EMan.myeclipse.bak] startup failed due to previous errors
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – ———————————————————————————————–
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – 服务器停止于:2012-07-09 19:15:51
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – ———————————————————————————————–
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭连接池idb中的一个连接
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭连接池idb中的一个连接
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭连接池idb中的一个连接
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭连接池idb中的一个连接
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭连接池idb中的一个连接
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager$DBConnectionPool:release) – 关闭的连接数目为5,返回到连接池的连接数为5创建的总连接数为5
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager:releaseAll) – 释放所有连接成功
[2012-07-09 19:15:51,497] INFO  1890(eman.tool.DBConnectionManager:releaseAll) – 撤销JDBC驱动程序net.sourceforge.jtds.jdbc.Driver的注册
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – 成功释放连接池资源
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – 成功停止后台调度程序
[2012-07-09 19:15:51,497] INFO  1890(eman.sys.SysInit:contextDestroyed) – 关闭EMan context
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
2012-7-9 19:15:51 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080

Exception sending context initialized event to listener instance
40分
无解   in…
Exception sending context initialized event to listener instance
最近 我也遇到了一个类似的这种问题,报错为

╨┼╧ó: XML validation disabled
2014-07-04 15:55:05,028 ERROR [com.opensymphony.oscache.base.Config] – Error rea
ding /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointer
Exception
2014-07-04 15:55:14,991 ERROR [com.opensymphony.oscache.base.Config] – Ensure th
e /oscache.properties file is readable and in your classpath.

同求解


CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明Exception sending context initialized event to listener instance
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!