You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Prasad Kashyap (JIRA)" <ji...@apache.org> on 2007/09/10 20:59:30 UTC

[jira] Closed: (GERONIMO-3464) A webapp with fails deployment

     [ 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
>    'run-as@http://java.sun.com/xml/ns/javaee
>    security-role-ref@http://java.sun.com/xml/ns/javaee' instead of
>    'init-param@http://java.sun.com/xml/ns/javaee' here in element
>    servlet@http://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.