Skip to main content



      Home
Home » Eclipse Projects » Lyo » org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004
org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435618] Wed, 01 October 2014 15:08 Go to next message
Eclipse UserFriend
Hello OSLC Experts,
I am a newbie in OSLC domain. I am currently working with the testing the OSLC providers. I wanted to test the OSLC Providers from the consumer side.

I am working with org.eclipse.lyo.client.java.sample and trying to workout with the
GenericCMSample.java class.

For that I am running the
org.eclipse.lyo.oslc4j.changemanagement project and passing the following as parameters

-url http://localhost:8080/OSLC4JRegistry/catalog/singleton
-providerTitle "OSLC Lyo Change Management Service Provider Catalog"

as said in the https://wiki.eclipse.org/Lyo/BuildClient

But I am getting the error

org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004: The requested resource could not be found. Resource: http://localhost:8080/OSLC4JRegistry/catalog/singleton Value: OSLC Lyo Change Management Service Provider Catalog.
at org.eclipse.lyo.client.oslc.OslcClient.lookupServiceProviderUrl(OslcClient.java:393)
at org.eclipse.lyo.client.oslc.samples.GenericCMSample.main(GenericCMSample.java:86)


how to fix this? Does anybody else got the same error?

Many thanks in advance

Saad

[Updated on: Wed, 01 October 2014 15:09] by Moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435631 is a reply to message #1435618] Wed, 01 October 2014 15:32 Go to previous messageGo to next message
Eclipse UserFriend
Saad,

Try removing the word "Catalog" from the title.

-providerTitle "OSLC Lyo Change Management Service Provider"


Sam
Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435634 is a reply to message #1435631] Wed, 01 October 2014 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Sam...
It worked well for me now

[Updated on: Wed, 01 October 2014 16:06] by Moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435636 is a reply to message #1435631] Wed, 01 October 2014 15:40 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Sam...
I managed to get it worked.. I misunderstood and now I removed the word catalog and now it is working fine ... thank you so very much

[Updated on: Wed, 01 October 2014 16:06] by Moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435653 is a reply to message #1435636] Wed, 01 October 2014 16:06 Go to previous message
Eclipse UserFriend
Edit: Disregard, I see you've got it now!

[Updated on: Wed, 01 October 2014 16:06] by Moderator

Previous Topic:Sample Creating OSLC Link via Browser? (302 Response)
Next Topic:OslcClient Thread Safety
Goto Forum:
  


Current Time: Tue Mar 18 12:17:19 EDT 2025

Powered by FUDForum. Page generated in 0.09238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top