Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to solve The requested resource is not available when Building OSLC servlet ?

Hi all
I am following the OSLC workshop in RTC 5.0.2 with tomcat 7. In the Lab 3 while Build your first OSLC servlet
 i follow the all the steps which are in the Lab Manual but when i run the Project that time First Index Login page is displayed after filling the details in that when i click on submit button that time The requested resource is not available   error is occur.
     how to solve this problem. and also how i configure my eclipse server ports .

0 votes



One answer

Permanent link
Without the detailed output of the Java application, it is quite difficult to say what you may have done wrong but there are two items that you definitely have to check.
1. You need to change to first line in the main() function in Example01.java to match your actual Jazz server configuration, unless it happens to be jazz.server.com:9443
        String server = "https://jazz.server.com:9443/ccm";        // Set the Public URI of your RTC server
2. Make sure that you have downloaded the latest version of the source code (2015-07-06). Otherwise it will not work with CLM 5.0.x. In particular, find this line in net/jazz/oslc/utils/HttpUtils.java (it has to be "TLSv1" instead of "SSL").
            // changed from SSL to TLSv1 to work with CLM 5.0.x
            sc = SSLContext.getInstance("TLSv1"); //$NON-NLS-1$

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Aug 21 '15, 6:54 a.m.

Question was seen: 4,285 times

Last updated: Aug 23 '15, 11:17 p.m.

Confirmation Cancel Confirm