could we have the rest of the stacktrace - and some context from the log would be useful.
No need. I figured it out. It was related to the getRealPath() call on the servlet context. It was returning null so I moved to calling the getResourceAsStream() call and it works fine in JBOSS 3.0.x.