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:
[EMAIL PROTECTED]://java.sun.com/
xml/ns/j2ee in element [EMAIL PROTECTED]://java.sun.com/xml/ns/
j2ee,
error: cvc
-complex-type.2.4b: Element not allowed:
[EMAIL PROTECTED]://java.sun.com/xml/ns/
j2ee in element [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee,
error:
cvc-comple
x-type.2.4b: Element not allowed:
[EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee in
element [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error:
cvc-complex-type.
2.4b: Element not allowed: [EMAIL PROTECTED]://java.sun.com/xml/ns/
j2ee
in elemen
t [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error:
cvc-complex-type.2.4b: E
lement not allowed: [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee in
element conte
[EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error: cvc-complex-type.
2.4b:
Element
not allowed: [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee in element
context-para
[EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error: cvc-complex-type.2.4b:
Element
not all
owed: [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee in element
[EMAIL PROTECTED]:
//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)