DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42712>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42712 Summary: Hot deployment not working properly Product: Tomcat 5 Version: 5.5.23 Platform: Other OS/Version: Windows XP Status: NEW Severity: blocker Priority: P1 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have done several test when doing hot deployment: I'm using Tomcat server 5.5.23 + compat package 5.5.23 for JDK1.4 When putting the database resources(JOTM) in the server.xml hot deployment will be ignored. To do the deployment the server needs to be restarted. I know the properties are correctly set as they work when I put them in the tomcat_server/conf/context.xml file. Is there a way we can set the resources globally + using hot deployment? Solution 1 and 2: Works but are not useful for a production environment. 1) When putting the resources in the tomcat_server/conf/context.xml, hot deployment will work. The drawback is that there can only be 1 context be defined for the Tomcat server. This means that we can only run 1 application on 1 Tomcat server. This option I cannot use as I need to be able to several applications on 1 Tomcat server. 2) When putting the resources in the META-INF/context.xml directory of the web application. This solution works properly. This implies that we need to build a new war file for each environment. But our company policy is that we need to be able to deploy the same war file on different environments. Thanks in advance, Guy -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]