On 12/09/2010 09:59, Wesley Acheson wrote: > Hi, > > I'm looking at adding a host node to server.xml on the 6.0 branch via > host manager, If I get this correct there can be more than one service > node which in turn has one Engine which contains the hosts. > > So assuming there are multiple Service nodes how do I know which > Engine node to add the Host node to?
Take a look at how the Host manager adds hosts currently. It will add them to the correct engine. > does (Service) host.getParent() make sense, If so is service name both > compulsory and guaranteed to be unique? Get the correct engine the way host manager does (or something similar). You then want engine.getService() Yes, you can safely assume service names are a) non-null and b) unique. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org