Thank you for your response.

server.xml is read only once, but, with the Tomcat Admin Tool, we can increase 
this config and save it.
So, I think the only (perhaps?) missing feature to do the creation of the Host 
is the ability to declare the privileged=true within the Context Manager.

I'll try to declare a bug for this.
Thank you.

On Wed, 12 Jan 2005 07:51:20 -0500
"Parsons Technical Services" <[EMAIL PROTECTED]> wrote:

> I may be incorrect, but in all I have read, the server.xml is only read 
> once, during Tomcat startup. This is the reason for the context.xml fragment 
> files which can be read and loaded without a restart.
> 
> So the answer is it can't be done at this point. To the best of my 
> knowledge.
> 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/serverStartup.txt
> Section b4
> 
> Doug
> 
> ----- Original Message ----- 
> From: "Lionel Farbos" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, January 12, 2005 6:38 AM
> Subject: Re: new Host without restarting Tomcat
> 
> 
> > So nobody knows how to deploy a new Host without the restart of Tomcat ?
> >
> > On Tue, 11 Jan 2005 16:05:06 +0100
> > Lionel Farbos <[EMAIL PROTECTED]> wrote:
> >
> >> Hi all,
> >>
> >> I'd want to create and deploy new Virtual(s) Host(s) and Contexts without 
> >> having to restart the entire Tomcat Server (4.1.31 or 5.0.28).
> >> This works if my Host(s) exist in server.xml when I start Tomcat (I 
> >> follow 
> >> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html).
> >>
> >> BUT, if I want to create and deploy new Hosts before deploying new 
> >> Contexts, I don't succeed (I tried this with the Tomcat Admin tool and 
> >> the Tomcat Manager Tool)
> >>
> >> In my test, I create a new Host (myHOST) with the Tomcat Admin tool. I 
> >> put a Logger and a manager Context into it.
> >> The problem is :
> >> With the Admin GUI, it is not possible to put privileged=true,
> >>
> >> so, when I launch http://myHost:8080/manager/html/list,
> >> I have a SecurityException because the HTMLManagerServlet est privileged 
> >> and cannot be loaded by this web app...
> >>
> >> I don't find a solution in the mailing lists, so,
> >> what is the solution for this ?
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to