JPublish WAR with JBoss 3.x-Tomcat 4.x

"Dan Hodnett" <[email protected]> Sun, 2 Mar 2003 22:29:22 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
any plans to support deployment of JPublish WARs to JBoss 3.x-Tomcat 4.x
environments? (I believe this is an issue with Weblogic 6.x, 7.x also)

The issue is, of course, that WARs are not unpacked when the server is launched,
and therefore the JPublishServlet fails to initialize because it cannot
read from config files under WEB-INF with the current implementation;

String rootDir = getServletContext().getRealPath("/"); // returns null
File contextRoot = new File(rootDir); // fails with NPE
Dan Hodnett