Jetty fails to start after first time

Bug #607202 reported by Michele Renda
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jetty (Debian)
Fix Released
Unknown
jetty (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Maverick by Michele Renda

Bug Description

Binary package hint: jetty

How to reproduce this bug:

  - Install Jetty 6.1.24-5
  - change NO_START variable in /etc/default/jetty
  - sudo /etc/init.d/jetty stop
  - sudo /etc/init.d/jetty start

  It will print "Starting Jetty servlet engine" and then return very fast to shell prompt.

Why it happens:
  This is a problem with "rotatelogs" utility in /etc/init.d/jetty.
  Version Jetty 6.1.22-1ubuntu1 has not this problem.
  Version Jetty 6.1.24-5 in Debian has this problem. Previous version in Debian has not this problem.

How to work around:
  There are two ways to work aroud.
  a) To delete /var/log/out.log and to start jetty with "sudo /etc/init.d/jetty start" (the problem will appear again next time you will have to restart jetty).
  b) To revert the lines of /etc/init.d/jetty to launch rotatelogs as jetty user:
      - $ROTATELOGS "$LOGDIR/out.log" 86400 \
      - < "$LOGDIR/out.log"
  >>>>>>>>
     + sudo -b -u $JETTY_USER $ROTATELOGS "$LOGDIR/out.log" 86400 \
     + < "$LOGDIR/out.log"

This bug have to be reported to Debian too.

description: updated
Revision history for this message
Michele Renda (mic-renda) wrote :

I think this bug was inserted trying to fix this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580639

Revision history for this message
Michele Renda (mic-renda) wrote :
Changed in jetty (Debian):
status: Unknown → New
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Fixed in jetty 6.1.24-6. Benjamin, can you take care of the sync?

~Niels

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jetty - 6.1.24-6

---------------
jetty (6.1.24-6) unstable; urgency=medium

  * Removed Depends on JREs for library packages, no longer required
    by the policy.
  * Added missing depends on JREs for the jetty package.
  * Made init script ignore weird exit statuses from logrotate.
    (Closes: 589681, LP: #607202)
  * Fixed broken restart command in jetty init script. Was missing a
    negation.
 -- Benjamin Drung <email address hidden> Mon, 05 Jul 2010 22:28:14 +0200

Changed in jetty (Ubuntu):
status: New → Fix Released
Changed in jetty (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.