部署tomcat错误解决

时间:2022-06-30 17:23:35
七月 08, 2014 3:43:08 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
七月 08, 2014 3:43:08 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8089"]
七月 08, 2014 3:43:08 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8039"]
七月 08, 2014 3:43:08 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 657 ms
七月 08, 2014 3:43:09 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 08, 2014 3:43:09 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.50
七月 08, 2014 3:43:09 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive /usr/local/apache-tomcat-new/webapps/Struts2Test.war
七月 08, 2014 3:43:09 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(/usr/local/apache-tomcat-new/webapps/Struts2Test/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
七月 08, 2014 3:43:13 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [182] milliseconds.
七月 08, 2014 3:43:14 下午 org.apache.jasper.EmbeddedServletOptions <init>
严重: The scratchDir you specified: /usr/local/apache-tomcat-new/work/Catalina/localhost/Struts2Test is unusable.
七月 08, 2014 3:43:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/apache-tomcat-new/webapps/examples
七月 08, 2014 3:43:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/apache-tomcat-new/webapps/ROOT
七月 08, 2014 3:43:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/apache-tomcat-new/webapps/docs
七月 08, 2014 3:43:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/apache-tomcat-new/webapps/manager
七月 08, 2014 3:43:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/apache-tomcat-new/webapps/host-manager
七月 08, 2014 3:43:15 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8089"]
七月 08, 2014 3:43:15 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8039"]
七月 08, 2014 3:43:15 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 6504 ms
七月 08, 2014 3:43:17 下午 org.apache.jasper.compiler.TldLocationsCache tldScanJar

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.




将tomcat  下的work文件夹内容清空重启tomcat即可~~~~~~~~~~