Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

REST services in JBOSS  RSS feed

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying out a sample REST service using JBOSS and the Rest Easy plugin.
I followed all the steps provided at the link below.
http://www.assertionerror.com/2009/02/26/restful-web-services-with-resteasy/
However, I am not able to access the service after deploying the war.

Here is what I did.
Modified web.xml in the rest easy war provided with RestEasy.

Put my classes in the lib folder
Created a war file with the modified contents and deployed to JBOSS.
The war was deployed successfully
Tried to access the following
http://localhost:8080/rest-services/phonebook
Got a 404 response.

Has anyone worked with JBOSS and REST? Am I doing something wrong? Is there another resource that might help me?
Any help would be much appreciated.

Thanks in advance!
 
Cindy Jones
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Withdrawing this question. I was using the wrong url, without the context root! My apologies

Thanks!!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!