Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:08 Go to next message
saadbin abid is currently offline saadbin abidFriend
Messages: 61
Registered: October 2009
Location: Ireland
Member
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 19:09]

Report message to a moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435631 is a reply to message #1435618] Wed, 01 October 2014 19:32 Go to previous messageGo to next message
Samuel Padgett is currently offline Samuel PadgettFriend
Messages: 30
Registered: July 2009
Member
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 19:35 Go to previous messageGo to next message
saadbin abid is currently offline saadbin abidFriend
Messages: 61
Registered: October 2009
Location: Ireland
Member
Thanks Sam...
It worked well for me now

[Updated on: Wed, 01 October 2014 20:06]

Report message to a moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435636 is a reply to message #1435631] Wed, 01 October 2014 19:40 Go to previous messageGo to next message
saadbin abid is currently offline saadbin abidFriend
Messages: 61
Registered: October 2009
Location: Ireland
Member
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 20:06]

Report message to a moderator

Re: org.eclipse.lyo.client.exception.ResourceNotFoundException: OSLCC004 [message #1435653 is a reply to message #1435636] Wed, 01 October 2014 20:06 Go to previous message
Samuel Padgett is currently offline Samuel PadgettFriend
Messages: 30
Registered: July 2009
Member
Edit: Disregard, I see you've got it now!

[Updated on: Wed, 01 October 2014 20:06]

Report message to a moderator

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


Current Time: Fri Apr 19 06:59:55 GMT 2024

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

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

Back to the top