web.xml cached?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

web.xml cached?

Alberto Molpeceres
Hi!,

I'm trying to start jetty from ant, and it seems to work well... but I
can't deploy an application.

I had 2.4 schema-defined web.xml, but I got validation errors (web-app
tag not defined and so on). I noticed a messaged from my XML parser
like: "ADVERTENCIA: Schema validation may not be supported". So, I
changed my web.xml to a 2.3 DTD-based one. But the validation errors
from Jetty startup process still refers to the old one. Then I removed
the web.xml file, and still the same validation error about a file
that no more exists!!. Are this files cached?. If yes, where?. How can
I remove them?.

I'm running on Mac OS X Tiger, JDK 1.4.2, I have tested it with Jetty
5.1.4 and 5.1.5rc1, and my config   file is this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC
 "-//Mort Bay Consulting//DTD Configure 1.2//EN"
 "http://jetty.mortbay.org/configure_1_2.dtd">

<Configure class="org.mortbay.jetty.Server">

  <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.SocketListener">
        <Set name="port">8080</Set>
      </New>
    </Arg>
  </Call>
 
  <Set name="WebApplicationConfigurationClassNames">
    <Array type="java.lang.String">
      <Item>org.mortbay.jetty.servlet.XMLConfiguration</Item>
    </Array>
  </Set>  

  <Call name="addWebApplication">
    <Arg>/</Arg>
    <Arg><SystemProperty name="jetty.home" default="."/>/webapps</Arg>
    <Set name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set>
  </Call>

</Configure>

Thank you very much for your help.

   al.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support