Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] oejw.StandardDescriptorProcessor:main: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet

Hello,

to serve a static (only HTML files and images) virtual host I have created the following /var/www/jetty-base/webapps/afarber.de.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
    <New id="root" class="java.lang.String">
        <Arg>/var/www/html/afarber.de</Arg>
    </New>

    <Set name="contextPath">/</Set>
    <Set name="virtualHosts">
            <Array type="java.lang.String">
                    <Item>afarber.de</Item>
                    <Item>www.afarber.de</Item>
            </Array>
    </Set>
    <Set name="resourceBase"><Ref refid="root" /></Set>
    <Set name="welcomeFiles">
        <Array type="string">
                <Item>index.html</Item>
                <Item>index.php</Item>
        </Array>
    </Set>
</Configure>

And it works well, but prints a warning at the start-up:

INFO::main: Logging initialized @196ms
INFO:oejs.Server:main: jetty-9.3.10.v20160621
INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///var/www/jetty-base/webapps/] at interval 1
INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@2b98378d{/,file:///var/www/html/slova.de/,AVAILABLE,slova.de}
INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@57536d79{/,file:///var/www/html/afarber.de/,AVAILABLE,afarber.de}
INFO:oejs.AbstractConnector:main: Started ServerConnector@fcd6521{proxy,[proxy, http/1.1]}{0.0.0.0:8080}
INFO:oejs.Server:main: Started @495ms

I am not planning to use JSP, is there please a way to silence this warning?

Do I have to specify a different handler for WebAppContext and how to do it in XML?

Thank you
Alex


Back to the top