Hi Alan
That's resolving problem. the jetty parser which is responsible for parsing the web.xml file couldn't lookup the correct grammar files.
I'm working on a patch which should resolve this issue.
Kristian
Alan Cabrera wrote:
I can’t seem to be able to get the Geronimo build the jetty module when I’m behind a firewall. The exact same code works fine when I have a direct connection:
Testsuite: org.apache.geronimo.jetty.ApplicationTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 10.305 sec
------------- Standard Output ---------------
Created MBeanServer with ID: b2002f:fac4fc8bd9:-8000:CABRERAAL:1
------------- ---------------- ---------------
------------- Standard Error -----------------
Feb 17, 2004 2:38:28 PM org.apache.geronimo.kernel.Kernel boot
INFO: Starting boot
Feb 17, 2004 2:38:29 PM org.apache.geronimo.kernel.Kernel boot
INFO: Booted
Feb 17, 2004 2:38:30 PM org.mortbay.util.LogSupport <clinit>
INFO: Log instance is class org.apache.commons.logging.impl.Jdk14Logger
Feb 17, 2004 2:38:30 PM org.mortbay.http.HttpServer start
INFO: Starting Jetty/5.0.beta0
Feb 17, 2004 2:38:30 PM org.mortbay.http.HttpServer start
INFO: Started [EMAIL PROTECTED]
Feb 17, 2004 2:38:31 PM org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:5678
Feb 17, 2004 2:38:32 PM org.mortbay.util.FileResource <clinit>
INFO: Checking Resource aliases
Feb 17, 2004 2:38:36 PM org.mortbay.xml.XmlParser$Handler error
WARNING: [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd line:1138 col:34 : org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-configType' to a(n) 'type definition' component.
Feb 17, 2004 2:38:36 PM org.mortbay.xml.XmlParser$Handler error
WARNING: [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd line:922 col:34 : org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-fileType' to a(n) 'type definition' component.
Feb 17, 2004 2:38:37 PM org.mortbay.jetty.servlet.WebApplicationContext start
WARNING: Configuration error on file:/C:/dev/incubator-geronimo/modules/jetty/target/test-classes/deployables/war1
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-configType' to a(n) 'type definition' component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:168)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:184)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:423)
at org.apache.geronimo.jetty.JettyWebApplicationContext.doStart(JettyWebApplicationContext.java:253)
at org.apache.geronimo.gbean.jmx.GBeanMBean.doStart(GBeanMBean.java:386)
at org.apache.geronimo.gbean.jmx.AbstractManagedObject.attemptFullStart(AbstractManagedObject.java:514)
at org.apache.geronimo.gbean.jmx.AbstractManagedObject.start(AbstractManagedObject.java:317)
at org.apache.geronimo.gbean.jmx.GBeanMBean$7.invoke(GBeanMBean.java:619)
at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:193)
at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:224)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
at org.apache.geronimo.jetty.ApplicationTest.start(ApplicationTest.java:113)
at org.apache.geronimo.jetty.ApplicationTest.testApplication(ApplicationTest.java:102)
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:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Feb 17, 2004 2:38:37 PM org.mortbay.http.HttpContext stop
INFO: Stopped WebApplicationContext[/test,file:/C:/dev/incubator-geronimo/modules/jetty/target/test-classes/deployables/war1]
Feb 17, 2004 2:38:37 PM org.mortbay.util.ThreadedServer$Acceptor run
INFO: Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5678]
Feb 17, 2004 2:38:37 PM org.mortbay.http.SocketListener stop
INFO: Stopped SocketListener on 0.0.0.0:5678
Feb 17, 2004 2:38:37 PM org.mortbay.http.HttpServer stop
INFO: Stopped [EMAIL PROTECTED]
Feb 17, 2004 2:38:37 PM org.apache.geronimo.kernel.Kernel shutdown
INFO: Starting kernel shutdown
Feb 17, 2004 2:38:37 PM org.apache.geronimo.kernel.Kernel shutdown
INFO: Kernel shutdown complete
------------- ---------------- ---------------
Testcase: testApplication took 8.933 sec
Caused an ERROR
null nested exception is org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-configType' to a(n) 'type definition' component.
javax.management.ReflectionException: null nested exception is org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-configType' to a(n) 'type definition' component.
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'j2ee:jsp-configType' to a(n) 'type definition' component.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:168)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:184)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:423)
at org.apache.geronimo.jetty.JettyWebApplicationContext.doStart(JettyWebApplicationContext.java:253)
at org.apache.geronimo.gbean.jmx.GBeanMBean.doStart(GBeanMBean.java:386)
at org.apache.geronimo.gbean.jmx.AbstractManagedObject.attemptFullStart(AbstractManagedObject.java:514)
at org.apache.geronimo.gbean.jmx.AbstractManagedObject.start(AbstractManagedObject.java:317)
at org.apache.geronimo.gbean.jmx.GBeanMBean$7.invoke(GBeanMBean.java:619)
at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:193)
at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:224)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
at org.apache.geronimo.jetty.ApplicationTest.start(ApplicationTest.java:113)
at org.apache.geronimo.jetty.ApplicationTest.testApplication(ApplicationTest.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Testcase: testApplication
----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
-- Kristian Köhler