Originally posted by Michael Arnett:
Thanks for the info Kyle. One other question: Is it possible to have classpath elements relative to the server's root directory, rather than relative to the ear's root directory or the web application's root directory?
Thanks again,
-MLA
That would require knowing about the internal structure of the appserver and violate the portability of the webapps. And, in extreme cases, wouldn't even exist.
For example, I run JOnAS for EJBs,
Tomcat for servlets/JSPs and Apache for the front-end. The Tomcat components are placed in OS binary directories, not in a special directory all their own. So what would be the "server directory???"
If you
do need such creatures, the best way to map them is via an environment definition. But make sure you really
do need them!