I tried to replicate your situation. I deployed the attached war in JBoss-3.0.2 with Jetty and the output was this --> My location is 'C:\Apps\JBoss\server\default\deploy\apptest.war'.
I have to try it with Jboss-3.0.3-Tomcat-4.1.12, etc.
I tried it with jboss-3.0.3_tomcat-4.1.12 too. Result:
My location is 'D:\jboss-3.0.3_tomcat-4.1.12\server\default\deploy\apptest.war\'.
First of all: thank you for your replies. I downloaded your attach war file and deployed it to my Jboss installation. I got the following output:
My location is 'null'.
I am using JBoss on a SuSE linux 8.1 machine (not windows like you do). Could there be a problem with directory permissions? (Java 1.4.1)
I think so. My plan is to migrate to RedHat 7.1. I'll try it again. Please stand by.