web.xml parser error

2003-11-05 Thread Antony Paul
am getting this error. Is it possible to know which web.xml caused the error
?

[ERROR] Digester - -Parse Error at line 70 column 11: The content of element
type web-app must match

Antony Paul




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



Re: web.xml parser error

2003-11-05 Thread Christopher Schultz
Antony,

am getting this error. Is it possible to know which web.xml caused the error
?
[ERROR] Digester - -Parse Error at line 70 column 11: The content of element
type web-app must match
Which log file is this in? It's probably in the log file for a 
particular context. If that's the case, then you know which web.xml file 
to look at.

If not, (perhaps it's in catalina.out), then check the log messages 
previous to this one. You might get an indication of which context was 
trying to start.

-chris

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


Re: web.xml parser error

2003-11-05 Thread Antony Paul
It is printed on stderr.log. Every context is working.  I found the xml file
by editing each xml file and looking for change of line number in error
message. Servlet mapping is causing problem. But one interesting thing is
that every time it is pointing to last line of the file. What does this mean
?

Antony Paul

- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:42 PM
Subject: Re: web.xml parser error


 Antony,

  am getting this error. Is it possible to know which web.xml caused the
error
  ?
 
  [ERROR] Digester - -Parse Error at line 70 column 11: The content of
element
  type web-app must match

 Which log file is this in? It's probably in the log file for a
 particular context. If that's the case, then you know which web.xml file
 to look at.

 If not, (perhaps it's in catalina.out), then check the log messages
 previous to this one. You might get an indication of which context was
 trying to start.

 -chris


 -
 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: web.xml parser error

2003-11-05 Thread Tim Funk
(probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd

-Tim

Antony Paul wrote:

It is printed on stderr.log. Every context is working.  I found the xml file
by editing each xml file and looking for change of line number in error
message. Servlet mapping is causing problem. But one interesting thing is
that every time it is pointing to last line of the file. What does this mean
?
Antony Paul

- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:42 PM
Subject: Re: web.xml parser error


Antony,


am getting this error. Is it possible to know which web.xml caused the
error

?

[ERROR] Digester - -Parse Error at line 70 column 11: The content of
element

type web-app must match
Which log file is this in? It's probably in the log file for a
particular context. If that's the case, then you know which web.xml file
to look at.
If not, (perhaps it's in catalina.out), then check the log messages
previous to this one. You might get an indication of which context was
trying to start.
-chris

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



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


Re: web.xml parser error

2003-11-05 Thread Antony Paul
I could open the file in IE .

I am including my web.xml(a shorter form)

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 display-nameMy context/display-name
 descriptionApplication desc/description
 listener
  listener-classutil.ContextListener/listener-class
 /listener

 servlet
  servlet-nameLoginServlet/servlet-name
  servlet-classLoginServlet/servlet-class
 /servlet
 servlet-mapping
  servlet-nameLoginServlet/servlet-name
  url-pattern/LoginServlet/url-pattern
 /servlet-mapping

 servlet
  servlet-namesa/OperationPasswordServlet/servlet-name
  servlet-classsa.OperationPasswordServlet/servlet-class
 /servlet
 servlet-mapping
  servlet-namesa/OperationPasswordServlet/servlet-name
  url-pattern/sa/OperationPasswordServlet/url-pattern
 /servlet-mapping

 resource-ref
  descriptionDB Connection Pool/description
  res-ref-namejdbc/Database/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
 /resource-ref
/web-app

Antony Paul


- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:52 PM
Subject: Re: web.xml parser error


 (probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd

 -Tim

 Antony Paul wrote:

  It is printed on stderr.log. Every context is working.  I found the xml
file
  by editing each xml file and looking for change of line number in error
  message. Servlet mapping is causing problem. But one interesting thing
is
  that every time it is pointing to last line of the file. What does this
mean
  ?
 
  Antony Paul
 
  - Original Message -
  From: Christopher Schultz [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, November 05, 2003 7:42 PM
  Subject: Re: web.xml parser error
 
 
 
 Antony,
 
 
 am getting this error. Is it possible to know which web.xml caused the
 
  error
 
 ?
 
 [ERROR] Digester - -Parse Error at line 70 column 11: The content of
 
  element
 
 type web-app must match
 
 Which log file is this in? It's probably in the log file for a
 particular context. If that's the case, then you know which web.xml file
 to look at.
 
 If not, (perhaps it's in catalina.out), then check the log messages
 previous to this one. You might get an indication of which context was
 trying to start.
 
 -chris
 
 
 -
 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]
 
 


 -
 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: web.xml parser error

2003-11-05 Thread Tim Funk
Your xml is not valid with respect to the dtd. IE can say a document is 
well-formed but can't say a document is valid.

All servlet elements must appear before any servlet-mapping

See http://java.sun.com/dtd/web-app_2_3.dtd

-Tim

Antony Paul wrote:

I could open the file in IE .

I am including my web.xml(a shorter form)

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 display-nameMy context/display-name
 descriptionApplication desc/description
 listener
  listener-classutil.ContextListener/listener-class
 /listener
 servlet
  servlet-nameLoginServlet/servlet-name
  servlet-classLoginServlet/servlet-class
 /servlet
 servlet-mapping
  servlet-nameLoginServlet/servlet-name
  url-pattern/LoginServlet/url-pattern
 /servlet-mapping
 servlet
  servlet-namesa/OperationPasswordServlet/servlet-name
  servlet-classsa.OperationPasswordServlet/servlet-class
 /servlet
 servlet-mapping
  servlet-namesa/OperationPasswordServlet/servlet-name
  url-pattern/sa/OperationPasswordServlet/url-pattern
 /servlet-mapping
 resource-ref
  descriptionDB Connection Pool/description
  res-ref-namejdbc/Database/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
 /resource-ref
/web-app
Antony Paul

- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:52 PM
Subject: Re: web.xml parser error


(probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd

-Tim

Antony Paul wrote:


It is printed on stderr.log. Every context is working.  I found the xml
file

by editing each xml file and looking for change of line number in error
message. Servlet mapping is causing problem. But one interesting thing
is

that every time it is pointing to last line of the file. What does this
mean

?

Antony Paul

- Original Message -
From: Christopher Schultz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:42 PM
Subject: Re: web.xml parser error



Antony,



am getting this error. Is it possible to know which web.xml caused the
error


?

[ERROR] Digester - -Parse Error at line 70 column 11: The content of
element


type web-app must match
Which log file is this in? It's probably in the log file for a
particular context. If that's the case, then you know which web.xml file
to look at.
If not, (perhaps it's in catalina.out), then check the log messages
previous to this one. You might get an indication of which context was
trying to start.
-chris

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



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



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


Re: web.xml parser error

2003-11-05 Thread Antony Paul
It is solved. I did as per your suggestion. Thank for your reply.
I would like to know what are the requirements to become a JSP/Servlet
programmer/administrator.

Antony Paul

- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:12 PM
Subject: Re: web.xml parser error


 Your xml is not valid with respect to the dtd. IE can say a document is
 well-formed but can't say a document is valid.

 All servlet elements must appear before any servlet-mapping

 See http://java.sun.com/dtd/web-app_2_3.dtd

 -Tim

 Antony Paul wrote:

  I could open the file in IE .
 
  I am including my web.xml(a shorter form)
 
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
  2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
  web-app
   display-nameMy context/display-name
   descriptionApplication desc/description
   listener
listener-classutil.ContextListener/listener-class
   /listener
 
   servlet
servlet-nameLoginServlet/servlet-name
servlet-classLoginServlet/servlet-class
   /servlet
   servlet-mapping
servlet-nameLoginServlet/servlet-name
url-pattern/LoginServlet/url-pattern
   /servlet-mapping
 
   servlet
servlet-namesa/OperationPasswordServlet/servlet-name
servlet-classsa.OperationPasswordServlet/servlet-class
   /servlet
   servlet-mapping
servlet-namesa/OperationPasswordServlet/servlet-name
url-pattern/sa/OperationPasswordServlet/url-pattern
   /servlet-mapping
 
   resource-ref
descriptionDB Connection Pool/description
res-ref-namejdbc/Database/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
   /resource-ref
  /web-app
 
  Antony Paul
 
 
  - Original Message -
  From: Tim Funk [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, November 05, 2003 7:52 PM
  Subject: Re: web.xml parser error
 
 
 
 (probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd
 
 -Tim
 
 Antony Paul wrote:
 
 
 It is printed on stderr.log. Every context is working.  I found the xml
 
  file
 
 by editing each xml file and looking for change of line number in error
 message. Servlet mapping is causing problem. But one interesting thing
 
  is
 
 that every time it is pointing to last line of the file. What does this
 
  mean
 
 ?
 
 Antony Paul
 
 - Original Message -
 From: Christopher Schultz [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, November 05, 2003 7:42 PM
 Subject: Re: web.xml parser error
 
 
 
 
 Antony,
 
 
 
 am getting this error. Is it possible to know which web.xml caused
the
 
 error
 
 
 ?
 
 [ERROR] Digester - -Parse Error at line 70 column 11: The content of
 
 element
 
 
 type web-app must match
 
 Which log file is this in? It's probably in the log file for a
 particular context. If that's the case, then you know which web.xml
file
 to look at.
 
 If not, (perhaps it's in catalina.out), then check the log messages
 previous to this one. You might get an indication of which context was
 trying to start.
 
 -chris
 
 
 -
 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]
 
 
 
 
 -
 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]
 
 


 -
 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: web.xml parser error

2003-11-05 Thread Tim Funk
Just follow the specs at ...
http://java.sun.com/products/servlet/
http://java.sun.com/products/jsp/
-Tim

Antony Paul wrote:

It is solved. I did as per your suggestion. Thank for your reply.
I would like to know what are the requirements to become a JSP/Servlet
programmer/administrator.


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