Skip to Content
author's profile photo Former Member
Former Member

Watermark in WAR-exported Apps

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2007 at 10:45 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 04, 2008 at 01:39 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      <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>

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.