OK, you are able to either attach some sort of jetty configuration either by attaching a fragment with a jetty.xml and you are able to configure to look for an external jetty configuration file. This might help. Another thing which is always working use the ServiceWrapper from Tanukisoft. That ServiceWrapper starts a process which itselfs starts a java process. With that one I was always able to use JBoss, Tomcat or Karaf with Port 80.
On the other hand, IMHO from a system-architecture view it is always good to place a pure Http-Server like Apache in front of Servlet Containers and do a mod_proxy connection to the servlet container. Achim > Yeah, we know how to do that with no problem. The problem is that you can't > start up on unix listening on port 80 unless you're root. We obviously don't > want to have to run as root, so this is a problem. > > Jetty has a solution for this which involves a deploying a native library and > loading a jetty-setuid.xml configuration file before other configuration. > The process is defined here: > > http://docs.codehaus.org/display/JETTY/port80 > > See the section labeled "Using Jetty's setuid (and setumask) feature". So > ... my question is how might I introduce a "jetty-setuid.xml" file that is > loaded first when using PAX Web? > > Troy > > -----Original Message----- > From: general-boun...@lists.ops4j.org > [mailto:general-boun...@lists.ops4j.org] On Behalf Of Achim Nierbeck > Sent: Friday, February 04, 2011 3:00 AM > To: General OPS4J > Subject: Re: Configuring Jetty to use jetty-setuid feature in PAX Web > > Hi, > > well it's quite easy to configure pax-web to use port 80. > You either configure it using the configuration admin or as > fall back you can use a property file. There should be > some documentation in the wiki about that :) > > regards, Achim > > 2011/2/3 Troy Waldrep <troy.wald...@pervasive.com>: >> Hello all, >> >> We're running on Karaf with Equinox. The web container is configured >> through PAX Web. We need to configure the web container to run on port 80 >> on a Linux box. The best way that we could figure to do this is to use the >> jetty-setuid feature. We've compiled the platform-specific library >> (libsetuid.so) and configured the jetty-setuid.xml. This works when running >> jetty stand-alone. We're a little confused about how to inject the >> configuration using PAX Web. Has anyone done this before, or is there a >> general pattern that we're missing? >> >> Thanks in advance, >> >> Troy Waldrep >> >> >> >> _______________________________________________ >> general mailing list >> general@lists.ops4j.org >> http://lists.ops4j.org/mailman/listinfo/general >> > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general