It's all about the answers!

Ask a question

Creating custom reports with Rational Publish Engine


Anderson Silva (1163) | asked Jul 19 '10, 9:11 p.m.
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

2 answers



permanent link
Anderson Silva (1163) | answered Jul 19 '10, 9:15 p.m.
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?

permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 19 '10, 11:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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:
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?

Your answer


Register or 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.