I have an ear file which contains a war archive. When I deploy the ear file and start the server the ear file is exploded to a directory structure but the war archive still remains as a packed file in the ear directory. This means that calls to ServletContext.getRealPath() from my web application returns null. Which causes errors in my web app.
I tried deploying my ear file in Jboss 4.0.1 and it exploded both the ear as well as the war within it to the tmp folder. Hence my web application works fine iin 4.0.1. Is there any configuration parameter that I need to set to get it to work in JBoss 3.2.3?, so that the war withing the ear is unpacked as well.