tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Hi On tomcat 6.0.18 i need to set the classpath of a webapp, its the only webapp running inside this tomcat. i believe i need to do something like the following in the web.xml context-param param-nameclasspath/param-name param-value/my/webapp/conf/param-value /context-param but this seems

Re: tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Why not use WEB-INF/lib directory? quite a long story BUT that locations contains _default_ setting ie those for dev and when it goes into prod i need to override those with settings from the config directory - so i need to be able to manipulate it on the fly so to speak while still being

Re: tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Is the difference only between configuration files, or between jar files also? I suggest to keep such configuration file outside of webapp - e.g. in ${tomcat}/lib/classes. So you'll have dev tomcat setup, prod tomcat setup and one war file. it is only configuration files - no jar changes.