users@jersey.java.net

Re: Scanning-based deployment issues fixed for WebLogic and JBoss

From: ihrytsyuk <ihrytsyuk_at_softservecom.com>
Date: Tue, 19 Oct 2010 09:40:37 -0700 (PDT)

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?

-- 
View this message in context: http://jersey.576304.n2.nabble.com/Scanning-based-deployment-issues-fixed-for-WebLogic-and-JBoss-tp4050169p5651395.html
Sent from the Jersey mailing list archive at Nabble.com.