Hello, I'm writing an application to support multiple clients using the same tomcat application. For security purposes I want each client to have there own database schema and subsequently their own subdomain i.e. sub1.domain.com, sub2.domain.com etc.
I know I can update the server.xml file and add extra resource tags and extra alias tags for each new client but I don't want the tomcat server to be restarted because this would interupt the service/application to other clients. So basically the question is how can I do this without having to stop and start the tomcat service? Is there a <Alias> wildcard option like: <Alias>*.domain.com</Alias> that will automatically allow all subdomains to go through to this tomcat application? Maybe there should be something similar as the <Valve> option for RemoteHostValve and RemoteAddrValve? I have been playing with the context.xml file in the conf/[engine]/[host]/ROOT.xml file and I have been able to add more db resources in there but the problem with this is that a client can also unsubscribe from my application which would mean I would remove the resource entry from the ROOT.xml file and then this is being undeployed deleting all content from the docBase folder which is of course not what I want. Any help would be much appreciated. Thanks Ray --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org