[JAX_RS_SPEC-328] Configuration with subclass of Application doesn't work correctly Created: 31/Dec/12 Updated: 07/Jan/13 Resolved: 07/Jan/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Mac OS 10.6/ Windows 7 jDK 7
I've tried to deploy an application that works correctly on Glassfish 3 but found that it doesn't work on Glassfish4.
To make it work I've to override MyApplication#getClasses and make it return a Set that contains all application's resources.
The specification states that :
"When an Application subclass is present in the archive, if both Application.getClasses and
if my application contains a subclass of Application that returns empty lists resource classes are not included or JAX-RS doesn't automatically discover them.
|Comment by Santiago Pericas-Geertsen [ 07/Jan/13 ]|
This is not an issue on the JAX-RS specification but on the RI (Jersey). It should be filed at jersey.java.net.