(0001543)
|
ckchris
|
10-13-06 13:16
|
|
I have done more testing and I believe I know what the problem is:
I put <work-dir> and <temp-dir> inside my app-default.xml's <web-app-default> tag. Within the tag, this is what I used:
<work-dir>${server.root}/work/${host.name}/${app.name}</work-dir>
<temp-dir>${server.root}/tmp/${host.name}/${app.name}</temp-dir>
Strangely, <temp-dir> is parsed fine and directory is created under ${server.root} (which is /var/resin). However, I get problems with <work-dir> and it always defaults to WEB/work.
When I change ${server.root} to "/var/resin" so that it becomes:
<work-dir>/var/resin/work/${host.name}/${app.name}</work-dir>
Everything works with this.
Am I using ${server.root} wrong or something? Also, my server.root is different from my resin.home.
Thanks |
|