[jboss-user] [JBoss Web Services] New message: "Re: [beginner] Deploying a ear file under JBoss AS 5"

Peter Johnson do-not-reply at jboss.com
Mon Jan 11 10:02:29 EST 2010

User development,

A new message was posted in the thread "[beginner] Deploying a ear file under JBoss AS 5":


Author  : Peter Johnson
Profile : http://community.jboss.org/people/peterj

This extra error message helps:
> sarko86 wrote:
>  The content
>  of element type "servlet-mapping" must match "(servlet-name,url-pattern)". @ vfs
>  zip:/C:/Programmi/jBoss/server/default/deploy/example2.ear/example2.war/WEB-INF/
>  web.xml[16,21]
JBoss AS 5 is striucter whne it comes to following the web.xml file layout thatn what AS 4.x was. The issue is that you have the servlet-name and url-pattern in the wriong order; it should be:


To reply to this message visit the message page: http://community.jboss.org/message/519288#519288

More information about the jboss-user mailing list