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

java web 发布
我本地的环境是JDK1.6 TOMCAT 6.0 MYSQL 5.5

服务器环境是JDK1.5 TOMCAT 5.0 MYSQL 5.5

Apr 25, 2012 12:22:36 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib
Apr 25, 2012 12:22:36 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9177
Apr 25, 2012 12:22:36 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 642 ms
Apr 25, 2012 12:22:36 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 25, 2012 12:22:36 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Apr 25, 2012 12:22:36 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 25, 2012 12:22:37 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 25, 2012 12:22:37 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ART1] startup failed due to previous errors
Apr 25, 2012 12:22:37 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9177
Apr 25, 2012 12:22:37 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:10177
Apr 25, 2012 12:22:37 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Apr 25, 2012 12:22:37 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 25, 2012 12:22:37 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1304 ms


------解决方案--------------------
应该是环境差异引起的吧..
把服务器的tomcat换成6.0的?
------解决方案--------------------
JDK版本都换了肯定会有问题 把服务器的JDK换成1.6的
------解决方案--------------------
和服务器保持同步吧。
不要为这样的环境问题纠结了。
只要一样,避免很多问题和不必要的时间浪费