Chuck,

Thanks for your answer.

I generated the DTD and fixed the config.xml problem.

But the other problem is still there. I didn't touch conf/web.xml, but I checked it out anyway and didn't find a problem (should be at line 18 column 20).

Here are the first 24 lines from conf/web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
    version="2.4">
   <description>QualiTau Intranet</description>
   <display-name>QualiTau Intranet</display-name>
<listener>
   <listener-class>com.qualitau.startup.JDBCStartup</listener-class>
   </listener>
   <!-- Basic permissions to access any page on the site -->
   <security-constraint>
   <web-resource-collection>
       <web-resource-name>QualiTau Web Applications</web-resource-name>
       <url-pattern>/*</url-pattern>
   </web-resource-collection>
   <auth-constraint>
       <role-name>portal</role-name>
   </auth-constraint>
   <user-data-constraint>
       <transport-guarantee>CONFIDENTIAL</transport-guarantee>
   </user-data-constraint>
   </security-constraint>

Thanks again



Carlos

Caldarale, Charles R wrote:
From: Carlos Botto [mailto:carl...@qualitau.com] Subject: Problem starting Tomcat in Netbeans

when I validated context.xml I got the following: cvc-elt.1: Cannot find the declaration of element 'Context'. [2]

Since there is no DTD to validate against, that's not surprising.

<Context crossContext="true" debug="5" docBase="qualitau" path="/qualitau" reloadable="true"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_my_log." suffix=".txt" timestamp="true"/>

Tomcat has supported a <Logger> element in quite some time, so that should come out.  
Also, the path attribute is illegal when the <Context> element is in your webapp's 
META-INF/context.xml file (which is where it should be).

Mar 11, 2009 3:54:58 PM org.apache.catalina.startup.ContextConfig processContextConfig
SEVERE: Parse error in default web.xml

Note that the above refers to the *default* web.xml, not the one in your 
webapp's WEB-INF directory.  What did you break in Tomcat's conf/web.xml file?

Mar 11, 2009 3:54:58 PM org.apache.catalina.startup.ContextConfig processContextConfig
SEVERE: Occurred at line 18 column 20

That should give you a pretty good idea of where to look.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to