[
https://issues.apache.org/jira/browse/GERONIMO-3464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad Kashyap closed GERONIMO-3464.
------------------------------------
Resolution: Invalid
Failure caused by <load-on-startup> preceding <init-param>
Guess Tomcat is more flexible.
> A webapp with <init-param> fails deployment
> -------------------------------------------
>
> Key: GERONIMO-3464
> URL: https://issues.apache.org/jira/browse/GERONIMO-3464
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Environment: Windows XP
> Reporter: Prasad Kashyap
> Assignee: David Jencks
> Priority: Critical
> Fix For: 2.0.2
>
>
> I have a very simple web.xml whose only servlet definition contains an
> <init-param>
> {code}
> <servlet>
> <display-name>AsyncServlet</display-name>
> <servlet-name>AsyncServlet</servlet-name>
> <servlet-class>org.apache.geronimo.AsyncServlet</servlet-class>
> <init-param>
> <param-name>remoteUrl</param-name>
> <param-value>http://puffyshirt:8080</param-value>
> </init-param>
> </servlet>
> {code}
> This webapp fails deployment with the following exception:
> error: cvc-complex-type.2.4a: Expected elements
> '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' instead of
> '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' here in element
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee
> The same app deploys successfully on Tomcat
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.