You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Horn, Rob" <Ro...@sbs.siemens.co.uk> on 2002/08/09 13:59:52 UTC
RE: Is it possible to include via a directive snippets into the s
erver.xml file
Spot on !
Thanks
Rob
-----Original Message-----
From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de]
Sent: 09 August 2002 11:28
To: Tomcat Users List
Subject: AW: Is it possible to include via a directive snippets into the
server.xml file
AFAIK tomcat 4.1 has something like that. (Can't
find the pointer to that, but there was a post from
Craig about that a while ago in this list)
If you have to use 4.0 you could use a preprocessor
and an shellscript that create server.xml from seperate
files from the two teams:
E.g.:
conf/server.xml.m4:
<!-- Everything before the contexts from the
infrastructure team
-->
include('conf/context.xml')
<!-- Everything after the contexts from the
infrastructure team
-->
conf/context.xml
<!-- Everything from the development -->
bin/htstart:
#!/bin/sh
JAVA_HOME=/usr/local/java/jdk1.3.1
CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3
CATALINA_BASE=/www/develop/www.tomcat.de
export JAVA_HOME CATALINA_HOME CATALINA_BASE
cd ${CATALINA_BASE}
m4 conf/server.xml.m4 > conf/server.xml
${CATALINA_HOME}/bin/startup.sh
-----Ursprüngliche Nachricht-----
Von: Horn, Rob [mailto:Rob.Horn@sbs.siemens.co.uk]
Gesendet: Freitag, 9. August 2002 11:19
An: 'tomcat-user@jakarta.apache.org'
Betreff: Is it possible to include via a directive snippets into the
server.xml file
Within our project we have an overlap of responsibility between the
infrastructure team who are responsible for building the application
servers and the development team who are responsible for delivering an
application ready for deployment.
The overlap centres on server.xml
The infrastructure guys need to put host specific information into
server.xml
The development guys are dependent on a context definition and resources
defined within it.
My question is therefore ... is it possible to "include" a snippet for
the context that the development team can maintain into the
infrastructure maintain server.xml file.
Cheers
Rob Horn
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>