[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Where is the JRVIEWER-Console and where are the JRVIEWER-Logs stored?  XML
Forum Index -> Development
Author Message
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Dear Community

I've got a strange error message out of CC from the JRVIEWER-Component who says "Fehler bei anzeigen von Report. Details ? Siehe Konsole." (see picture1.png).

For testing purposes I have written a Swing-Viewer, who is using the corresponding SWING-Component, without any error message (see picture2.png).

My questions: Where is the JRVIEWER-Console and where are the JRVIEWER-Logs stored?

Thanks and with best regards
PATRICK
[Thumb - picture1.png]
 Filename picture1.png [Disk] Download
 Description
 Filesize 27 Kbytes
 Downloaded:  531 time(s)

[Thumb - picture2.png]
 Filename picture2.png [Disk] Download
 Description
 Filesize 65 Kbytes
 Downloaded:  501 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5523
Offline

Hi Patrick,

this is part of the client log.

If you go via Webstart/Applet: Systemsteuerung => Java => last "Tab" => "Kosole einblenden".

You may also pass client parameter "clientlogfile=c:\temp\xyz.log", then the client log is written to the file system.

Regards, Björn

Björn Müller, CaptainCasa GmbH
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Servus Björn

Thanks for your fast answer ... you are right (as usual, haha - thanks again).

In the meantime I figured out the root cause of that funny message by myself.

I am using a special font, called "OCR B". The server side knows about that font, but client side don't. It seems, that JRVIEWER-Component looks on client side for that font.

Do you have a good idea how to check if "OCR-B" is present on client side before such thing will happen to an end user?

Thanks in advance
PATRICK
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5523
Offline

Hi Patrick,

"no chance" is the best response I can give - unfortunately.
When using JRVIEWER you must feed the PDF so that JRVIEWER likes it...

Of course this might be a problem, when not being the owner of the PDF. In this case you need to show the PDF by calling the browser (JSHOWURL).

Regards, Björn

Björn Müller, CaptainCasa GmbH
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Good morning Björn

No, we are not talking about PDF. I know Jasper-PDF creation has the same problem regarding font embedding.

The JRVIEWER shows an XML after the JRPRINT was created and exported into this specific XML format. And here we have no chance to embedd a font into that XML

But I have an idea which I want to test. In case of sucess will post some lines how to do so

Regards; PATRICK
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

-
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team