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 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.
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
showing 5 of 9
show 4 more comments
|
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 |
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.
Comments
I have asked around. The examples are outdated and I could not find a resource that could look into this and updated them, unfortunately.
Hi Ralph
I tried the samples myself and I am exactly where you are, Lukas. Sorry.
Do you have the source code for the buildingblocks application? As far as I can see, it is not included in the Application SDK package.
Lukas,
I have the same access you have, pretty much. You could try to locate a JSF build as described in one of the tutorials and see if there is access to these JAR's. I am not sure about the path to the build results however.
Could it be one of these downloads? They seem to be only available to IBM folks.
I don't know. At this point we are down to trial and error, unless we find someone who is familiar with the code and can provide hints.
Hello Lukas.
Were you able to find the source of the error?? We are following the same tutorial for creating a custom app and we are stuck with the same error when we try to deploy our war file.
No, unfortunately not