Re: server.xml DTD - where can I find it ?

2002-06-25 Thread Craig R. McClanahan



On Mon, 24 Jun 2002, Mykola A. Nickishov wrote:

> Date: Mon, 24 Jun 2002 20:13:55 +0300
> From: Mykola A. Nickishov <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: server.xml DTD - where can I find it ?
>
> "Craig R. McClanahan" <[EMAIL PROTECTED]> writes:
>
> > On Mon, 6 May 2002, João Luiz de Brito Macaíba wrote:
> >
> > > Date: Mon, 6 May 2002 11:03:55 -0300 (EST)
> > > From: João Luiz de Brito Macaíba <[EMAIL PROTECTED]>
> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: server.xml DTD - where can I find it ?
> > >
> > > Hi,
> > >
> > >   does anyone know where I can find the DTD for server.xml ?
> > >
> >
> > The official copy is in the servlet specification, which you can download
> > at:
> >
> >   http://java.sun.com/products/servlet/download.html
> >
> > For Tomcat 4, there is a copy of all the relevant DTDs buried in the
> > servlet.jar file that is in the common/lib directory.
>
> Craig, are you shure? I didn't find anything about Tomcat's DTD for
> server.xml in common/lib/servlet.jar file :(
>

Comes from answering the same questions too many times ... :-)

There are DTDs for web.xml in the servlet.jar file.  There is no such
thing as a DTD for server.xml and there never can be -- see previous
discussions about this in the mailing list archives.

> --
> /me @ home
> MAN-UANIC
>

Craig


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




RE: server.xml DTD - where can I find it ?

2002-06-25 Thread Ricky Leung

server.xml doesn't have a DTD, the web.xml's DTD is what that email was
about.


> -Original Message-
> From: Mykola A. Nickishov [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 1:14 PM
> To: Tomcat Users List
> Subject: Re: server.xml DTD - where can I find it ?
>
>
> "Craig R. McClanahan" <[EMAIL PROTECTED]> writes:
>
> > On Mon, 6 May 2002, João Luiz de Brito Macaíba wrote:
> >
> > > Date: Mon, 6 May 2002 11:03:55 -0300 (EST)
> > > From: João Luiz de Brito Macaíba <[EMAIL PROTECTED]>
> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: server.xml DTD - where can I find it ?
> > >
> > > Hi,
> > >
> > >   does anyone know where I can find the DTD for server.xml ?
> > >
> >
> > The official copy is in the servlet specification, which you
> can download
> > at:
> >
> >   http://java.sun.com/products/servlet/download.html
> >
> > For Tomcat 4, there is a copy of all the relevant DTDs buried in the
> > servlet.jar file that is in the common/lib directory.
>
> Craig, are you shure? I didn't find anything about Tomcat's DTD for
> server.xml in common/lib/servlet.jar file :(
>
> --
> /me @ home
> MAN-UANIC
>
> --
> 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: server.xml DTD - where can I find it ?

2002-06-25 Thread Mykola A. Nickishov

"Craig R. McClanahan" <[EMAIL PROTECTED]> writes:

> On Mon, 6 May 2002, João Luiz de Brito Macaíba wrote:
> 
> > Date: Mon, 6 May 2002 11:03:55 -0300 (EST)
> > From: João Luiz de Brito Macaíba <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: server.xml DTD - where can I find it ?
> >
> > Hi,
> >
> > does anyone know where I can find the DTD for server.xml ?
> >
> 
> The official copy is in the servlet specification, which you can download
> at:
> 
>   http://java.sun.com/products/servlet/download.html
> 
> For Tomcat 4, there is a copy of all the relevant DTDs buried in the
> servlet.jar file that is in the common/lib directory.

Craig, are you shure? I didn't find anything about Tomcat's DTD for
server.xml in common/lib/servlet.jar file :(

-- 
/me @ home
MAN-UANIC

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: server.xml dtd

2002-06-11 Thread Craig R. McClanahan



On Tue, 11 Jun 2002, Ricky Leung wrote:

> Date: Tue, 11 Jun 2002 13:27:27 -0400
> From: Ricky Leung <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: server.xml dtd
>
> I can't find the dtd anywhere and the documentation area only gives the
> explanation and not the order of the attributes and my guess is that the
> ordering is a must.

Ordering of attributes is *never* relevant, in server.xml or any other XML
document, unless you are using some really insane XML parser that actually
cares.  If you're using JAXP (as Tomcat does when parsing these things),
you get all the attribute values as what amounts to a Hashtable keyed by
attribute name, so you cannot tell what the original order was.

Ordering of elements is required (by the DTD) in web.xml, but not in
server.xml -- in general, ordering does not matter unless the objects you
are configuring depend on it.  However, correct *nesting* of elements is
absolutely critical.

>  Could someone point me to where the dtd where
> server.xml uses so I can just look it up myself?
>

There is no such DTD, and there never can be -- the set of possible object
implementation classes (and therefore the set of configuration properties
that are supported) is infinite.  For example, there is no way to define
the list of all possible attribute names for all possible 
implementations that anyone in the world might create.

Beyond this, nothing stops you from using extra elements that Tomcat does
not recognize, and parsing server.xml yourself.  As long as you
don't introduce any new nesting levels, Tomcat will simply ignore
these elements, because they don't match the patterns it is looking for.

> Thanks,
> Ricky
>

Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: server.xml dtd

2002-06-11 Thread Eric Everman

Last I had heard there was not a DTD for server.xml.  My guess is that this 
is because new versions of Tomcat have new features that would need to be 
reflected by a new version of the DTD - which would quickly lead to DTD 
sprawl.  And probably no one wants to do it. . .

And the server.xml file is not part of the servlet spec since it is at the 
heart of *how* a vendor implements the spec rather then what spec they 
implement.

Cheers,

Eric Everman


At 01:00 PM 6/11/2002, you wrote:
>That's exactly what I did, in fact, I looked at every single .jar file that
>was bundled with Tomcat and I didn't find a dtd that is for server.xml.  And
>that's why I have to ask the list.
>
>-Original Message-
>From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 1:52 PM
>To: Tomcat Users List
>Subject: RE: server.xml dtd
>
>
>Ricky -
> Sorry for the misinformation -- I thought they would both be in the
>servlet.jar.  But, in looking into it further, I don't see any DTD
>referenced in server.xml, nor do I see one in the servlet.jar.  I see doc on
>the Tomcat web site about all the elements in server.xml
>http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html.  But,
>maybe that doesn't completely answer your question about the order of
>things.
>
>Roger Whitcomb
>Computer Associates
>Senior Software Engineer
>Development
>Phone: +1 408 965 8653
>FAX: +1 408 965 8805
>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>-Original Message-----
>From: Ricky Leung [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 10:44 AM
>To: Tomcat Users List
>Subject: RE: server.xml dtd
>
>
>not the DTD for web.xml but the DTD for server.xml.
>
>-----Original Message-
>From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 1:35 PM
>To: Tomcat Users List
>Subject: RE: server.xml dtd
>
>
>According to one of the developers (Craig McClanahan) (posted last Friday):
>
> > Where can I find the DTD for web.xml? I want to make sure I have the
> > elements in the correct order.
> >
>
>It is in the servlet specification, which you can download from:
>
>   http://java.sun.com/products/servlet/download.html
>
>You can also extract the DTDs that Tomcat uses from the servlet.jar file
>that is in the "common/lib" subdirectory -- it looks at these internal
>copies so that DTD validation can occur even if your server is not
>connected to the Internet.
>
>Craig
>
>Roger Whitcomb
>Computer Associates
>Senior Software Engineer
>Development
>Phone: +1 408 965 8653
>FAX: +1 408 965 8805
>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>-Original Message-
>From: Ricky Leung [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 10:27 AM
>To: Tomcat Users List
>Subject: server.xml dtd
>
>
>I can't find the dtd anywhere and the documentation area only gives the
>explanation and not the order of the attributes and my guess is that the
>ordering is a must.  Could someone point me to where the dtd where
>server.xml uses so I can just look it up myself?
>
>Thanks,
>Ricky
>
>
>--
>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]>


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




RE: server.xml dtd

2002-06-11 Thread Ricky Leung

That's exactly what I did, in fact, I looked at every single .jar file that
was bundled with Tomcat and I didn't find a dtd that is for server.xml.  And
that's why I have to ask the list.

-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:52 PM
To: Tomcat Users List
Subject: RE: server.xml dtd


Ricky -
Sorry for the misinformation -- I thought they would both be in the
servlet.jar.  But, in looking into it further, I don't see any DTD
referenced in server.xml, nor do I see one in the servlet.jar.  I see doc on
the Tomcat web site about all the elements in server.xml
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html.  But,
maybe that doesn't completely answer your question about the order of
things.

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:44 AM
To: Tomcat Users List
Subject: RE: server.xml dtd


not the DTD for web.xml but the DTD for server.xml.

-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:35 PM
To: Tomcat Users List
Subject: RE: server.xml dtd


According to one of the developers (Craig McClanahan) (posted last Friday):

> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>

It is in the servlet specification, which you can download from:

  http://java.sun.com/products/servlet/download.html

You can also extract the DTDs that Tomcat uses from the servlet.jar file
that is in the "common/lib" subdirectory -- it looks at these internal
copies so that DTD validation can occur even if your server is not
connected to the Internet.

Craig

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:27 AM
To: Tomcat Users List
Subject: server.xml dtd


I can't find the dtd anywhere and the documentation area only gives the
explanation and not the order of the attributes and my guess is that the
ordering is a must.  Could someone point me to where the dtd where
server.xml uses so I can just look it up myself?

Thanks,
Ricky


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




RE: server.xml dtd

2002-06-11 Thread Whitcomb, Roger

Ricky - 
Sorry for the misinformation -- I thought they would both be in the
servlet.jar.  But, in looking into it further, I don't see any DTD
referenced in server.xml, nor do I see one in the servlet.jar.  I see doc on
the Tomcat web site about all the elements in server.xml
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/index.html.  But,
maybe that doesn't completely answer your question about the order of
things.

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:44 AM
To: Tomcat Users List
Subject: RE: server.xml dtd


not the DTD for web.xml but the DTD for server.xml.

-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:35 PM
To: Tomcat Users List
Subject: RE: server.xml dtd


According to one of the developers (Craig McClanahan) (posted last Friday):

> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>

It is in the servlet specification, which you can download from:

  http://java.sun.com/products/servlet/download.html

You can also extract the DTDs that Tomcat uses from the servlet.jar file
that is in the "common/lib" subdirectory -- it looks at these internal
copies so that DTD validation can occur even if your server is not
connected to the Internet.

Craig

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:27 AM
To: Tomcat Users List
Subject: server.xml dtd


I can't find the dtd anywhere and the documentation area only gives the
explanation and not the order of the attributes and my guess is that the
ordering is a must.  Could someone point me to where the dtd where
server.xml uses so I can just look it up myself?

Thanks,
Ricky


--
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: server.xml dtd

2002-06-11 Thread Ricky Leung

not the DTD for web.xml but the DTD for server.xml.

-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:35 PM
To: Tomcat Users List
Subject: RE: server.xml dtd


According to one of the developers (Craig McClanahan) (posted last Friday):

> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>

It is in the servlet specification, which you can download from:

  http://java.sun.com/products/servlet/download.html

You can also extract the DTDs that Tomcat uses from the servlet.jar file
that is in the "common/lib" subdirectory -- it looks at these internal
copies so that DTD validation can occur even if your server is not
connected to the Internet.

Craig

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:27 AM
To: Tomcat Users List
Subject: server.xml dtd


I can't find the dtd anywhere and the documentation area only gives the
explanation and not the order of the attributes and my guess is that the
ordering is a must.  Could someone point me to where the dtd where
server.xml uses so I can just look it up myself?

Thanks,
Ricky


--
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: server.xml dtd

2002-06-11 Thread Whitcomb, Roger

According to one of the developers (Craig McClanahan) (posted last Friday):

> Where can I find the DTD for web.xml? I want to make sure I have the
> elements in the correct order.
>

It is in the servlet specification, which you can download from:

  http://java.sun.com/products/servlet/download.html

You can also extract the DTDs that Tomcat uses from the servlet.jar file
that is in the "common/lib" subdirectory -- it looks at these internal
copies so that DTD validation can occur even if your server is not
connected to the Internet.

Craig

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED]  


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:27 AM
To: Tomcat Users List
Subject: server.xml dtd


I can't find the dtd anywhere and the documentation area only gives the
explanation and not the order of the attributes and my guess is that the
ordering is a must.  Could someone point me to where the dtd where
server.xml uses so I can just look it up myself?

Thanks,
Ricky


--
To unsubscribe, e-mail:

For additional commands, e-mail:




Re: server.xml DTD - where can I find it ?

2002-05-06 Thread Craig R. McClanahan



On Mon, 6 May 2002, João Luiz de Brito Macaíba wrote:

> Date: Mon, 6 May 2002 11:03:55 -0300 (EST)
> From: João Luiz de Brito Macaíba <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: server.xml DTD - where can I find it ?
>
> Hi,
>
>   does anyone know where I can find the DTD for server.xml ?
>

The official copy is in the servlet specification, which you can download
at:

  http://java.sun.com/products/servlet/download.html

For Tomcat 4, there is a copy of all the relevant DTDs buried in the
servlet.jar file that is in the common/lib directory.

> TIA,
>
> Macaíba.

Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: server.xml DTD

2001-05-30 Thread Thom Park

That looks like a very old 3.1/ early 3.2 era tomcat config DTD.

again, there is no formal DTD for server.xml and this one certainly isn't
up-to-date.

-Thom


Jann VanOver wrote:

> Here's the DTD that I found in my tomcat\conf directory.  I'm not sure how
> it got there.
>
> 
>
> 
>  adminPort NMTOKEN "-1"
> workDir CDATA "work">
>
> 
>  port NMTOKEN "8080"
> hostName NMTOKEN ""
> inet NMTOKEN "">
>
> 
>  path CDATA #REQUIRED
> docBase CDATA #REQUIRED
> defaultSessionTimeOut NMTOKEN "30"
> isWARExpanded (true | false) "true"
> isWARValidated (false | true) "false"
> isInvokerEnabled (true | false) "true"
> isWorkDirPersistent (false | true) "false">
>
> 
>  className NMTOKEN #REQUIRED
> docBase   CDATA #REQUIRED>
>
> 
>  className NMTOKEN #REQUIRED>
>
> 
>  name CDATA #REQUIRED
> value CDATA "">
>
> -Original Message-
> From: Paulo J S Pereira [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 7:41 AM
> To: [EMAIL PROTECTED]
> Subject: server.xml DTD
>
> Hi;
>
> I am looking for the server.xml DTD ... (if one exists) ... can anyone help?
>
> TIA!
>
> Paulo J S Pereira, Java/Web Developer
> Sentricity Inc.,
> A Division of Sentex Communications Corp.,
> 240-E Holiday Inn Dr., Cambridge, Ontario
> N3C3X4 Canada
> 1-519-651-3400 x208

--
http://www.borland.com/newsgroups
http://www.borland.com/devsupport/disclaim.html





RE: server.xml DTD

2001-05-30 Thread Jann VanOver

Here's the DTD that I found in my tomcat\conf directory.  I'm not sure how
it got there.





















-Original Message-
From: Paulo J S Pereira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:41 AM
To: [EMAIL PROTECTED]
Subject: server.xml DTD


Hi;

I am looking for the server.xml DTD ... (if one exists) ... can anyone help?

TIA!

Paulo J S Pereira, Java/Web Developer
Sentricity Inc.,
A Division of Sentex Communications Corp.,
240-E Holiday Inn Dr., Cambridge, Ontario
N3C3X4 Canada
1-519-651-3400 x208




RE: server.xml DTD

2001-05-30 Thread WEST, Peter

server.xml does not use a DTD on Tomcat 3.2.1 
I would guess that you could use web.dtd or make a few slight changes to a
copy of it, since
server.xml is just a superset of web.xml info.

Pete

-Original Message-
From: Paulo J S Pereira [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 15:41
To: [EMAIL PROTECTED]
Subject: server.xml DTD


Hi;

I am looking for the server.xml DTD ... (if one exists) ... can anyone help?

TIA!

Paulo J S Pereira, Java/Web Developer
Sentricity Inc.,
A Division of Sentex Communications Corp.,
240-E Holiday Inn Dr., Cambridge, Ontario
N3C3X4 Canada
1-519-651-3400 x208



___
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
Sema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the Sema UK
Helpdesk by telephone on +44 (0) 121 627 5600.
___



Re: server.xml DTD

2001-05-29 Thread Milt Epstein

On Tue, 29 May 2001, Paulo J S Pereira wrote:

> Hi;
>
> I am looking for the server.xml DTD ... (if one exists) ... can
> anyone help?
>
> TIA!

Well, I don't know about that, but Mike Slinn has some documentation
and a validator for server.xml up at http://tomcat.mslinn.com.  You
might need to poke around the links to find it.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




RE: server.xml / dtd

2001-05-04 Thread Ali Manji

Hi Jann,

I visited the site you mentioned below, but could not find the validator for 
the server.xml and web.xml you mentioned.  I am having trouble invoking a 
servlet from a jsp and think the problem might be in my web.xml.  So a 
web.xml validator would be great.  Are there any other sites out there that 
anyone knows of with validators for web.xml or server.xml.

Thanks in advance to all.
Ali Manji


>From: Jann VanOver <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: server.xml / dtd
>Date: Fri, 4 May 2001 11:10:23 -0700
>
>Hi Nathan!
>
>A good source that I went to to find your answer is
>http://tomcat.mslinn.com/ .  This site has validators for both server.xml
>and web.xml.  According to that site, "server.xml is an XML file without a
>formal DTD or schema." He goes on to summarize what he has dug up about it.
>Check it out!
>
>Jevo
>
>
>-Original Message-
>From: Nathan Coast [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 04, 2001 7:18 AM
>To: [EMAIL PROTECTED]
>Subject: Re: server.xml / dtd
>
>
>Hi,
>
>I'm just interested in what should / shouldn't be in the server.xml - I'm
>looking for a complete doc of what can be configured using server.xml - 
>does
>
>such a thing exist?
>
>Cheers
>Nathan
>
>Hari Yellina wrote:
>
> > why do you require DTD. To check whether it is a validate documet. it is
>,u
> > dont have to worry much. One more thing it. If it is a XML file. You 
>dont
> > neccesarily require a DTD.
> >
> > Regard,
> > Yellina
> > - Original Message -
> > From: Gerteis, Roman <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 11:10 PM
> > Subject: AW: server.xml / dtd
> >
> >
> > Nope,
> >
> > in the /conf folder, this is the web.dtd for validating web.xml
> > configuration files.
> > TomCat is not coming with a server.dtd, at least slocate was not finding
> > anything ;)
> >
> > I'm searching for the server.dtd as well. It's not specified in the Java
> > Servlet Standard. So it must be something Tomcat specific.
> >
> > regards...
> > ...roman.
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
> > Gesendet: Freitag, 4. Mai 2001 14:43
> > An: [EMAIL PROTECTED]
> > Betreff: Re: server.xml / dtd
> >
> >
> > it can be found in cofig directory of u r tomcat
> > - Original Message -
> > From: Nathan Coast <[EMAIL PROTECTED]>
> > To: tomcat user <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 9:39 PM
> > Subject: server.xml / dtd
> >
> >
> >
> >> Hi,
> >>
> >> where can I find the dtd of server.xml? - is there such a thing?
> >> Is the dtd the best place to find docs on server.xml or is there a
> >
> > complete
> >
> >> configuration doc elsewhere?
> >>
> >> Thanks
> >> Nathan
> >>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: server.xml / dtd

2001-05-04 Thread Noel E. Lecaros

Hi, Nathan

As far as I can tell, there was no server.dtd in TC3.2.1.  There is, however, a
server.dtd beginning with TC3.3.  If such a DTD is present AND is actually
being referenced in the xml file in question.  The server.xml file in 3.3 does
not reference server.dtd, so this DTD is probably not definitive.  I think,
though, that once TC3.3 reaches release build status, this DTD may actually be
used.  The only definitive "doc" at this point unfortunately, is the source :-)

Regards,
Noel Lecaros

Nathan Coast wrote:

> Hi,
>
> where can I find the dtd of server.xml? - is there such a thing?
> Is the dtd the best place to find docs on server.xml or is there a complete
> configuration doc elsewhere?
>
> Thanks
> Nathan




RE: server.xml / dtd

2001-05-04 Thread Jann VanOver

Hi Nathan!

A good source that I went to to find your answer is
http://tomcat.mslinn.com/ .  This site has validators for both server.xml
and web.xml.  According to that site, "server.xml is an XML file without a
formal DTD or schema." He goes on to summarize what he has dug up about it.
Check it out!

Jevo


-Original Message-
From: Nathan Coast [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 7:18 AM
To: [EMAIL PROTECTED]
Subject: Re: server.xml / dtd


Hi,

I'm just interested in what should / shouldn't be in the server.xml - I'm 
looking for a complete doc of what can be configured using server.xml - does

such a thing exist?

Cheers
Nathan

Hari Yellina wrote:

> why do you require DTD. To check whether it is a validate documet. it is
,u
> dont have to worry much. One more thing it. If it is a XML file. You dont
> neccesarily require a DTD.
> 
> Regard,
> Yellina
> - Original Message -
> From: Gerteis, Roman <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 11:10 PM
> Subject: AW: server.xml / dtd
> 
> 
> Nope,
> 
> in the /conf folder, this is the web.dtd for validating web.xml
> configuration files.
> TomCat is not coming with a server.dtd, at least slocate was not finding
> anything ;)
> 
> I'm searching for the server.dtd as well. It's not specified in the Java
> Servlet Standard. So it must be something Tomcat specific.
> 
> regards...
> ...roman.
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 4. Mai 2001 14:43
> An: [EMAIL PROTECTED]
> Betreff: Re: server.xml / dtd
> 
> 
> it can be found in cofig directory of u r tomcat
> - Original Message -
> From: Nathan Coast <[EMAIL PROTECTED]>
> To: tomcat user <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 9:39 PM
> Subject: server.xml / dtd
> 
> 
> 
>> Hi,
>> 
>> where can I find the dtd of server.xml? - is there such a thing?
>> Is the dtd the best place to find docs on server.xml or is there a
> 
> complete
> 
>> configuration doc elsewhere?
>> 
>> Thanks
>> Nathan
>> 



Re: server.xml / dtd

2001-05-04 Thread Priti

I already unsubscribe it. why still i'm getting other people's email?
At 03:18 PM 5/4/2001 +0100, you wrote:
>Hi,
>
>I'm just interested in what should / shouldn't be in the server.xml - I'm 
>looking for a complete doc of what can be configured using server.xml - 
>does such a thing exist?
>
>Cheers
>Nathan
>
>Hari Yellina wrote:
>
>>why do you require DTD. To check whether it is a validate documet. it is ,u
>>dont have to worry much. One more thing it. If it is a XML file. You dont
>>neccesarily require a DTD.
>>Regard,
>>Yellina
>>- Original Message -
>>From: Gerteis, Roman <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Friday, May 04, 2001 11:10 PM
>>Subject: AW: server.xml / dtd
>>
>>Nope,
>>in the /conf folder, this is the web.dtd for validating web.xml
>>configuration files.
>>TomCat is not coming with a server.dtd, at least slocate was not finding
>>anything ;)
>>I'm searching for the server.dtd as well. It's not specified in the Java
>>Servlet Standard. So it must be something Tomcat specific.
>>regards...
>>...roman.
>>
>>-Ursprüngliche Nachricht-
>>Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
>>Gesendet: Freitag, 4. Mai 2001 14:43
>>An: [EMAIL PROTECTED]
>>Betreff: Re: server.xml / dtd
>>
>>it can be found in cofig directory of u r tomcat
>>- Original Message -
>>From: Nathan Coast <[EMAIL PROTECTED]>
>>To: tomcat user <[EMAIL PROTECTED]>
>>Sent: Friday, May 04, 2001 9:39 PM
>>Subject: server.xml / dtd
>>
>>
>>>Hi,
>>>where can I find the dtd of server.xml? - is there such a thing?
>>>Is the dtd the best place to find docs on server.xml or is there a
>>complete
>>
>>>configuration doc elsewhere?
>>>Thanks
>>>Nathan
>




Re: server.xml / dtd

2001-05-04 Thread Nathan Coast

Hi,

I'm just interested in what should / shouldn't be in the server.xml - I'm 
looking for a complete doc of what can be configured using server.xml - does 
such a thing exist?

Cheers
Nathan

Hari Yellina wrote:

> why do you require DTD. To check whether it is a validate documet. it is ,u
> dont have to worry much. One more thing it. If it is a XML file. You dont
> neccesarily require a DTD.
> 
> Regard,
> Yellina
> - Original Message -
> From: Gerteis, Roman <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 11:10 PM
> Subject: AW: server.xml / dtd
> 
> 
> Nope,
> 
> in the /conf folder, this is the web.dtd for validating web.xml
> configuration files.
> TomCat is not coming with a server.dtd, at least slocate was not finding
> anything ;)
> 
> I'm searching for the server.dtd as well. It's not specified in the Java
> Servlet Standard. So it must be something Tomcat specific.
> 
> regards...
> ...roman.
> 
> 
> 
> -Ursprüngliche Nachricht-----
> Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 4. Mai 2001 14:43
> An: [EMAIL PROTECTED]
> Betreff: Re: server.xml / dtd
> 
> 
> it can be found in cofig directory of u r tomcat
> - Original Message -
> From: Nathan Coast <[EMAIL PROTECTED]>
> To: tomcat user <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 9:39 PM
> Subject: server.xml / dtd
> 
> 
> 
>> Hi,
>> 
>> where can I find the dtd of server.xml? - is there such a thing?
>> Is the dtd the best place to find docs on server.xml or is there a
> 
> complete
> 
>> configuration doc elsewhere?
>> 
>> Thanks
>> Nathan
>> 




Re: server.xml / dtd

2001-05-04 Thread Nathan Coast

thanks,

I've found web.dtd but this seems to be the servlet spec dtd for web app 
deployment descriptors (web.xml files) and not the server config dtd (server.xml).

Nathan

Hari Yellina wrote:

> it can be found in cofig directory of u r tomcat
> - Original Message -
> From: Nathan Coast <[EMAIL PROTECTED]>
> To: tomcat user <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 9:39 PM
> Subject: server.xml / dtd
> 
> 
> 
>> Hi,
>> 
>> where can I find the dtd of server.xml? - is there such a thing?
>> Is the dtd the best place to find docs on server.xml or is there a
> 
> complete
> 
>> configuration doc elsewhere?
>> 
>> Thanks
>> Nathan
>> 




Re: server.xml / dtd

2001-05-04 Thread Hari Yellina

why do you require DTD. To check whether it is a validate documet. it is ,u
dont have to worry much. One more thing it. If it is a XML file. You dont
neccesarily require a DTD.

Regard,
Yellina
- Original Message -
From: Gerteis, Roman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 11:10 PM
Subject: AW: server.xml / dtd


Nope,

in the /conf folder, this is the web.dtd for validating web.xml
configuration files.
TomCat is not coming with a server.dtd, at least slocate was not finding
anything ;)

I'm searching for the server.dtd as well. It's not specified in the Java
Servlet Standard. So it must be something Tomcat specific.

regards...
..roman.



-Ursprüngliche Nachricht-
Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 4. Mai 2001 14:43
An: [EMAIL PROTECTED]
Betreff: Re: server.xml / dtd


it can be found in cofig directory of u r tomcat
- Original Message -
From: Nathan Coast <[EMAIL PROTECTED]>
To: tomcat user <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:39 PM
Subject: server.xml / dtd


> Hi,
>
> where can I find the dtd of server.xml? - is there such a thing?
> Is the dtd the best place to find docs on server.xml or is there a
complete
> configuration doc elsewhere?
>
> Thanks
> Nathan
>




Re: server.xml / dtd

2001-05-04 Thread Hari Yellina

it can be found in cofig directory of u r tomcat
- Original Message -
From: Nathan Coast <[EMAIL PROTECTED]>
To: tomcat user <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:39 PM
Subject: server.xml / dtd


> Hi,
>
> where can I find the dtd of server.xml? - is there such a thing?
> Is the dtd the best place to find docs on server.xml or is there a
complete
> configuration doc elsewhere?
>
> Thanks
> Nathan
>




Re: Server.xml DTD?

2001-03-05 Thread Alex Fernández

It seems there isn't. Well, Ok, there's a server.dtd that comes with the
distribution. Sadly, Tomcat never checks it out, since server.xml
includes a lot of evil stuff in the form of non-standard XML elements.

By this I mean that each Interceptor needs its own set of XML elements,
and that cannot be taken into account if it needs to remain open.
Tomorrow you may write a new Interceptor, it may need new XML elements,
and so the DTD cannot include any possible

It should be possible to change it, but it's a rather huge modification.
See the following thread for details:

 http://archives2.real-time.com/pipermail/tomcat-users/2001-January/020801.html

Un saludo,

Alex.

William Wishon wrote:

> Is there a DTD for server.xml?  If so could somebody point me at it.
>
> Thanks,
> Bill
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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