On Oct 19, 2010, at 6:40 PM, ihrytsyuk wrote:
>
> We encountered problem with exploded EAR file deployment in JBoss
> 5.1.0
> Our deployment looks like:
> application.ear (not a file, it's a directory)
> |-- lib (dir)
> |-- META-INF (dir)
> |-- war1.war (file)
> |-- war2.war (file)
>
> Jersey-related annotations are placed in war1.war, war2.war and in
> ws-common.jar within application.ear/lib directory.
> During scanning Jersey is able to find annotated classes in ws-
> common.jar,
> but cannot find them in .war archives.
>
> According to the https://jersey.dev.java.net/issues/show_bug.cgi?id=454
> ,
> Jersey opens '*.ear' as a Jar file, but in case '*.ear' is a directory
> (JBoss AS supports this kind of deployment) - Scanning-based
> deployment
> fails.
>
> Is it possible to fix it?
>
Issue 454 was fixed in 1.1.5.
What version of `Jersey are you using?
Paul.