Thank you Daniel
The following did the job in Resin 4 when inserted in the <web-app>
<!-- Specify per-server instance work and temp directories
- where there are multiple Resin servers on a single
- physical host to ensure different instances do not clash.
- If clustering is changed to server per physical host these
- can safely be removed -->
<temp-dir>${webApp.root}/WEB-INF/tmp/${server.id}</temp-dir>
<work-dir>${webApp.root}/WEB-INF/work/${server.id}</work-dir>
On 28/09/2011 16:29, Daniel López wrote:
> Hi Alan,
>
> Given that Resin by default creates work and tmp directories in the
> WEB-INF directory of each application, it might be risky to 3 instances
> of the application fiddling with those files, so it might be better to
> separate those directories per instance.
> I haven't done so with 4.X so I can't offer you a complete sample
> configuration file, but using:
> <temp-dir>: http://caucho.com/resin-4.0/reference.xtp#tempdir
> and
> <work-dir>: http://caucho.com/resin-4.0/reference.xtp#workdir
> along with the ${server.id} should do the trick.
>
> You might want to do something similar with the log files to distinguish
> between them, for example in Resin 3 we use something like:
> <log ...path="${resin.conf}/../../logs/resin-${server.id}.log" ...
> so we get a log file per server.
>
--
Alan Wright
Athene Systems
tel 0845 230 9803
Athene Systems Limited
Registered Office:
Shieling House
Invincible Road
Farnborough
GU14 7QU
Registered in England and Wales No. 3156080
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest