Re: include files in server.xml?

2003-01-08 Thread paul miller
Can some one post an example on how to do this.
I would love it if my app's web.xml could include another xml file

This is what I have tried with no luck

  !DOCTYPE web-app
  PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/dtd/web-app_2_3.dtd;
  [
   !ENTITY section1 SYSTEM /WEB-INF/section1.xml
  ]

  section1;

various paths to section1.xml did not change the error message:

2003-01-08 12:24:39 ContextConfig[] Parse error in application web.xml
java.io.FileNotFoundException
at org.apache.naming.resources.DirContextURLConnection.getInputStream(Unknown
Source)


thanks

--- Bill Barker [EMAIL PROTECTED] wrote:
 You can use XML Entities to do it.  There isn't a specific tag to include a
 file.
 
 Matthew Boeckman [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  I'm wondering if tomcat-4.1.12 supports include files, similair to
  apache in the server.xml file?
 
  I have to support dozens of virtual hosts, and wanted to break each's
  config out into their own include.
  --
  Matthew Boeckman (816) 777-2160
  Manager - Systems Integration Saepio Technologies
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




RE: include files in server.xml?

2003-01-08 Thread Turner, John

Not sure about web.xml, but check today's thread server.xml DTD? for a
discussion and working example of how to do this in server.xml.

John


 -Original Message-
 From: paul miller [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 12:27 PM
 To: Tomcat Users List
 Subject: Re: include files in server.xml?
 
 
 Can some one post an example on how to do this.
 I would love it if my app's web.xml could include another xml file
 
 This is what I have tried with no luck
 
   !DOCTYPE web-app
   PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtd/web-app_2_3.dtd;
   [
!ENTITY section1 SYSTEM /WEB-INF/section1.xml
   ]
 
   section1;
 
 various paths to section1.xml did not change the error message:
 
 2003-01-08 12:24:39 ContextConfig[] Parse error in application web.xml
 java.io.FileNotFoundException
   at 
 org.apache.naming.resources.DirContextURLConnection.getInputSt
 ream(Unknown
 Source)
 
 
 thanks
 
 --- Bill Barker [EMAIL PROTECTED] wrote:
  You can use XML Entities to do it.  There isn't a specific 
 tag to include a
  file.
  
  Matthew Boeckman [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   I'm wondering if tomcat-4.1.12 supports include files, similair to
   apache in the server.xml file?
  
   I have to support dozens of virtual hosts, and wanted to 
 break each's
   config out into their own include.
   --
   Matthew Boeckman (816) 777-2160
   Manager - Systems Integration Saepio Technologies
  
  
  
  
  --
  To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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]




RE: include files in server.xml?

2003-01-08 Thread Turner, John

That thread should be DTD for server.xml??

John

 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 12:29 PM
 To: 'Tomcat Users List'
 Subject: RE: include files in server.xml?
 
 
 
 Not sure about web.xml, but check today's thread server.xml 
 DTD? for a
 discussion and working example of how to do this in server.xml.
 
 John
 
 
  -Original Message-
  From: paul miller [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 08, 2003 12:27 PM
  To: Tomcat Users List
  Subject: Re: include files in server.xml?
  
  
  Can some one post an example on how to do this.
  I would love it if my app's web.xml could include another xml file
  
  This is what I have tried with no luck
  
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web 
 Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
[
 !ENTITY section1 SYSTEM /WEB-INF/section1.xml
]
  
section1;
  
  various paths to section1.xml did not change the error message:
  
  2003-01-08 12:24:39 ContextConfig[] Parse error in 
 application web.xml
  java.io.FileNotFoundException
  at 
  org.apache.naming.resources.DirContextURLConnection.getInputSt
  ream(Unknown
  Source)
  
  
  thanks
  
  --- Bill Barker [EMAIL PROTECTED] wrote:
   You can use XML Entities to do it.  There isn't a specific 
  tag to include a
   file.
   
   Matthew Boeckman [EMAIL PROTECTED] wrote in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm wondering if tomcat-4.1.12 supports include files, 
 similair to
apache in the server.xml file?
   
I have to support dozens of virtual hosts, and wanted to 
  break each's
config out into their own include.
--
Matthew Boeckman (816) 777-2160
Manager - Systems Integration Saepio Technologies
   
   
   
   
   --
   To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 --
 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]




include files in server.xml?

2003-01-07 Thread Matthew Boeckman
I'm wondering if tomcat-4.1.12 supports include files, similair to 
apache in the server.xml file?

I have to support dozens of virtual hosts, and wanted to break each's 
config out into their own include.
--
Matthew Boeckman			(816) 777-2160
Manager - Systems Integration		Saepio Technologies


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



Re: include files in server.xml?

2003-01-07 Thread Bill Barker
You can use XML Entities to do it.  There isn't a specific tag to include a
file.

Matthew Boeckman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I'm wondering if tomcat-4.1.12 supports include files, similair to
 apache in the server.xml file?

 I have to support dozens of virtual hosts, and wanted to break each's
 config out into their own include.
 --
 Matthew Boeckman (816) 777-2160
 Manager - Systems Integration Saepio Technologies




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