I have upgraded the version of glassfish from 2.2.0-b21 beta version to 2.2 release version as per the requirement. It demanded a version upgrade of jersey from 2.4.1 to 2.6 and as a result of which the rest service which we are using has functionality changes. I am registering a service of root context / to jersey which is dummy registration of service. When i register more services of various context and send rest request all the request falls on the same root context /. I register root context specifying the method like GET,PUT etc. Whatever methods registered in root context is only accepted and other methods are returned 405 method not allowed. Can anyone help me out in identifying what could have gone wrong ??