Blank page when starting tomcat from eclipse
I checked out a big web project (dynamic web project) in eclipse3.5,
which is working fine on my desktop PC (Windows7). But on my laptop
(Ubuntu 8.10), Apache Tomcat6 starts fine, but loads only a blank
page, when I try to get the page. The "old" web project on my laptop
was working fine, but since the svn was relocated, I checked the
project out from scratch.
There are no errors in any logs (for sure, I attached the log below).
The rights seems also correct.
Deployment seems to work as well, since I can load static resources,
like css-files. But when I try to acces the web page it shows ...
nothing at all !!
What can be the problem? Any hints to get more information to solve
this problem? Any ideas?
I tried already to clean, and reload project, but nothing helped.
Thank you for any helpful hint,
Well, maybe I oversaw anything in the log, so here's the log (just to
22.03.2010 13:10:47 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
22.03.2010 13:10:48 org.apache.tomcat.util.digester.SetPropertiesRule
Setting property 'source' to 'org.eclipse.jst.j2ee.server:trunk' did
not find a matching property.
22.03.2010 13:10:48 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
22.03.2010 13:10:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1171 ms
22.03.2010 13:10:48 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
22.03.2010 13:10:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
22.03.2010 13:10:49 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
22.03.2010 13:10:49 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
22.03.2010 13:10:49 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/126 config=null
22.03.2010 13:10:49 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1579 ms
Re: Blank page when starting tomcat from eclipse
Just for information for others, who might have a similar problem or
The problem was that the web.xml was not correct. Probably the
original generated web.xml (when creating the Dynamic Web Project in
eclispe) was still there and NOT the web.xml of the project. Therefore
no servlet-mappings etc. were set. So the solution was to revert the
web.xml, so the correct settings were loaded.
|All times are GMT. The time now is 08:08 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.