dynamically built server.xml

2002-11-22 Thread PERRIN GOURON Olivier
Hello,
I'm trying tomcat4.1 to run my application, and I need to define contexts
dynamically. I know this is done in server.xml, but the point is that my
/conf directory, where server.xml remains is read-only...  So, I think of 2
possibilities:
+tell tomcat not to look in /conf dir, but in another one I could
write in
+Inside server.xml, reference external documents that would be
replaced when tomcat reads server.xml Are these two solutions possible with
tomcat - and how ?
any third idea?

thanks
Olivier

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




RE: dynamically built server.xml

2002-11-22 Thread PERRIN GOURON Olivier


I read the docs, but couldn't find any solution but those I mentioned
My problem is that I run Tomcat from a CD-ROM...
I actually need to use virtual directories, which I want to define each
time I run Tomcat (virtual directory : I mean directories that can be
accessed with http://localhost:8080/myVirtualDir but that are not truly on
the appBase directory). 
I build these directories defining contexts in server.xml (the only way I
found to do that)
In the same way, I want to define the Host workDir dynamically... 


-Message d'origine-
De : Turner, John [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 22 novembre 2002 17:15
À : 'Tomcat Users List'
Objet : RE: dynamically built server.xml



Check the docs, specifically the Automatic Application Deployment section:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html#Automatic%2
0Application%20Deployment

John

 -Original Message-
 From: PERRIN GOURON Olivier [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 11:01 AM
 To: '[EMAIL PROTECTED]'
 Subject: dynamically built server.xml
 
 
 Hello,
 I'm trying tomcat4.1 to run my application, and I need to 
 define contexts
 dynamically. I know this is done in server.xml, but the point 
 is that my
 /conf directory, where server.xml remains is read-only...  
 So, I think of 2
 possibilities:
   +tell tomcat not to look in /conf dir, but in another 
 one I could
 write in
   +Inside server.xml, reference external documents that would be
 replaced when tomcat reads server.xml Are these two solutions 
 possible with
 tomcat - and how ?
 any third idea?
 
 thanks
 Olivier
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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

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