The web.xml for the rssbus AS2 connector web application uses the invalid url-pattern /**
<web-resource-collection>
<web-resource-name>Appuser Resource</web-resource-name>
...
<url-pattern>/**</url-pattern>
<url-pattern>/*</url-pattern>
</web-resource-collection>
JBoss 6 throws a deployment exception:
Deployment "vfs:///C:/Java/jboss-6.1.0.Final/server/default/deploy/rssbus.war"
is in error due to the following reason(s): java.lang.IllegalArgumentException:
1: URLPatternList item: /** matches: /*
Is this just a bug or does it work with some containers? The application file (war) is more than six months old and I can not imagine this has not been discovered (and fixed) yet.
This was a url-pattern supported by Spring and other web servlet containers such as Jetty but has since been marked as a bug and fixed in the AS2 Connector. You can download the latest version to run on JBoss.