tomcat中服務啟動時輸出D:\LSoft\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin

來源:互聯網
上載者:User

今天早上啟動項目時控制台輸出下面資訊(tomcat是tomcat6.0),之前項目沒有出現這樣的問題.

2013-5-11 11:34:31 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: D:\LSoft\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\LSoft\MyEclipse\apache-tomcat-6.0\bin
2013-5-11 11:34:31 org.apache.coyote.http11.Http11Protocol init
資訊: Initializing Coyote HTTP/1.1 on http-8080
2013-5-11 11:34:31 org.apache.catalina.startup.Catalina load
資訊: Initialization processed in 223 ms
2013-5-11 11:34:31 org.apache.catalina.core.StandardService start
資訊: Starting service Catalina
2013-5-11 11:34:31 org.apache.catalina.core.StandardEngine start
資訊: Starting Servlet Engine: Apache Tomcat/6.0.29
2013-5-11 11:34:31 org.apache.catalina.startup.HostConfig deployDescriptor
資訊: Deploying configuration descriptor host-manager.xml
2013-5-11 11:34:31 org.apache.catalina.startup.HostConfig deployDescriptor
資訊: Deploying configuration descriptor manager.xml
2013-5-11 11:34:31 org.apache.catalina.startup.HostConfig deployDirectory
資訊: Deploying web application directory ROOT
2013-5-11 11:34:31 org.apache.catalina.startup.HostConfig deployDirectory
資訊: Deploying web application directory Test
2013-5-11 11:34:31 org.apache.coyote.http11.Http11Protocol start
資訊: Starting Coyote HTTP/1.1 on http-8080
2013-5-11 11:34:31 org.apache.jk.common.ChannelSocket init
資訊: JK: ajp13 listening on /0.0.0.0:8009
2013-5-11 11:34:31 org.apache.jk.server.JkMain start
資訊: Jk running ID=0 time=0/10  config=null
2013-5-11 11:34:31 org.apache.catalina.startup.Catalina start
資訊: Server startup in 391 ms

 

訪問項目時頁面出現

項目中有上傳下載的功能,所以在tomcat server.xml添加了<Context path="/sll103111040" reloadable="true" docBase="D:\LSoft\MyEclipse\Workspaces\MyEclipse 10\sll103111040\WebRoot" workDir="D:\LSoft\MyEclipse\Workspaces\MyEclipse 10\sll103111040\WebRoot\upload" />設定虛擬路徑,不知道是不是和這個有關係 當使用myeclipse中內建tomcat時輸出(tomcat中的server.xml)沒修改 2013-5-11 13:40:07 org.apache.catalina.core.AprLifecycleListener init
資訊: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\LSoft\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\LSoft\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\bin
2013-5-11 13:40:07 org.apache.coyote.http11.Http11Protocol init
資訊: Initializing Coyote HTTP/1.1 on http-8080
2013-5-11 13:40:07 org.apache.catalina.startup.Catalina load
資訊: Initialization processed in 212 ms
2013-5-11 13:40:07 org.apache.catalina.core.StandardService start
資訊: Starting service Catalina
2013-5-11 13:40:07 org.apache.catalina.core.StandardEngine start
資訊: Starting Servlet Engine: Apache Tomcat/6.0.13
2013-5-11 13:40:07 org.apache.catalina.loader.WebappClassLoader validateJarFile
資訊: validateJarFile(D:\LSoft\MyEclipse\Workspaces\MyEclipse 10\.metadata\.me_tcat\webapps\sll103111040\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2013-5-11 13:40:08 org.apache.coyote.http11.Http11Protocol start
資訊: Starting Coyote HTTP/1.1 on http-8080
2013-5-11 13:40:08 org.apache.jk.common.ChannelSocket init
資訊: JK: ajp13 listening on /0.0.0.0:8009
2013-5-11 13:40:08 org.apache.jk.server.JkMain start
資訊: Jk running ID=0 time=0/11  config=null
2013-5-11 13:40:08 org.apache.catalina.startup.Catalina start
資訊: Server startup in 367 ms
定時器:1368250814159
outUpload
ok程式可以運行。 請各位前輩有空幫我看看吧,謝謝了。急需解決。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.