1 Reply Latest reply on Oct 17, 2002 8:07 AM by Jakob Dalsgaard

    java.io.tmpdir in Jboss (Jetty) 3.0.3

    Jakob Dalsgaard Newbie

      Hi jbossers

      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....

      Regards Jakob