Fedora Account System
Red Hat Associate
Red Hat Customer
Packages like RESTEasy or jruby-complete.jar (JSR-223 support) rely on classloaders reading files in META-INF/services/ and instantiating classes from there. E.g. RESTEasy uses it to find a concrete implementation of com.sun.ws.rs.ext.RuntimeDelegateImpl ----------- /im/rhq/modules/enterprise/server/plugins/alert-sms/src/main/resources/META-INF/services/javax.ws.rs.ext.RuntimeDelegate --- org.jboss.resteasy.spi.ResteasyProviderFactory ---------------------------------------------------- Unfortunately it looks like this file is never consulted, which ends up in 14:07:50,064 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.ws.rs.ext.RuntimeDelegateImpl So users that want to use RESTeasy in their alert-plugin will not be able to use it. In the above example, I copied the file to $plugin-jar/META-INF/lib, but optimally it should be obtained from $plugin-jar/lib/resteasy-jaxrs.jar or in the jruby case from $plugin-jar/lib/jruby-complete.jar
In both cases, copying the jruby jar or the resteasy jars to jbossas/server/default/lib fixes the issue (for resteasy at least the one listed here). For jruby-complete putting into server/default/lib it completely fixes it.
this would involve non-trivial amount of work. to fix, we'd have to put it on the dev plan to block out some time to do it. Needs at least a few days of work (just a guess).
Never given priority. closing.