When I have deployed my simple REST application on glassfish, by looking in the log for messages that indicates that my custom application class registered with the container and associated resources, I didn't found anything except these messages:
[#|2013-01-08T05:28:44.642+0200|INFO|glassfish4.0|org.glassfish.jersey.server.ApplicationHandler|_ThreadID=104;_ThreadName=admin-listener(2);_TimeMillis=1357442924642;_LevelValue=800;|[failed to localize] init.msg(Jersey: 2.0-m10 2012-11-19 13:21:25)|#]
[#|2013-01-08T05:42:17.325+0200|INFO|glassfish4.0|org.glassfish.jersey.servlet.init.JerseyServletContainerInitializer|_ThreadID=50;_ThreadName=admin-listener(2);_TimeMillis=1357443737325;_LevelValue=800;|[failed to localize] jersey.app.registered.mapping(eg.taman.jcp.specs.rs2.test.app.MyApplication, /res/*)|#]
a the first glance I doubt that there are problem, in registering the application, but I tried to access the application and it works, I am using the , and I think that it is localization messages loading problem in jersey messages bundle.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Duplicate [ 3 ]|
|Fix Version/s||2.0 [ 15271 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|