-
1. Re: Creating a Sample RESTful Web Service
ron_sigal Aug 7, 2011 1:10 AM (in response to ron_sigal)Well, I created an eclipse User Library, associated it with all the RESTEasy jars, and added the library to the classpath of a dynamic web project, but I still see the same error message.
-Ron
-
2. Re: Creating a Sample RESTful Web Service
ron_sigal Aug 7, 2011 1:34 AM (in response to ron_sigal)Also, the RESTEasy example isn't showing up under Help -> Project Examples...
-Ron
-
3. Re: Creating a Sample RESTful Web Service
bfitzpat Aug 9, 2011 12:51 PM (in response to ron_sigal)Hi Ron...
What are you using as your runtime? AS? EAP? SOA-P?
--Fitz
-
4. Re: Creating a Sample RESTful Web Service
ron_sigal Aug 9, 2011 11:56 PM (in response to bfitzpat)Hi Fitz,
Using AS 5.1.0.
-Ron
[You ever watch Cracker? One of my favorites. http://en.wikipedia.org/wiki/Cracker_%28UK_TV_series%29 ]
-
5. Re: Creating a Sample RESTful Web Service
bfitzpat Aug 10, 2011 6:33 PM (in response to ron_sigal)Hmmmm... There's definitely something funky going on there. Can you create a JIRA for this and I'll see what I can do to get it fixed?
And I've heard of Cracker, but Robbie Coltrane is FAR cooler than I am.
-
6. Re: Creating a Sample RESTful Web Service
ron_sigal Aug 10, 2011 9:47 PM (in response to bfitzpat)Lol. Robbie Coltrane is FAR cooler than ALL of us. My favorite quote from Cracker:
"I drink too much, I smoke too much, I gamble too much. I *am* too much."
I created JBIDE-9516: "Problem installing RESTEasy jars". I can well believe that I've made a mistake somewhere, in which case I apologize for labelling the issue a BUG.
-Ron
-
7. Re: Creating a Sample RESTful Web Service
bfitzpat Aug 24, 2011 1:17 PM (in response to ron_sigal)Sorry this took a bit. Got sidetracked with other issues...
Couple of things. (and I put this info in JBIDE-9516 as well)
First, I found a coding error that I'll get into JBDS 4.1.1 and JBDS 5.0.0 that should fix the issue with the RESTeasy sample wizard. So you're not going insane there, I was looking for a particular jar that has changed names (i.e. added a version qualifier) that the wizard couldn't find.
Second, to get the thing to deploy I copied the RESTeasy libs into the [runtime]/libs directory as well as the [runtime]/server/default/libs directory to get the helloworld service to deploy properly. (I'm running against the "default" profile. You should put it into whichever profile you're using.)
I'm not sure that that's the right way to configure it, so you might want to ask in the RESTeasy forum as well, but it seems to work.
So I'll get this fix into the 4.1.1 stream and 5.0.0 stream so they're out with the next milestones...
--Fitz
-
8. Re: Creating a Sample RESTful Web Service
bfitzpat Aug 24, 2011 1:21 PM (in response to bfitzpat)By the way, to test it once it's deployed successfully you can use the Web Service Tester and do a "get" on with the JAX-RS url:
http://localhost:8080/rest/MyRESTApplication
And hopefully see "Hello World!" in the Response Body.
(This is more for my own sanity checking than anything else when I go looking at this later. )
-
9. Re: Creating a Sample RESTful Web Service
bfitzpat Aug 24, 2011 1:41 PM (in response to bfitzpat)Ok, I've checked fixes into both the JBDS 4.1.1 and JBDS 5.0.0 streams, so we should be good to go as soon as we get new milestone builds.
Thanks for your patience Ron!
-
10. Re: Creating a Sample RESTful Web Service
ron_sigal Aug 24, 2011 2:24 PM (in response to bfitzpat)Hey Brian,
Awesome! Thanks.
Btw, I recently learned that "fitz" means "son of". Henry VIII named his bastard son Henry Fitzroy.
-Ron
-
11. Re: Creating a Sample RESTful Web Service
ajaskey Nov 4, 2011 11:40 PM (in response to bfitzpat)I have the same problem but it may be because I have JBDS 4.1.0. I just want a verification.
I downloaded a 30 day trial and 4.1.0 is what I got. I really want the latest and greatest to see if it does what I need it to - which is quickly create a restFul example so I can quickly get it up and running without spending another week trying to guess.
I am also using JBAS 6.1.0.Final which appears to have the restFul jars in the deployer directory. But when I try to Create a Sample RESTful Web Service, it will not recognise/find the restFul jars.
Any suggestions or am I just on my own with the versions I currently have?
Thanks.
Andy
-
12. Re: Creating a Sample RESTful Web Service
bfitzpat Nov 7, 2011 9:53 AM (in response to ajaskey)Hi Andy...
We're very close to getting the 4.1.x release out, which will include the fix. Keep an eye out for an announcement soon I hope.
--Fitz
-
13. Re: Creating a Sample RESTful Web Service
ajaskey Nov 7, 2011 10:03 PM (in response to bfitzpat)Fitz - Thanks for the response. I will watch for the new release.
Thanks.
Andy