I'm having the same problems on jetty 6.1.24-6. Is there any system configs i 
can/should alter to make this work?

 

/etc/default/jetty

NO_START=0

VERBOSE=yes

#JETTY_USER=jetty

JETTY_USER=root

JETTY_HOST=0.0.0.0

JETTY_PORT=80

 

jetty-setuid.xml:

<Configure id="Server" class="org.mortbay.setuid.SetUIDServer">

  <Set name="startServerAsPrivileged">false</Set>

  <Set name="umask">2</Set>

  <Set name="uid">104</Set>

  <Set name="gid">107</Set>

 

jetty:conf:

# list of jetty configuration and property files

/etc/jetty/jetty-setuid.xml

/etc/jetty/jetty-logging.xml

/etc/jetty/jetty.xml

/etc/jetty/jetty-ssl.xml

/etc/jetty/jetty-shared-webapps.xml

 

log:

245 [main] INFO org.mortbay.log - Setting umask=02

246 [main] INFO org.mortbay.log - jetty-6.1.24

281 [main] INFO org.mortbay.log - Deploy /etc/jetty/contexts/javadoc.xml -> 
org.mortbay.jetty.handler.ContextHand$

393 [main] INFO org.mortbay.log - Opened /var/log/jetty/2011_04_12.request.log

407 [main] WARN org.mortbay.log - failed SelectChannelConnector@0.0.0.0:80: 
java.net.SocketException: Permission $

427 [main] WARN org.mortbay.log - failed SslSocketConnector@0.0.0.0:443: 
java.net.BindException: Permission denied

427 [main] WARN org.mortbay.log - failed SetUIDServer@3a56860b: 
org.mortbay.util.MultiException[java.net.SocketEx$

427 [main] WARN org.mortbay.log - EXCEPTION

org.mortbay.util.MultiException[java.net.SocketException: Permission denied, 
java.net.BindException: Permission d$

        at org.mortbay.jetty.Server.doStart(Server.java:188)

...

 

Best regards,

Andreas

Reply via email to