Jetty

Jetty instances share same tmp working directory

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I need to run a number of different jetty instances on the same Linux
machine. Using jetty-4.2.24 each instance creates its own 'work'
directory within /tmp using the 'Jetty_ip_port__webapp' format which is
great.

However I need to use jetty-6 and can't get it to specify a unique work
directory for each instance. All of them share the same
/tmp/Jetty__webapp directory, which creates problems.

Activity

Hide
Jan Bartel added a comment -

Fixed by adding 8 random letters/digits to the end of the tmp dir name when it is generated by jetty.

Show
Jan Bartel added a comment - Fixed by adding 8 random letters/digits to the end of the tmp dir name when it is generated by jetty.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: