Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-16

scratchdir fails for multi-user installs

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossWeb embedded - AS 4.0.1
    • Fix Version/s: JBossWeb-2.1.1.GA
    • Component/s: Tomcat
    • Labels:
      None

      Description

      The setup was the basic multi-user scenario described in the dev environment admin training slides (module 8). Each user has his own data/tmp/deploy directory, but the conf directory is shared between all users and not writable.

      This produces a a FATAL log message:

      11:37:06,717 FATAL [EmbeddedServletOptions] The scratchDir you specified:
      /private/tmp/jboss-4.0.2/server/test/work/jboss.web/localhost/jmx-console is unusable.

      This also causes exceptions when the server shuts down.

      The jboss.web directory should probably go under the data or tmp directory so that it can exist on a per-user basis. Another option is to allow variable substitution in the server.xml file so that the scratchdir can be set based on the $[user.name} property.

      See the admin module 8, slides 5-16 for the complete configuration if my description isn't clear.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                norman.richards Norman Richards
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: