Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 12554 invoked from network); 23 Jan 2006 19:52:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 19:52:22 -0000 Received: (qmail 86506 invoked by uid 500); 23 Jan 2006 19:52:19 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 86481 invoked by uid 500); 23 Jan 2006 19:52:18 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 86464 invoked by uid 99); 23 Jan 2006 19:52:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 11:52:18 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.136.173.59] (HELO smtp015.mail.yahoo.com) (216.136.173.59) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Jan 2006 11:52:17 -0800 Received: (qmail 18868 invoked from network); 23 Jan 2006 19:51:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=y0MQKvrE+yV7jrJjhALKJEocy633RwBPfWd9fk2Yt8ekw8K58hW+W14YaP41NxECHr5JRRwjJ4lHK7m8Kux4B642HkNUcrlDRhLgMau5RzQKp/IpI6fQrkQl29ErerwWyIZe8x9cl4AsC1eLMHByIl063CLfMuDWc7EKILzNacU= ; Received: from unknown (HELO ?192.168.1.5?) (david?jencks@66.93.38.137 with plain) by smtp015.mail.yahoo.com with SMTP; 23 Jan 2006 19:51:55 -0000 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <74e15baa0601231137w585fe88fod1b250c00ac3b050@mail.gmail.com> References: <74e15baa0601231137w585fe88fod1b250c00ac3b050@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <40165A4C-F113-4755-9D9D-C2F594F204B4@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Error deploying Servlet 2.3 application Date: Mon, 23 Jan 2006 11:51:52 -0800 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Jan 23, 2006, at 11:37 AM, Aaron Mulder wrote: > Please post your web.xml. Yes indeed. I just added a test of context-param reading/conversion to trunk and it seems to be working properly, so we can't progress without an example that fails. thanks david jencks > > Thanks, > Aaron > > On 1/23/06, Balasubramanian.Vijay@epamail.epa.gov > wrote: >> >> I am reposting this question again. Please point me to any info that >> many be available on this issue. >> >> Thanks, >> Vijay >> >> >> Hello, >> >> I am trying to deploy a servlet 2.3 application( with 2.3 dtd >> specified >> in web.xml) in version 1.0. >> I am seeing 2.4 xml schema stuff gets prepended as below and i >> get the >> following error. >> >> I get the same error when i deploy with a plan file or not, >> command line >> or console. Am i missing something here, should there be a flag set >> in geronimo config. Please let me know if you have any info on this. >> >> Thanks, >> Vijay >> >> Caused by: org.apache.xmlbeans.XmlException: Invalid deployment >> descriptor: [err >> or: cvc-complex-type.2.4b: Element not allowed: >> description@http://java.sun.com/ >> xml/ns/j2ee in element context-param@http://java.sun.com/xml/ns/j2ee, >> error: cvc >> -complex-type.2.4b: Element not allowed: >> description@http://java.sun.com/xml/ns/ >> j2ee in element context-param@http://java.sun.com/xml/ns/j2ee, error: >> cvc-comple >> x-type.2.4b: Element not allowed: >> description@http://java.sun.com/xml/ns/j2ee in >> element context-param@http://java.sun.com/xml/ns/j2ee, error: >> cvc-complex-type. >> 2.4b: Element not allowed: description@http://java.sun.com/xml/ns/ >> j2ee >> in elemen >> t context-param@http://java.sun.com/xml/ns/j2ee, error: >> cvc-complex-type.2.4b: E >> lement not allowed: description@http://java.sun.com/xml/ns/j2ee in >> element conte >> xt-param@http://java.sun.com/xml/ns/j2ee, error: cvc-complex-type. >> 2.4b: >> Element >> not allowed: description@http://java.sun.com/xml/ns/j2ee in element >> context-para >> m@http://java.sun.com/xml/ns/j2ee, error: cvc-complex-type.2.4b: >> Element >> not all >> owed: description@http://java.sun.com/xml/ns/j2ee in element >> context-param@http: >> //java.sun.com/xml/ns/j2ee] >> Descriptor: > xsi:schemaLocation="http://java.sun.com/xml/ns/j2eehttp://j >> ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" id="sdmsc" >> xmlns:xsi="htt >> p://www.w3.org/2001/XMLSchema-instance" >> xmlns="http://java.sun.com/xml/ns/j2ee"> >> >> >> >> >> at >> org.apache.geronimo.schema.SchemaConversionUtils.validateDD(SchemaCon >> versionUtils.java:594) >> at >> org.apache.geronimo.schema.SchemaConversionUtils.convertToServletSche >> ma(SchemaConversionUtils.java:318) >> at >> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModul >> e(TomcatModuleBuilder.java:176) >> ... 79 more >> java.lang.ArrayIndexOutOfBoundsException: 8192 >> at >> org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuf >> fer.java:721) >> at >> org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuf >> fer.java:628) >> at >> org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutp >> utBuffer.java:501) >> at >> org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Proces >> sor.java:1592) >> at >> org.apache.coyote.http11.Http11Processor.action(Http11Processor.java: >> 949) >> at org.apache.coyote.Response.action(Response.java:182) >> at org.apache.coyote.Response.sendHeaders(Response.java:374) >> at >> org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java: >> 317) >> at >> org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:27 >> 8) >> at >> org.apache.catalina.connector.Response.finishResponse(Response.java:4 >> 73) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav >> a:151) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >> :856) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >> ssConnection(Http11Protocol.java:744) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo >> int.java:527) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol >> lowerWorkerThread.java:80) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >> ool.java:684) >> at java.lang.Thread.run(Thread.java:534) >> 13:34:21,248 ERROR [Http11Processor] Error finishing response >> java.lang.ArrayIndexOutOfBoundsException >> at java.lang.System.arraycopy(Native Method) >> at >> org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuf >> fer.java:690) >> at >> org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutp >> utBuffer.java:429) >> at >> org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Proces >> sor.java:1581) >> at >> org.apache.coyote.http11.Http11Processor.action(Http11Processor.java: >> 949) >> at org.apache.coyote.Response.action(Response.java:180) >> at >> org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutp >> utBuffer.java:389) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >> :893) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >> ssConnection(Http11Protocol.java:744) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo >> int.java:527) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol >> lowerWorkerThread.java:80) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >> ool.java:684) >> at java.lang.Thread.run(Thread.java:534) >> >> >> >>