Quote from: http://www.coredevelopers.net/technology/jetty/jetty-jboss-faq.jsp

"I want to change where Jetty writes it's temporary files. (revised: 02/06/2003)
Jetty, being a good java citizen, respects the 'java.io.tmpdir' property (defaults to /tmp on Unix). Try setting this as you start up JBoss (see the following item) to your required directory e.g. $JBOSS_HOME/server/default/tmp."


So basically, set the java.io.tmpdir -D property when jboss starts up (edit your run.sh script or set it in your $JAVA_OPTS).

Hope this helps,
David


Lars Hoss escribió::
Hi all!

Is it possible to tell Jetty not to store the work files below /tmp (using Linux)?
Currently whenever I start Jetty it creates a directory like "Jetty_0_0_0_..." below /tmp.
This isn't very feasible because our cronjob removes files below /tmp after some days
of inactivity. Setting the "scratchdir" variable in webdefault.xml isn't very useable as well for the work
files of all webapps will go into one single directory.


Any suggestions?

Thanks in advance,
Lars



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


--

---------------------
David Ward
[EMAIL PROTECTED]
http://www.dotech.com



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to