Re: Adding Host/ withOUT server restart?

2004-12-21 Thread Peter Rossbach
HEy Robert, I think you have also a jk2.properties at conf dir with channelSocket.port=8009 ! You are right you can also use the jk2.properties, but I preferred the direct server.xml configuration (Default 5.5). The example configured the RMI JMX Adaptor: mx.enabled=true mx.jrmpPort=1099

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Peter Rossbach
Hello Robert, you can to this via JMX MBeanFactory ( createStandardHost, removeStandardHost). public String createStandardHost(String parent, String name, String appBase, boolean autoDeploy, boolean deployXML, boolean

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Robert Hunt
Peter, I added the mx4j-tools.jar to the classpath and Connector/ node as noted. I had to add 'port=9050' to the Connector/ node to skew it away from the 8009 default. But now I'm stuck; what front-end should be used? You instructions conflict with what's found here:

Adding Host/ withOUT server restart?

2004-12-19 Thread Robert Hunt
Is there a way/example to add a virtual host programmatically *WITHOUT* having to edit server.xml (adding another Host/ node) and restarting the server? (If you're about to say, Use the admin web app, then see this: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg143691.html )