geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Error deploying Servlet 2.3 application
Date Mon, 23 Jan 2006 22:37:18 GMT

On Jan 23, 2006, at 2:20 PM, Balasubramanian.Vijay@epamail.epa.gov  
wrote:

> David,
> Will your fixes be in the nightly build?
>
I didn't change any code, I just added some context-params to a test,  
and the test still worked.  I haven't had a chance to look at your  
web.xml yet.

thanks
david jencks


> Thanks,
> Vijay
>
>
>
>              David Jencks
>              <david_jencks@ya
>               
> hoo.com>                                                To
>                                       user@geronimo.apache.org
>              01/23/2006  
> 01:51                                        cc
>              PM
>                                                                  
> Subject
>                                       Re: Error deploying Servlet 2.3
>               Please respond          application
>                     to
>              user@geronimo.ap
>                  ache.org
>
>
>
>
>
>
>
>
> 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
>> <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: <web-app
>>> 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">
>>>
>>> <!-------- My web.xml is printed here --------------->
>>>
>>> </web-app>
>>>         at
>>> org.apache.geronimo.schema.SchemaConversionUtils.validateDD 
>>> (SchemaCon
>>> versionUtils.java:594)
>>>         at
>>> org.apache.geronimo.schema.SchemaConversionUtils.convertToServletSch 
>>> e
>>> ma(SchemaConversionUtils.java:318)
>>>         at
>>> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModu 
>>> l
>>> 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)
>>>
>>>
>>>
>>>
>
>
>


Mime
View raw message