TOMCATで上手く起動しない
Tomcat6.0.16上で
struts1.2.9ベースのWEBアプリを作成し、起動しました。
WEBアプリは3つあり、それぞれwapp1,wapp2,wapp3という名で、
warファイルを作成して、Tomcatのwebapps配下に配置して
Tomcatを再起動しました。
wapp1とwapp2はまったく問題なく動作していますが、
wapp3だけ、該当のURLを叩いてもNot Foundで、コンテキスト
として認識されていないようです。
今回はLinuxの本番機で問題が発生しています。開発機のEclipse
では問題ありませんので、プログラムソースの問題ではありません。
以下がTomcatのログです。
Oct 12, 2011 2:59:16 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Oct 12, 2011 2:59:17 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Oct 12, 2011 2:59:17 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:01:11 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_06/jre/lib/i386/client:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Oct 12, 2011 3:01:11 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:01:11 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1691 ms
Oct 12, 2011 3:01:12 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 12, 2011 3:01:12 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Oct 12, 2011 3:01:12 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wapp1.war
Oct 12, 2011 3:01:13 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Oct 12, 2011 3:01:13 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Oct 12, 2011 3:01:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wapp2.war
Oct 12, 2011 3:01:15 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Oct 12, 2011 3:01:15 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Oct 12, 2011 3:01:15 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
Oct 12, 2011 3:01:15 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wapp3.war
Oct 12, 2011 3:01:16 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Oct 12, 2011 3:01:16 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Oct 12, 2011 3:01:16 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
Oct 12, 2011 3:01:16 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
Oct 12, 2011 3:01:17 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:01:17 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 12, 2011 3:01:17 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Oct 12, 2011 3:01:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5308 ms
お礼
ジャンパーが問題でしたありがとうございました。