Bug#554853: jetty: Jetty is unable to run on port 80

Andreas Åkesson andreas.akesson at avalanchestudios.se
Tue Apr 12 08:54:44 UTC 2011


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 at 0.0.0.0:80: java.net.SocketException: Permission $

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

427 [main] WARN org.mortbay.log - failed SetUIDServer at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20110412/913bd4e7/attachment.htm>


More information about the pkg-java-maintainers mailing list