Creating custom reports with Rational Publish Engine
![](http://jazz.net/_images/myphoto/75a28a02279f3630939bba627b6d977b.jpg)
I created a custom report with Rational Publish Engine and I can execute this report inside RPE Studio to get data from a document in RRC and generate a Doc/PDF/HTML file. I am trying to generate this custom report inside of RRC but when I ask to RRC to execute this report nothing happeness. I want to start execute this report in RRC and select what documents I want do generate a report.
I changed file C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\META-INF\MANIFEST.MF to put at the end follow lines:
Name: my_custom_report
Location: templates/rpe/my_custom_report.dta
Content-Type: application/octet-stream
I copied my_custom_report.dta file to C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates\rpe
C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates
I changed file C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates\templateLibrary.xml to put follow lines
<resource>
<label>my_custom_report</label>
<description>This is my first custom report</description>
<url>___REPOSITORY_URL___publish/templateLibrary/my_custom_report</url>
</resource>
In development enviroment I set in RPE the URI property in Datasource with https://server:9443/rdm/publish/documents?resourceURI=rrc128
rrc128 is ID from a document inside of RRC
I am using RRC 2.0.0.2 ifix 1. and Rational Publishing Engine Document Studio 1.1.1
I changed file C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\META-INF\MANIFEST.MF to put at the end follow lines:
Name: my_custom_report
Location: templates/rpe/my_custom_report.dta
Content-Type: application/octet-stream
I copied my_custom_report.dta file to C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates\rpe
C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates
I changed file C:\Program Files\IBM\RRCS20\server\conf\rdm\reporting\initialization\templates\templateLibrary.xml to put follow lines
<resource>
<label>my_custom_report</label>
<description>This is my first custom report</description>
<url>___REPOSITORY_URL___publish/templateLibrary/my_custom_report</url>
</resource>
In development enviroment I set in RPE the URI property in Datasource with https://server:9443/rdm/publish/documents?resourceURI=rrc128
rrc128 is ID from a document inside of RRC
I am using RRC 2.0.0.2 ifix 1. and Rational Publishing Engine Document Studio 1.1.1
2 answers
![](http://jazz.net/_images/myphoto/75a28a02279f3630939bba627b6d977b.jpg)
When I start RRC server I see:
RRCINFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...
I downloaded tcnative-1.dll from http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/ and copied this file to C:\WINDOWS\SYSTEM32 and restarted RRC Server
After this copy RRC Server stoped work.
What anyone recommend?
RRCINFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...
I downloaded tcnative-1.dll from http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/ and copied this file to C:\WINDOWS\SYSTEM32 and restarted RRC Server
After this copy RRC Server stoped work.
What anyone recommend?
![](http://jazz.net/_images/myphoto/75a28a02279f3630939bba627b6d977b.jpg)
I have always ignored this informational message.
So my first recommendation is to just remove that dll from your library
path (:-).
But I would also be interested in hearing if anyone has been able to
successfully use a native Tomcat library, and whether the effect on any
of the Jazz servers is significant.
Cheers,
Geoff
On 7/19/2010 9:22 PM, andersonandernet wrote:
So my first recommendation is to just remove that dll from your library
path (:-).
But I would also be interested in hearing if anyone has been able to
successfully use a native Tomcat library, and whether the effect on any
of the Jazz servers is significant.
Cheers,
Geoff
On 7/19/2010 9:22 PM, andersonandernet wrote:
When I start RRC server I see:
RRCINFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path ...
I downloaded tcnative-1.dll from
http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/
and copied this file to C:\WINDOWS\SYSTEM32 and restarted RRC Server
After this copy RRC Server stoped work.
What anyone recommend?