Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Glassfish and jersey jar version upgrade issue  RSS feed

 
Bal Alg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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 ??
 
Vijitha Kumara
Bartender
Posts: 3992
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not totally sure as I have not checked this but few suggestions. Start checking from the glassfish config as there might be something changed in two versions (highly unlikely though) .

Have you extended any implementations related to jersey-servlet config? Check the migration guide.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!