Null Pointer Exception setting up Jazz Reporting Service 5.0.2
I recently installed WAS 8.5, RRDI 5.0.2, and JRS 5.0.2. RRDI is running fine now. JRS is not. I followed a video I found online, but the video was geared towards JRS on the same server as JTS, so I may be missing something.
My setup: JTS & CCM on a Linux 6.4 server with Tomcat. RRDI & JRS on a Windows 2012 server with WAS. All databases on the same MS SQL 2012 Server. All apps and OS' are 64 bit. What I have done so far: Installed the rs.war file into WAS Console Added the JRS Shared Library (classpath=C:\Program Files\IBM\RRDI\jrs\JazzTeamServer\server\conf\rs\WAS_SharedLibrary) Note that I set Scope to "Cell" - that detail wasn't covered in the video, so I guessed as Cell appears to also include nodes. Copied the JDBC driver to the shared library folder (though I'm not sure that was actually necessary). Stopped and started WAS. Ran the JTS setup and went to add /rs as a new registered application. Application Type and Functional User ID auto-filled, indicating I had in theory typed the correct URI (https://SERVER:PORT/rs/scr). When I clicked Register Applications, I got the null pointer exception as listed below. I searched for an answer and found a post here about setting the JAZZ_HOME variable, so I tried that (set to C:\Program Files\IBM\RRDI\jrs\JazzTeamServer\server\conf), stopped and started WAS again, then tried to register the application again. No change. Any ideas? Request to service https://rrdi.devtst.go2uti.com:9082/rs/jts-registration failed with status code 500 and response body: Error 500: java.lang.NullPointerException |
Accepted answer
First I assume you have DCC and JRS in separate WAS profiles, or on different machines. Both applications need JAZZ_HOME to be defined correctly in the JVM of the WAS profile and because they are installed in different folders on your system, you cannot define JAZZ_HOME for both folders.
As for the JAZZ_HOME for JRS, you indicated that you set it to: C:\Program Files\IBM\RRDI\jrs\JazzTeamServer\server\conf This is not correct. Try setting it to the following (use forward slashes and make sure there are 3 /s after “file:”): file:///C:/Program Files/IBM/RRDI/jrs/JazzTeamServer/server/conf When you defined the JRS shared library, the scope should have been “Node=<yourSystemNode>, Server=server1. I do not know if choosing Cell makes a difference or not. When installed the rs.war file, you indicated that the JRS shared library reference was added. I assume you added it to the rs_war application. Also, in the main rs_war page in the WAS console, click on “Class loading and update detection” and ensure the option “Classes loaded with local class loader first (parent last)” is selected. Restart WAS and try the registration again. Mike Shkolnik selected this answer as the correct answer
Comments
Mike Shkolnik
commented Jan 09 '15, 1:43 p.m.
The following are all on one Windows Server 2012 machine:
WAS
DCC
JRS
RRDI
The following are all on one Linux 6.4 machine:
JTS
CCM
Databases for all of the above are all on one SQL Server 2012 machine
Thanks, the syntax change did the trick. Admittedly I am more familiar with "Was (Not Was)" than WAS. :-) I'm learning, though.
|
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.