cancel
Showing results for 
Search instead for 
Did you mean: 

Watermark in WAR-exported Apps

Former Member
0 Kudos

Hi *,

I tried a lot to get rid of the watermark, but without success. Using Eclipse, everything is fine, no watermark, neither in preview nor in "printed" reports. But when I transfer the whole project to a "stand-alone"-tomcat via project-export to WAR-file and deploy to tomcat, the watermark is there.

I tried to patch the CRConfig.xml in the WEB-INF/classes-folder beneath my project-folder, but there is no success.

BTW: I updated 2 days ago the binaries via eclipse's update-mechanism. Now I have 1.0.4.v1094 and SDK 11.8.0, both are dated 22.11.2007

Any idea? Do I have to register a second time???

Going to try it, but I think, it will not help, since the eclipse-based reports are watermark-less.

Please help!

Regards,

Hans.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Can you verify if the CRConfig.xml file in the exported WAR file contains a keycode entry? If not, try right-clicking on the web project, and select Crystal Reports > Update Keycodes, and export the project again.

Former Member
0 Kudos

<p>

The simple solution is: Create XML file named as CRConfig.xml and paste the following

</p>

<span style="font-size: x-small; color: #008080">

<p align="left">

<?<span style="font-size: x-small; color: #3f7f7f">xml </span><span style="font-size: x-small; color: #7f007f">version</span><span style="font-size: x-small">=</span><span style="font-size: x-small; color: #2a00ff">"1.0" </span><span style="font-size: x-small; color: #7f007f">encoding</span><span style="font-size: x-small">=</span><span style="font-size: x-small; color: #2a00ff">"UTF-8"</span><span style="font-size: x-small; color: #008080">?><</span><span style="font-size: x-small; color: #3f7f7f">CrystalReportEngine-configuration</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

<span style="font-size: x-small; color: #008080"><</span><span style="font-size: x-small; color: #3f7f7f">reportlocation</span><span style="font-size: x-small; color: #008080">></span><span style="font-size: x-small">../..</span><span style="font-size: x-small; color: #008080"></</span><span style="font-size: x-small; color: #3f7f7f">reportlocation</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

<span style="font-size: x-small; color: #008080"><</span><span style="font-size: x-small; color: #3f7f7f">timeout</span><span style="font-size: x-small; color: #008080">></span><span style="font-size: x-small">0</span><span style="font-size: x-small; color: #008080"></</span><span style="font-size: x-small; color: #3f7f7f">timeout</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

<span style="font-size: x-small; color: #008080"><</span><span style="font-size: x-small; color: #3f7f7f">ExternalFunctionLibraryClassNames</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

<span style="font-size: x-small; color: #008080"><</span><span style="font-size: x-small; color: #3f7f7f">classname</span><span style="font-size: x-small; color: #008080">/></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

<span style="font-size: x-small; color: #008080"></</span><span style="font-size: x-small; color: #3f7f7f">ExternalFunctionLibraryClassNames</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span><span style="font-size: x-small">

<p align="left">

&#160;

</p>

<p align="left">

<span style="font-size: x-small; color: #008080"><</span><span style="font-size: x-small; color: #3f7f7f">keycode</span><span style="font-size: x-small; color: #008080">></span><span style="font-size: x-small">YOUR KEY CODE HERE <span style="color: #008080"></k</span><span style="font-size: x-small; color: #3f7f7f">eycode</span><span style="font-size: x-small; color: #008080">></span></span>

</p>

</span><span style="font-size: x-small; color: #008080">

<p>

</<span style="font-size: x-small; color: #3f7f7f">CrystalReportEngine-configuration</span><span style="font-size: x-small; color: #008080">></span>

</p>

</span>

<p>

<!l version="1.0" encoding="UTF-8>Don't forget to replace YOUR KEY CODE with the key which u get when u download com.businessobjects.keycodes.jrc_11.8.0.XXXXXXX.zip and add the above file to src folder. This will work even if you are

publishing reports using struts frame work.

</p>

<p>

Thank you

</p>

<p>

Rajavardhan Sarkapally

</p>

Former Member
0 Kudos

I am having a similar issue. We have a build server that builds our project. When the project is built outside of Eclipse, I get the watermark. Let me know if you found an answer.