2 Replies Latest reply on Sep 26, 2003 6:32 PM by jonlee

    JBoss/Tomcat not serving HTML

    mls3

      I can not get JBOSS with embeded Tomcat to serve HTML files. No problems serving JSP. I have tried plcaing them in a WAR and also unarchived. Any suggetions would be greatly appreciated.

        • 1. Re: JBoss/Tomcat not serving HTML
          kenevel

          Did you get this to work? We're trying to get JBoss (over Tomcat) to server static content from a root context. We're hoping to avoid having to put Apache over the top!

          Mike

          • 2. Re: JBoss/Tomcat not serving HTML
            jonlee

            There should be no issues with deploying static content as long as it is in a WAR. See the FAQ on changes to JBoss 3.2.0 for information on deploying a root context WAR for embedded Tomcat and Jetty servers. Also note that when there is a lot of static content to be served compared to dynamic content, a front-end Apache web server, IIS, etc is going to be better performance wise as the native code web server will handle static file access much faster. YMMV.