RE: Is server.xml DTD case-sensitive?

2003-09-02 Thread Shapira, Yoav

Howdy,

>> Also note that server.xml doesn't and can't have a DTD/schema
>I would change "can't have" that to "doesn't have".  There are plenty
of
>extensible xml documents that have dtds - JDO for example.

This is an interesting theoretical argument.  I actually tend to be on
the "can't have" side until convinced otherwise, having tried to come up
with a DTD myself several times in the past.

There's also no serious comparison between the JDO DTD (assuming you're
talking about the jdo.dtd that starts with
 ) and server.xml.  Server.xml
and tomcat configuration in general allows for far more flexibility than
JDO -- for example, the ability to place multiple, custom (custom names
and attributes) valves at different levels (under engine, under host,
under context, etc.).

However, I would be very glad to be proven wrong on this issue, and
better yet, be proven wrong with a working server.xml DTD or XSD -- it
would be a great contribution!

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Is server.xml DTD case-sensitive?

2003-08-29 Thread Dave Ford
> Also note that server.xml doesn't and can't have a DTD/schema
I would change "can't have" that to "doesn't have".  There are plenty of
extensible xml documents that have dtds - JDO for example.

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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



RE: Is server.xml DTD case-sensitive?

2003-02-18 Thread Turner, John

...and the oracle spoke:  ;)

http://marc.theaimsgroup.com/?l=tomcat-user&m=104205666221372&w=2

John

> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 3:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Is server.xml DTD case-sensitive?
> 
> 
> Um.  Why can't it have a DTD?
> 
> "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
> Howdy,
> Also note that server.xml doesn't and can't have a DTD/schema.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Lukasz Szelag [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, February 14, 2003 1:57 PM
> >To: [EMAIL PROTECTED]
> >Subject: Is server.xml DTD case-sensitive?
> >
> >Hello,
> >
> >I have noticed that resource parameters are ignored when declared as
> >follows:
> >
> >>type="javax.mail.Session"/>
> >
> >   
> >
> >mail.smtp.host
> >smtp.dsl.net
> >
> >
> >
> >As opposed to:
> >
> >>type="javax.mail.Session"/>
> >
> >
> >
> >mail.smtp.host
> >smtp.dsl.net
> >
> >
> >
> >(The effect of the first example is that "mail.smtp.host" is not set
> and
> >still holds its initial value of "localhost").
> >
> >Although the "parameter" element in Tomcat docs is written 
> in lowercase
> I
> >thougth that it didn't matter. Does anyone know if
> >this behavior is intentional or it is a bug? Looks like it is a bug
> since
> >there were no parsing errors reported by Tomcat.
> >
> >Lukasz Szelag
> 
> 
> 
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is 
> confidential, proprietary
> and/or privileged.  This e-mail is intended only for the 
> individual(s) to
> whom it is addressed, and may not be saved, copied, printed, 
> disclosed or
> used by anyone else.  If you are not the(an) intended 
> recipient, please
> immediately delete this e-mail from your computer system and 
> notify the
> sender.  Thank you.
> 
> 
> 
> 
> -
> 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]




Re: Is server.xml DTD case-sensitive?

2003-02-18 Thread Sean Dockery
Um.  Why can't it have a DTD?

"Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Howdy,
Also note that server.xml doesn't and can't have a DTD/schema.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Lukasz Szelag [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 14, 2003 1:57 PM
>To: [EMAIL PROTECTED]
>Subject: Is server.xml DTD case-sensitive?
>
>Hello,
>
>I have noticed that resource parameters are ignored when declared as
>follows:
>
>   type="javax.mail.Session"/>
>
>   
>
>mail.smtp.host
>smtp.dsl.net
>
>
>
>As opposed to:
>
>   type="javax.mail.Session"/>
>
>
>
>mail.smtp.host
>smtp.dsl.net
>
>
>
>(The effect of the first example is that "mail.smtp.host" is not set
and
>still holds its initial value of "localhost").
>
>Although the "parameter" element in Tomcat docs is written in lowercase
I
>thougth that it didn't matter. Does anyone know if
>this behavior is intentional or it is a bug? Looks like it is a bug
since
>there were no parsing errors reported by Tomcat.
>
>Lukasz Szelag



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.




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




RE: Is server.xml DTD case-sensitive?

2003-02-18 Thread Shapira, Yoav

Howdy,
Also note that server.xml doesn't and can't have a DTD/schema.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Lukasz Szelag [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 14, 2003 1:57 PM
>To: [EMAIL PROTECTED]
>Subject: Is server.xml DTD case-sensitive?
>
>Hello,
>
>I have noticed that resource parameters are ignored when declared as
>follows:
>
>   type="javax.mail.Session"/>
>
>   
>
>mail.smtp.host
>smtp.dsl.net
>
>
>
>As opposed to:
>
>   type="javax.mail.Session"/>
>
>
>
>mail.smtp.host
>smtp.dsl.net
>
>
>
>(The effect of the first example is that "mail.smtp.host" is not set
and
>still holds its initial value of "localhost").
>
>Although the "parameter" element in Tomcat docs is written in lowercase
I
>thougth that it didn't matter. Does anyone know if
>this behavior is intentional or it is a bug? Looks like it is a bug
since
>there were no parsing errors reported by Tomcat.
>
>Lukasz Szelag



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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




Re: Is server.xml DTD case-sensitive?

2003-02-14 Thread Craig R. McClanahan


On Fri, 14 Feb 2003, Lukasz Szelag wrote:

> Date: Fri, 14 Feb 2003 13:57:05 -0500
> From: Lukasz Szelag <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Is server.xml DTD case-sensitive?
>
> Hello,
>
> I have noticed that resource parameters are ignored when declared as follows:
>
>
>
>
> 
> mail.smtp.host
> smtp.dsl.net
> 
> 
>
> As opposed to:
>
>
>
> 
> 
> mail.smtp.host
> smtp.dsl.net
> 
> 
>
> (The effect of the first example is that "mail.smtp.host" is not set and still holds 
>its initial value of "localhost").
>
> Although the "parameter" element in Tomcat docs is written in lowercase
> I thougth that it didn't matter. Does anyone know if this behavior is
> intentional or it is a bug? Looks like it is a bug since there were no
> parsing errors reported by Tomcat.
>

The best thing to do with pretty much all of Java is to assume that
everything is case sensitive unless explicitly told otherwise.  That
includes the names of elements in server.xml and web.xml files.

> Lukasz Szelag
>

Craig


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




Re: Is server.xml DTD case-sensitive?

2003-02-14 Thread Sean Dockery
Yes.  server.xml is case sensitive.  All XML documents are case sensitive.

Tomcat may not have reported parsing errors because it isn't an XML
validator and your server.xml is well-formed.  Tomcat constructed its XML
DOM and simply looked for the nodes "name" and "value" under parameter.
That there were "Name" and "Value" nodes may be in violation of the DTD, but
it is still a well-formed document...

You could run an XML validator against to server.xml yourself to detect
errors.

- Original Message -
From: "Lukasz Szelag" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 11:57
Subject: Is server.xml DTD case-sensitive?


Hello,

I have noticed that resource parameters are ignored when declared as
follows:

   

   

mail.smtp.host
smtp.dsl.net



As opposed to:

   



mail.smtp.host
smtp.dsl.net



(The effect of the first example is that "mail.smtp.host" is not set and
still holds its initial value of "localhost").

Although the "parameter" element in Tomcat docs is written in lowercase I
thougth that it didn't matter. Does anyone know if
this behavior is intentional or it is a bug? Looks like it is a bug since
there were no parsing errors reported by Tomcat.

Lukasz Szelag



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




Is server.xml DTD case-sensitive?

2003-02-14 Thread Lukasz Szelag
Hello,

I have noticed that resource parameters are ignored when declared as follows:

   
 
   

mail.smtp.host
smtp.dsl.net

 

As opposed to:

   
 


mail.smtp.host
smtp.dsl.net

 

(The effect of the first example is that "mail.smtp.host" is not set and still holds 
its initial value of "localhost").

Although the "parameter" element in Tomcat docs is written in lowercase I thougth that 
it didn't matter. Does anyone know if
this behavior is intentional or it is a bug? Looks like it is a bug since there were 
no parsing errors reported by Tomcat.

Lukasz Szelag



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

2002-06-25 Thread Jacob Kjome

Hello Jacob,

I apologize,

I missed that you were talking about a dtd for the server.xml.  See
Craig's recent message.

Jake

Tuesday, June 25, 2002, 12:44:49 PM, you wrote:

JK> Hello Mykola,

JK> That is, quite flatly, not true.  Check here:

JK> $TOMCAT_HOME/common/lib/servlet.jar/javax/servlet/resources

JK> There are two dtds:

JK> web-app_2_2.dtd
JK> web-app_2_3.dtd

JK> Check again.

JK> Note:  I am using Tomcat 4.1.3

JK> Jake

JK> Monday, June 24, 2002, 12:13:55 PM, you wrote:

MAN>> "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.

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







-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


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




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

2002-06-25 Thread Jacob Kjome

Hello Mykola,

That is, quite flatly, not true.  Check here:

$TOMCAT_HOME/common/lib/servlet.jar/javax/servlet/resources

There are two dtds:

web-app_2_2.dtd
web-app_2_3.dtd

Check again.

Note:  I am using Tomcat 4.1.3

Jake

Monday, June 24, 2002, 12:13:55 PM, you wrote:

MAN> "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.

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




-- 
Best regards,
 Jacobmailto:[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 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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




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



server.xml dtd

2002-06-11 Thread Ricky Leung

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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




server.xml DTD - where can I find it ?

2002-05-06 Thread João Luiz de Brito Macaíba

Hi,

does anyone know where I can find the DTD for server.xml ?

TIA,

Macaíba.

--
From "The Practice Programming" by Brian W Kernighan & Rob Pike:

  Another effective [debugging] technique is to explain your code to
someone else. This will often cause you to explain the bug to yourself.
Sometimes it takes no more than a few sentences, followed by an
embarrassed "Never mind. I see what's wrong. Sorry to bother you."

  This works remarkbly well; you can even use non-programmers as
listeners. One university computer center kept a teddy bear near the help
desk. Students with mysterious bugs were required to explain them to the
bear before they could speak to a human counselor.

**
|  .''`.  | Debian GNU/Linux: |
| : :'  : | Debian BR...:  |
| `. `'`  |  |
|   `-|  Be Happy! Be FREE!  |
**


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




Catalina server.xml DTD?

2001-08-07 Thread Roytman, Alex

Hello,

I am writing several jndi factories for catalina's JNDI implementation
and I am trying to figure out how to specify factory class for a
resource. The only sample I found was

and factory class for type="javax.sql.DataSource" is hard coded. What is
the attribute name for factory class?

Thank you very much

Alex Roytman



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]




server.xml DTD

2001-05-29 Thread Paulo J S Pereira

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



AW: server.xml / dtd

2001-05-04 Thread Gerteis, Roman

DTD's (or XML-Schemas) are great.

they will tell you all options you have inside a XML file.
Where to know from which elements are allowed inside a XML file? DTD tells
you this.
If you create a server.xml any parser can check your file if it is not only
wellformed, you will know if it is valid and this is great. This makes it
much easier for you writing server.xml files. Then you know if Tomcat is
producing an error reading your config or you had an error inside your
elements.

And... xml files are not really useful without DTD's .. that's what I think.

regards
roman

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


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

2001-05-04 Thread Alex Fernández

Hi Roman!

"Gerteis, Roman" wrote:
> 
> 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 ;)

There's no such thing as a server.dtd.

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

In fact, given the model used by Tomcat there cannot be a server.dtd --
custom tags may be defined by additional Interceptors. Maybe this should
be changed to a key-value approach, but right now it seems a
low-priority kind of thing.

Un saludo,

Alex.

> 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

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
>




AW: server.xml / dtd

2001-05-04 Thread Gerteis, Roman

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
>




server.xml / dtd

2001-05-04 Thread Nathan Coast

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




server.xml DTD

2001-04-06 Thread Torgeir Veimo

I cannot find any DTD for the server.xml file. Is there such a thing?

-- 
- Torgeir



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]




Server.xml DTD?

2001-03-02 Thread William Wishon

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]




server.xml dtd

2000-12-20 Thread Stefan Woithe

Hi tomcat users,

where can I find a dtd and other discribing information for server.xml?

Thanks

Stefan