主题 : 系统启动时,报如下错误
级别: 举人
UID: 46
积分:57 加为好友
威望: 0 精华: 0
主题:4 回复:34
注册时间:2009-06-03
在线时长:0
1#   发表于:2010-01-20 16:26:58  IP:113.137.*.*
系统启动时,报如下错误:
-----------------------------------------
2010-1-20 8:17:41 net.sf.ehcache.config.ConfigurationFactory parseConfiguration
警告: No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/C:/java/apache-tomcat-*.28-gbk/webapps/ROOT/WEB-INF/lib/ehcache-1.6.0-beta3.jar!/ehcache-failsafe.xml
2010-01-20 08:17 INFO  c.j.c.w.ApplicationListener - 系统启动,读取所有站点信息到缓存。
----------------------------------------------


怀疑是缓存配置有问题.

比较jeecms2.4.0与2.3.2版本的缓存配置文件: ehcache-application.xml和ehcache-hibernate.xml,
在2.3.2版本中是这样配置:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="ehcache.xsd">
在2.4.0是这样配置:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">

但我改成跟2.3.2配置一样,且把2.3.2版本的ehcache.xsd也拷贝到2.4.0版本的同一目录下.启动系统还是同样报错.
虽然报的是警告级别,但说明也是有问题的,希望能给出有效方法彻底解决.
级别: 白丁
UID: 3
积分:2415 加为好友
威望: 0 精华: 0
主题:23 回复:1614
注册时间:2009-06-02
在线时长:0
2#   发表于:2010-01-20 21:46:33  IP:59.133.*.*
我们测试没有发现这个问题,启动信息如下:

2010-1-20 21:47:02 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\java\jdk1.5.0_17\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:/java/jre1.5.0_17/bin/client;D:/java/jre1.5.0_17/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\UltraEdit-32;D:\java\jdk1.5.0_17\bin;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs
2010-1-20 21:47:02 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2010-1-20 21:47:02 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 687 ms
2010-1-20 21:47:02 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-1-20 21:47:02 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/*.28
2010-1-20 21:47:02 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2010-01-20 09:47 INFO  c.j.c.w.ApplicationListener - 系统启动,读取所有站点信息到缓存。
Hibernate: select this_.WEBSITE_ID as WEBSITE1_11_0_, this_.DOMAIN as DOMAIN11_0_, this_.RES_PATH as RES3_11_0_, this_.LFT as LFT11_0_, this_.RGT as RGT11_0_, this_.RES_DOMAIN as RES6_11_0_, this_.BASE_DOMAIN as BASE7_11_0_, this_.DOMAIN_ALIAS as DOMAIN8_11_0_, this_.NAME as NAME11_0_, this_.SHORT_NAME as SHORT10_11_0_, this_.SUFFIX as SUFFIX11_0_, this_.CURRENT_SYSTEM as CURRENT12_11_0_, this_.COOKIE_KEY as COOKIE13_11_0_, this_.OWNER_NAME as OWNER14_11_0_, this_.OWNER_IDENTITY as OWNER15_11_0_, this_.COMPANY as COMPANY11_0_, this_.COPYRIGHT as COPYRIGHT11_0_, this_.RECORD_CODE as RECORD18_11_0_, this_.EMAIL as EMAIL11_0_, this_.PHONE_CODE as PHONE20_11_0_, this_.MOBILE_CODE as MOBILE21_11_0_, this_.CREATE_TIME as CREATE22_11_0_, this_.EMAIL_CHARSET as EMAIL23_11_0_, this_.EMAIL_HOSTNAME as EMAIL24_11_0_, this_.EMAIL_ACCOUNT as EMAIL25_11_0_, this_.EMAIL_USER_NAME as EMAIL26_11_0_, this_.EMAIL_USER_ID as EMAIL27_11_0_, this_.EMAIL_USER_PWD as EMAIL28_11_0_, this_.EMAIL_SUBJECT as EMAIL29_11_0_, this_.EMAIL_CONTENT as EMAIL30_11_0_, this_.CONTROL_FRONT_IPS as CONTROL31_11_0_, this_.CONTROL_ADMIN_IPS as CONTROL32_11_0_, this_.CONTROL_RESERVED as CONTROL33_11_0_, this_.CONTROL_NAME_MINLEN as CONTROL34_11_0_, this_.CLOSE_REASON as CLOSE35_11_0_, this_.IS_CLOSE as IS36_11_0_, this_.PARENT as PARENT11_0_, this_.GLOBAL_ID as GLOBAL38_11_0_ from CORE_WEBSITE this_
2010-1-20 21:47:17 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-80
2010-1-20 21:47:17 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-1-20 21:47:17 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2010-1-20 21:47:17 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2010-1-20 21:47:17 org.apache.catalina.startup.Catalina start
信息: Server startup in 15735 ms
生命在于折腾!
1 共1页