2 Replies Latest reply on Jun 22, 2011 7:01 AM by ms82

    Webapp in context root of FuseESB

    ms82

      Hi all - After some progress with FuseESB we have managed to deploy all of our service bundles to /cxf. Instead of having the message:

       

      "HTTP ERROR: 404

      Problem accessing /. Reason:

       

          NOT_FOUND"

       

      In context root of the server we want add a custom page with some links and site information, plain html as a webapp. What is best practise to do this? Deploy in FuseESB or in some way redirect to a tomcat instance?

       

      Thanks,

       

      Mikael

        • 1. Re: Webapp in context root of FuseESB
          ffang

          Hi,

           

          As cxf http-osgi transport use pax-web underlying, and pax-web use jetty underlying,

          I think you can configure some jetty handlers to do so.

          Take a look at to get more details, you may need configure jetty.xml in a fragment bundle as described by for previously released FUSE ESB.

           

          But with latest released apache-servicemix-4.4.0-fuse-00-27, we already have a jetty.xml in $FUSE_ESB/etc folder where you can configure jetty directly.

          http://wiki.ops4j.org/display/paxweb/AdvancedJettyConfiguration

           

          Freeman

          • 2. Re: Webapp in context root of FuseESB
            ms82

            Thanks again Freeman for your assistance, really valuable. Will have a look at this and see if it works. We are currently on 4.3 but it's not a problem to get 4.4 running and then get the latest configuration for jetty.

            Mikael