How to override default camel-jetty component 404 page

Solution In Progress - Updated -

Issue

We have a Camel application that uses the jetty component to expose several endpoints:

<from uri="jetty:http://<hostname>:9191/test/service1" />

and

<from uri="jetty:http://<hostname>:9191/test/service2" />

When browsing to "http://<hostname>:9191/" a default 404 page is presented and says it is "Powered by Jetty//". For security reasons we cannot display "Powered by Jetty//".

We'd like to disable this default page or modify it or replace it.

How do we do it?

Environment

  • JBoss Fuse 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.