Websense Dont creat a PDF report

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 2 Followers

Not Ranked
3 Posts
Azeddine posted on 6 Mar 2012 2:40 PM

Hi,

When I try open the pdf report that I created on Investigative report, the adobe show me this message and not open the file:

Acrobat could open 'filename.pdf' because it is either not a supported file type or because the file has been damaged...

I installed the patch " WWF_7.5_Hotfix_78_IR_Security_Patches_windows" but the problem still persists

i have :

websense filtering 7.5

OS : Windows 2003

mode : standalone

Thank you

Best regards

|

All Replies

Top 10 Contributor
382 Posts
Moderator

The issue might be caused by the memory allocation the report would consume once we generate the PDF report. We can adjust the memory to an appropriate value.

The pdf file is created by java application, and you can find the following configuration items in websense/webroot/explorer/wse.ini .

fopMinMem=128
fopMaxMem=1024

These parameters are used by java, and the default setting maybe not work sometimes , in these cases, the java application would generate a pdf file with bad format, and could not be opened by pdf reader. so, first, we need confirm these settings are suitable for the server.

Below is the steps:
1 open a command line window in windows and enter the c:\program files\websense\uninstall\jvm\bin folder.
2 run the "java.exe ¨CXms128M -Xmx1024M -version"
If you can find the version info in the output, it means the parameters are suitable for this box.
If you find "Could not reserve enough space for object heap" or " could not create the Java virtual machine", it means the parameters are not suitable for this box.
you can modify the size parameter, and try again. For example : "java.exe ¨CXms128M -Xmx900M -version".
Via this method, we can detect the correct parameters for java, and then modify the wse.ini file according this result, and try to generate the pdf file again.
for example, if the "java.exe -CXms56M -Xmx900M -version command work in the box, we should modify the wse.ini java parameters as below:

fopMinMem=56
fopMaxMem=900

|
Page 1 of 1 (2 items)