Problem running Jazz Foundation Application SDK war samples
Dear all
I have downloaded and installed the Jazz Foundation 5.0 zip pachage. Once setup and installed, I have downloaded the 'Application SDK' package from the Jazz Foundation downloads page. This package contains two sample applications (in the apps folder of the unpacked download), 'buildingblocks' and 'JFSExplorer'. I have properly placed the configuration files as well as the war files at the appropriate location. After (re)starting the server, I wanted to access the SCR of both applications.
https://localhost:9443/buildingblocks/scr --> successful :-)
https://localhost:9443/JFSExplorer/scr --> results in the error below
Some more details
It would be phenomenal if someone out there could point me in the right direction, I'm getting mad about this 403 error ;-|
Best Regards
Lukas
I have downloaded and installed the Jazz Foundation 5.0 zip pachage. Once setup and installed, I have downloaded the 'Application SDK' package from the Jazz Foundation downloads page. This package contains two sample applications (in the apps folder of the unpacked download), 'buildingblocks' and 'JFSExplorer'. I have properly placed the configuration files as well as the war files at the appropriate location. After (re)starting the server, I wanted to access the SCR of both applications.
https://localhost:9443/buildingblocks/scr --> successful :-)
https://localhost:9443/JFSExplorer/scr --> results in the error below
HTTP Status 403 - CRJZS0040E No REST service handler is registered for the following path: /scr.
type Status report
message CRJZS0040E No REST service handler is registered for the following path: /scr.
description Access to the specified resource has been forbidden.
-
I faced the same error before while i created a self made jazz apllication, unfortunately, nobody could help me out there till now..., maybe because it was to specific, so I went on to find an example which is easy reproducable
- I have assigned all available repository permissions as wll as the Rational Jazz Foundation - Foundation User license.
- I did this installation on a PC where I've never installed anything related to jazz/ibm before, to make sure there are no side effects.
-
Due to the issue above, I could only register the buildingblocks application in 'register applications' of jts
It would be phenomenal if someone out there could point me in the right direction, I'm getting mad about this 403 error ;-|
Best Regards
Lukas
One answer
The HTTP 403 error is expected because there is no /scr specified for this application. You should notice that there is no scr.xml included in the .war file. The com.ibm.team.jfs.sdk.samples.explorer_1.2.100.v20140602_2352/plugin.xml file shows all the registered REST services:
/explorer*
/explorer/query
/explorer/history
/explorer/index
/explorer/resources/*
The landing page should be https://<host>:<port>/JFSExplorer/explorer but I got a HTTP 401 error instead. Need to dig a bit deeper.
Finally make it work (with CLM 5.0.2). Steps below.
1. Deploy both the buildingblocks and JFSExplorer samples to Tomcat.
2. Start Tomcat.
3. Register buildingblocks to JTS.
4. Find out the OAuth consumer secret and key in buildingblocks.properties or friends.rdf under server/conf/buildingblocks.
5. Modify the file server/conf/JFSExplorer/explorer.properties to put the values found at the previous step.
6. Restart Tomcat.
7. Access https://<host>:<port>/JFSExplorer/explorer and the JTS login page should show up.
8. Log in as an existing JTS user, and the prompt will appear asking whether to allow collaborating with buildingblocks.
9. Answer Yes and the JFSExplorer page should appear.
More information about JFSExplorer can be found in the below Wiki page.
https://jazz.net/wiki/bin/view/Main/JFSExplorer
/explorer*
/explorer/query
/explorer/history
/explorer/index
/explorer/resources/*
The landing page should be https://<host>:<port>/JFSExplorer/explorer but I got a HTTP 401 error instead. Need to dig a bit deeper.
Finally make it work (with CLM 5.0.2). Steps below.
1. Deploy both the buildingblocks and JFSExplorer samples to Tomcat.
2. Start Tomcat.
3. Register buildingblocks to JTS.
4. Find out the OAuth consumer secret and key in buildingblocks.properties or friends.rdf under server/conf/buildingblocks.
5. Modify the file server/conf/JFSExplorer/explorer.properties to put the values found at the previous step.
6. Restart Tomcat.
7. Access https://<host>:<port>/JFSExplorer/explorer and the JTS login page should show up.
8. Log in as an existing JTS user, and the prompt will appear asking whether to allow collaborating with buildingblocks.
9. Answer Yes and the JFSExplorer page should appear.
More information about JFSExplorer can be found in the below Wiki page.
https://jazz.net/wiki/bin/view/Main/JFSExplorer
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 16 '14, 2:55 a.m.Lukas Steiger
Jul 16 '14, 2:58 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 16 '14, 3:21 a.m.Lukas Steiger
Jul 16 '14, 3:33 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 16 '14, 4:08 a.m.Lukas Steiger
Jul 16 '14, 4:16 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 16 '14, 4:38 a.m.omar kabada
Sep 24 '15, 10:20 a.m.Lukas Steiger
Oct 06 '15, 2:39 a.m.