RE: Load class from different web app

2005-11-04 Thread Michael Forster
: Load class from different web app Placing classes jdk/jre/lib/ext puts them into the system classloader. This opens a whole class of class not found errors and errors related to tomcat not reloading classes. (As well as memory leaks due to Classloaders not being freed) -Tim Michael Forster wrote

Re: Load class from different web app

2005-11-04 Thread Tim Funk
from different web app You are violating the servlet spec. Do not pass go, do not collect $200. Classes for a webapp need to be in WEB-INF/classes and WEB-INF/lib. Tomcat does allow for webapps to share classes via the $CATALINA_HOME/shared and $CATALINA_HOME/common directories but you'll ne

RE: Load class from different web app

2005-11-04 Thread Michael Forster
List Subject: Re: Load class from different web app You are violating the servlet spec. Do not pass go, do not collect $200. Classes for a webapp need to be in WEB-INF/classes and WEB-INF/lib. Tomcat does allow for webapps to share classes via the $CATALINA_HOME/shared and $CATALINA_HOME/common

Re: Load class from different web app

2005-11-04 Thread Tim Funk
You are violating the servlet spec. Do not pass go, do not collect $200. Classes for a webapp need to be in WEB-INF/classes and WEB-INF/lib. Tomcat does allow for webapps to share classes via the $CATALINA_HOME/shared and $CATALINA_HOME/common directories but you'll need to see the classloader

Load class from different web app

2005-11-03 Thread Steven Nakhla
I'm writing a web application (a portal app, to be specific) that needs to be able to load a class (using Class.forName(...)) that was deployed in a different web application from the one I am developing. I've deployed the target web app containing the class I want to load, but whenever I call Clas