Originally posted by Kavita Saluja:
The problem is that we have three application servers running under one node. Each App Server has a its own classpath set on the commandline and only one web application. We have just one servlet i.e the Front Controller catering to all the requests which is under the servlets directory (which also has the core components). Parallel to the servlet directory there is a classes directory in which we have all of our DAO's and VO's (i.e utility classes). Now everytime we make a change in any utility class we have to restart the server.
I wasnt able to find any information regarding this in the infocentre.
Can you please help?
Thanks in advance
What it comes down to is you're not using the classpaths right. First of all, don't put your classes in the directories that descend down from the application server installation directory. Create your own directory structure separate from the WebSphere installation. In a simple servlet/JSP application
you should never have a reason to use the classpath from the command line. You should be able to put everything on the web app classpath that is set in the Advanced Tab of the Web Application configuration page. That classpath is the one that is reloadable. If you put everything there, all you will have to do is restart the web app at the most, as I have mentioned earlier. Carefully read section 6.3.1 of the WebSphere AE 3.5 InfoCenter.
------------------
Kyle Brown,
Author of
Enterprise Java (tm) Programming with IBM Websphere