Hi!
How can I install a jar package at $CATALINA_HOME/lib at Tomcat *runtime* such that webapps may use its contents right after installation (without restarting Tomcat, since this is not possible remotely)? The intended sequence is: - start Tomcat - install a new webapp using the Tomcat manager app remotely - start the new webapp: this initially copies a new package shrd.jar into $CATALINA_HOME/lib (-maybe restart the new web app) - use the new shrd.jar package within the new web app (currently, this raises a java.lang.NoClassDefFoundError) In case a new version of the webapp is available: - shut down old webapp version - install new version under new webapp path (since if the old one is used, the old files are not overwritten by the manager) - use new webapp version with already loaded package shrd.jar Tchnical background: I have to install the shrd.jar package in a shared place since it relates to some native library that is also copied into the Tomcat tree at runtime and initialized and started the first time, the shared package is used. If shrd.jar is copied into the webapp's WEB-INF/lib directory, it would be loaded separately for each web app instance. Thus, the new web app instance would load a new shrd.jar instance which does not have any reference to the already loaded native library. Another and even better solution to this and some other problems we have, would be to remotely restart Tomcat (i.e. its JVM)! Might this be possible? Any hint would be appreciated! Best regards, Hans PS: Please see also the related bug-report/request for enhancement #5858: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5858 hS -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>