Hello, Next to the missing Xalan Implementation in Fedora deployed in JBoss (depending on JBoss version and/or classloading isolation of the web application), there is another problem with Fedora 3.4.2 deployed in Jboss 5+.
You will get an exception about the ResourceConfig not having any root resource classes, because the package scanner of Jersey is scanning for classes having the @Path annotation inside of the packages defined by the param-values of the param-name configurations "com.sun.jersey.config.property.packages" in the fedora.war/WEB-INF/web.xml and since JBoss 5+ the classloader do support a VFS (virtual file system) only. So the URLs returned by the classloaders consists of the scheme vfs:/ in JBoss 6 and because of that, the Jersey AnnotationClassScanner or the Scanner implementations of the later Jersey versions are unable to find the URLs, because they are checking for URLs with the schemes "file:/", "jar:/" and so on but not for "vfs:/". In Jersey 1.3 this has been fixed for schemes "vfsfile" and "vfszip" (iirc), which are schemes of JBoss 5, which got changed to "vfs" in JBoss 6. To summarize this: It is impossible to get the Fedora RestService running in JBoss 5 and later versions for Fedora 3.4.2. Possible solution: A possibility to get around the VFS URLs could be, to write a class, which extends from javax.ws.rs.Application and defines the REST interface for Fedora. Instead of defining packages to scan, you define the param-name "javax.ws.rs.Application" with the implementing class as the param-value in the fedora.war/WEB-INF/web.xml. Kind regards, Marko Voß ePublishing & eScience Development & Applied Research Phone +49 7247 808-744 Fax +49 7247 808-133 marko.v...@fiz-karlsruhe.de FIZ Karlsruhe - Leibniz Institute for Information Infrastructure Hermann-von-Helmholtz-Platz 1 76344 Eggenstein-Leopoldshafen, Germany www.fiz-karlsruhe.de<http://www.fiz-karlsruhe.de> [cid:image001.gif@01CC5CE2.DD22C730] ------------------------------------------------------- Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische Information mbH. Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 101892. Geschäftsführerin: Sabine Brünger-Weilandt. Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.
<<inline: image001.gif>>
------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________ Fedora-commons-developers mailing list Fedora-commons-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers