Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 99859 invoked from network); 23 Jan 2006 19:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 19:37:57 -0000 Received: (qmail 52030 invoked by uid 500); 23 Jan 2006 19:37:54 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 52006 invoked by uid 500); 23 Jan 2006 19:37:54 -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 51995 invoked by uid 99); 23 Jan 2006 19:37:54 -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:37:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 66.249.92.201 as permitted sender) Received: from [66.249.92.201] (HELO uproxy.gmail.com) (66.249.92.201) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 11:37:53 -0800 Received: by uproxy.gmail.com with SMTP id o2so23725uge for ; Mon, 23 Jan 2006 11:37:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q+zaGEM3zMjAdL2eQlmUoR0RoVg/oDCDnnMXy06c59qIfOmkXRloRYJ3+yu74+6HWRCErocEevyb/7yF5avec7ekPkBO8k67gRZqzQtZ9ic/0O/hxU3gAP6MQxY/tTWZgTTpca4KKQF3+WWDQgwgmbHSRZs0gKBNBdxXgGzSTl0= Received: by 10.67.23.20 with SMTP id a20mr2490570ugj; Mon, 23 Jan 2006 11:37:31 -0800 (PST) Received: by 10.66.219.2 with HTTP; Mon, 23 Jan 2006 11:37:31 -0800 (PST) Message-ID: <74e15baa0601231137w585fe88fod1b250c00ac3b050@mail.gmail.com> Date: Mon, 23 Jan 2006 14:37:31 -0500 From: Aaron Mulder Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Fw: Error deploying Servlet 2.3 application In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Please post your web.xml. 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=3D"http://java.sun.com/xml/ns/j2eehttp://j > ava.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version=3D"2.4" id=3D"sdmsc" > xmlns:xsi=3D"htt > p://www.w3.org/2001/XMLSchema-instance" > xmlns=3D"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) > > > >