Blank page when starting tomcat from eclipse

Discussion in 'Java' started by Franz, Mar 22, 2010.

  1. Franz

    Franz Guest

    Hi,

    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,
    Franz

    Well, maybe I oversaw anything in the log, so here's the log (just to
    be sure):
    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
    java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/
    server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386:/usr/lib/jvm/
    java-1.5.0-sun-1.5.0.19/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/
    jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/
    xulrunner-addons:/usr/lib/xulrunner-addons
    22.03.2010 13:10:48 org.apache.tomcat.util.digester.SetPropertiesRule
    begin
    WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context}
    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
     
    Franz, Mar 22, 2010
    #1
    1. Advertising

  2. Franz

    Franz Guest

    Just for information for others, who might have a similar problem or
    effect.

    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.
     
    Franz, Apr 26, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Horst Walter
    Replies:
    0
    Views:
    426
    Horst Walter
    Jun 17, 2004
  2. Horst Walter
    Replies:
    0
    Views:
    361
    Horst Walter
    Jun 17, 2004
  3. mobaraki
    Replies:
    1
    Views:
    1,254
    msplush
    Dec 28, 2004
  4. Gary Rowe
    Replies:
    0
    Views:
    489
    Gary Rowe
    Apr 7, 2005
  5. Fresno Bob
    Replies:
    0
    Views:
    445
    Fresno Bob
    Jan 18, 2008
Loading...

Share This Page