Previously I was running my ear under JBoss 3.0.1, and in the stock "run.sh" script I would specifiy an extra option to the JVM: "-Djava.io.tmpdir=../tmp" and my webapp would get expanded in that directory.
Unfortunately, after upgrading to JBoss 3.0.3, the system no longer honours this setting and stubbornly expands my webapps in "/tmp". I've found out that if I set the TEMP environment variable, I can have the system expand my webapps where I want. But ultimately I want to be able to run my application as a Windows Service, and in that enviroment I will not be able to set a specific environment variable prior to launch. Some "-D" switch would be preferred.
I am running RH 7.3, JDK 1.4.0 / JRE 1.4.0, and now JBoss 3.0.3.
I've been looking at the java code, both the jboss and the jetty code - and cannot see what is going wrong....
... ups, sorry, my fault...
JAVA_OPTS=" ..... "
which I changed to:
JAVA_OPTS=" ..... " -Djava.io.tmpdir=../tmp
That didn't work ... big surprise .. but:
JAVA_OPTS=" ..... -Djava.io.tmpdir=../tmp"
works fine. If you've gotten this far in my two postings, then I'm terribly sorry for wasting your time - have a nice day.