[jboss-jira] [JBoss JIRA] Commented: (JBWEB-16) scratchdir fails for multi-user installs

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Wed Nov 28 08:05:46 EST 2007


    [ http://jira.jboss.com/jira/browse/JBWEB-16?page=comments#action_12389596 ] 
            
Remy Maucherat commented on JBWEB-16:
-------------------------------------

The only real option to make it automagical is to use a random folder name inside temp, but this does not work well as there's a possible expectation by some users that the work folder is persistent (it can be used for session persistence, keeping compiled JSPs, etc). Using "catalina.base" uses Tomcat's multi-user capabilities, which makes it work.

Unless someone comes up with a brilliant idea, I'll resolve this as "won't fix".

> scratchdir fails for multi-user installs
> ----------------------------------------
>
>                 Key: JBWEB-16
>                 URL: http://jira.jboss.com/jira/browse/JBWEB-16
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tomcat Module
>    Affects Versions:  JBossWeb embedded - AS 4.0.1
>            Reporter: Norman Richards
>         Assigned To: Remy Maucherat
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list