Search the web
Sign In
New User? Sign Up
jetty-discuss · Jetty Discussion
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[ jetty-Bugs-1498242 ] Jetty 5.x doesn't cache Servlet 2.4 XSD   Message List  
Reply | Forward Message #7507 of 8501 |
[jetty-discuss] [ jetty-Bugs-1498242 ] Jetty 5.x doesn't cache Servlet 2.4 XSD

Bugs item #1498242, was opened at 2006-05-31 07:02
Message generated for change (Comment added) made by plightbo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1498242&group_id=73\
22


Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Utilities
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Pat Lightbody (plightbo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Jetty 5.x doesn't cache Servlet 2.4 XSD

Initial Comment:
The 2.3 DTD is not checked for, but when I change my web.xml to the 2.4
Schema, I get an error if I'm not connected to the network. It would be
great if I could work offline when using the 2.4 spec :)

----------------------------------------------------------------------

>Comment By: Pat Lightbody (plightbo)
Date: 2006-06-02 15:03

Message:
Logged In: YES
user_id=236333

The start of web.xml is:

<?xml version="1.0" encoding="ISO-8859-1"?>
<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">


The error is:

2006-06-02 14:59:55,717 WARN [XmlParser.java:362] : WARNING@http://
java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd line:88 col:57 :
org.xml.sax.SAXParseException: src-import.0: Failed to read imported
schema document 'http://www.w3.org/2001/xml.xsd'.
2006-06-02 14:59:55,886 WARN [XmlParser.java:372] : ERROR@http://
java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd line:147 col:33 :
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'xml:lang' to a(n) attribute declaration component.
2006-06-02 14:59:55,891 WARN [XmlParser.java:372] : ERROR@http://
java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd line:147 col:33 :
org.xml.sax.SAXParseException: src-ct.0.1: Complex Type Definition
Representation Error for type 'descriptionType'. Element 'attribute' is
invalid,
misplaced, or occurs too often.
2006-06-02 14:59:55,893 WARN [XmlParser.java:372] : ERROR@http://
java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd line:193 col:33 :
org.xml.sax.SAXParseException: src-ct.0.1: Complex Type Definition
Representation Error for type 'display-nameType'. Element 'attribute' is
invalid, misplaced, or occurs too often.
2006-06-02 14:59:55,909 WARN [XmlParser.java:372] : ERROR@http://
java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd line:639 col:36 :
org.xml.sax.SAXParseException: src-ct.0.1: Complex Type Definition
Representation Error for type 'iconType'. Element 'attribute' is invalid,
misplaced, or occurs too often.
2006-06-02 14:59:56,064 WARN [WebApplicationContext.java:519] :
Configuration error on /Users/plightbo/bigbark/src/main/webapp
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'xml:lang' to a(n) attribute declaration component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.error
(ErrorHandlerWrapper.java:173)
at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:362)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError
(XSDHandler.java:1936)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl
(XSDHandler.java:1045)
at
org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal
(XSDAttributeTraverser.java:125)
at
org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndA
ttrGrps(XSDAbstractTraverser.java:412)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseSimp
leContent(XSDComplexTypeTraverser.java:525)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseCom
plexTypeDecl(XSDComplexTypeTraverser.java:247)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseGlob
al(XSDComplexTypeTraverser.java:172)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas
(XSDHandler.java:934)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema
(XSDHandler.java:394)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema
(XMLSchemaLoader.java:491)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar
(XMLSchemaValidator.java:2292)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement
(XMLSchemaValidator.java:1797)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement
(XMLSchemaValidator.java:566)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:876)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement
(XMLNamespaceBinder.java:568)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:756)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:752)
at org.apache.xerces.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:
942)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1520)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1169)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:217)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:235)
at org.mortbay.jetty.servlet.XMLConfiguration.configureDefaults
(XMLConfiguration.java:161)
at org.mortbay.jetty.servlet.WebApplicationContext.configureDefaults
(WebApplicationContext.java:414)
at org.mortbay.jetty.servlet.WebApplicationContext.doStart
(WebApplicationContext.java:461)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
at org.mortbay.util.Container.start(Container.java:72)
at com.opensymphony.webwork.quickstart.JettyServer.startServer
(JettyServer.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.quickstart.QuickStart.main
(QuickStart.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.Main.launch(Main.java:175)
at com.opensymphony.webwork.Main.main(Main.java:130)
org.mortbay.util.MultiException[org.xml.sax.SAXParseException: src-resolve:
Cannot resolve the name 'xml:lang' to a(n) attribute declaration component.]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:686)
at org.mortbay.util.Container.start(Container.java:72)
at com.opensymphony.webwork.quickstart.JettyServer.startServer
(JettyServer.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.quickstart.QuickStart.main
(QuickStart.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.Main.launch(Main.java:175)
at com.opensymphony.webwork.Main.main(Main.java:130)
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'xml:lang' to a(n) attribute declaration component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.error
(ErrorHandlerWrapper.java:173)
at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:362)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError
(XSDHandler.java:1936)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl
(XSDHandler.java:1045)
at
org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal
(XSDAttributeTraverser.java:125)
at
org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndA
ttrGrps(XSDAbstractTraverser.java:412)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseSimp
leContent(XSDComplexTypeTraverser.java:525)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseCom
plexTypeDecl(XSDComplexTypeTraverser.java:247)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseGlob
al(XSDComplexTypeTraverser.java:172)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas
(XSDHandler.java:934)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema
(XSDHandler.java:394)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema
(XMLSchemaLoader.java:491)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar
(XMLSchemaValidator.java:2292)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement
(XMLSchemaValidator.java:1797)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement
(XMLSchemaValidator.java:566)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:876)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement
(XMLNamespaceBinder.java:568)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:756)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:752)
at org.apache.xerces.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:
942)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1520)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1169)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:217)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:235)
at org.mortbay.jetty.servlet.XMLConfiguration.configureDefaults
(XMLConfiguration.java:161)
at org.mortbay.jetty.servlet.WebApplicationContext.configureDefaults
(WebApplicationContext.java:414)
at org.mortbay.jetty.servlet.WebApplicationContext.doStart
(WebApplicationContext.java:461)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
at org.mortbay.util.Container.start(Container.java:72)
at com.opensymphony.webwork.quickstart.JettyServer.startServer
(JettyServer.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.quickstart.QuickStart.main
(QuickStart.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.Main.launch(Main.java:175)
at com.opensymphony.webwork.Main.main(Main.java:130)
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'xml:lang' to a(n) attribute declaration component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.error
(ErrorHandlerWrapper.java:173)
at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:362)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError
(XSDHandler.java:1936)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl
(XSDHandler.java:1045)
at
org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal
(XSDAttributeTraverser.java:125)
at
org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndA
ttrGrps(XSDAbstractTraverser.java:412)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseSimp
leContent(XSDComplexTypeTraverser.java:525)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseCom
plexTypeDecl(XSDComplexTypeTraverser.java:247)
at
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseGlob
al(XSDComplexTypeTraverser.java:172)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas
(XSDHandler.java:934)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema
(XSDHandler.java:394)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema
(XMLSchemaLoader.java:491)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar
(XMLSchemaValidator.java:2292)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement
(XMLSchemaValidator.java:1797)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement
(XMLSchemaValidator.java:566)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:876)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement
(XMLNamespaceBinder.java:568)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:756)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:752)
at org.apache.xerces.impl.XMLDocumentScannerImpl
$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:
942)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1520)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1169)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:217)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:235)
at org.mortbay.jetty.servlet.XMLConfiguration.configureDefaults
(XMLConfiguration.java:161)
at org.mortbay.jetty.servlet.WebApplicationContext.configureDefaults
(WebApplicationContext.java:414)
at org.mortbay.jetty.servlet.WebApplicationContext.doStart
(WebApplicationContext.java:461)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
at org.mortbay.util.Container.start(Container.java:72)
at com.opensymphony.webwork.quickstart.JettyServer.startServer
(JettyServer.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.quickstart.QuickStart.main
(QuickStart.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.webwork.Main.launch(Main.java:175)
at com.opensymphony.webwork.Main.main(Main.java:130)


----------------------------------------------------------------------

Comment By: Jan Bartel (janb)
Date: 2006-06-02 08:26

Message:
Logged In: YES
user_id=45251

Jetty5.x does cache the schemas and dtds, how are you
specifying it in your web.xml?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1498242&group_id=73\
22



_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss



Fri Jun 2, 2006 10:03 pm

jetty-discuss@...
Send Email Send Email

Forward
Message #7507 of 8501 |
Expand Messages Author Sort by Date

Bugs item #1498242, was opened at 2006-05-31 14:02 Message generated for change (Comment added) made by janb You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 5, 2006
7:17 pm

Bugs item #1498242, was opened at 2006-05-31 14:02 Message generated for change (Comment added) made by janb You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 5, 2006
7:18 pm

Bugs item #1498242, was opened at 2006-05-31 07:02 Message generated for change (Comment added) made by plightbo You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 5, 2006
7:19 pm

Bugs item #1498242, was opened at 2006-05-31 07:02 Message generated for change (Comment added) made by plightbo You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 5, 2006
7:20 pm

Bugs item #1498242, was opened at 2006-05-31 07:02 Message generated for change (Comment added) made by plightbo You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 5, 2006
7:23 pm

Bugs item #1498242, was opened at 2006-05-31 07:02 Message generated for change (Settings changed) made by plightbo You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 7, 2006
10:12 pm

Bugs item #1498242, was opened at 2006-05-31 14:02 Message generated for change (Settings changed) made by gregwilkins You can respond by visiting: ...
SourceForge.net
jetty-discuss@...
Send Email
Jun 7, 2006
10:12 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help