hi,
I am troubleshooting some problem where "View as PDF" sometimes does not work for discussions. Right now I am not at a point where I can surely reproduce that problem. Sometimes PDF get generated other times not.
But I found another problem with as PDFs that get generated. The avatar images do not show up in the PDF.
This is a screenshot of the thread:
And this is the PDF (it is also attached).
These are our customized FTLs:
/template/decorator/default/header-favicon.ftl
/template/decorator/default/page-footer.ftl
/template/global/custom-css.ftl
/template/global/include/view-profile-friends-list.ftl
/template/global/people.ftl
/template/global/unauth.ftl
/template/global/user-bar.ftl
/template/global/view-profile.ftl
/template/socialgroup/socialgroup-form.ftl
I attached the log files catalina.out clearspace.log.
best regards,
Nils
I reread one older bug with pdfs that we/you still did not figure out.
http://www.jivesoftware.com/jivespace/message/144901#144901
There is an advice in there to remove the avatars in jiveHome/attachments/cache/. I tried that that did not help. So I did a restart no improvement. Even worse. Now, I can not produce any of PDFs.
The logfiles uploaded before are just after the restart.
UPDATE:
After a short break, PDF are getting generated again. I did not change anything. I just had a cigarette.
This is what the cataline.out says when a PDF is successfully generated:
16:25:28,875 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /people/u144770/avatar/32.png?a=1269
16:25:28,879 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /people/u144770adm/avatar/32.png?a=-1
16:25:28,882 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /people/u144770adm/avatar/32.png?a=-1
16:25:28,884 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /images/up-10x10.gif
16:25:28,885 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /people/u144770/avatar/32.png?a=1269
16:25:28,887 [http-10500-2] ERROR org.apache.fop.fo.FONode - Image not found: /images/up-10x10.gif
16:25:28,914 [http-10500-2] WARN org.apache.fop.layoutmgr.PageBreakingAlgorithm - Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 1/2027)
16:25:28,915 [http-10500-2] ERROR org.apache.fop.render - Image not found: /people/u144770/avatar/32.png?a=1269
16:25:28,920 [http-10500-2] ERROR org.apache.fop.render - Image not found: /people/u144770adm/avatar/32.png?a=-1
16:25:28,922 [http-10500-2] ERROR org.apache.fop.render - Image not found: /people/u144770adm/avatar/32.png?a=-1
16:25:28,924 [http-10500-2] ERROR org.apache.fop.render - Image not found: /images/up-10x10.gif
16:25:28,924 [http-10500-2] ERROR org.apache.fop.render - Image not found: /people/u144770/avatar/32.png?a=1269
16:25:28,926 [http-10500-2] ERROR org.apache.fop.render - Image not found: /images/up-10x10.gif
16:25:28,931 [http-10500-2] WARN org.apache.fop.layoutmgr.PageBreakingAlgorithm - Part/page 0 overflows the available area in block-progression dimension. (fo:static-content, location: 1/2027)
Message was edited by: Nils Bolsen
Hi Nils,
Can you send me your logs as they are now (after PDF stopped working altogether)? Are you using Weblogic? Another customer has run into a similar issue and it was caused by a misconfiguration with Weblogic. Are you still using Clearspace 2.5.17?
Thanks,
Cory
corygagliardi wrote:
Can you send me your logs as they are now (after PDF stopped working altogether)?
attached
No. Tomcat and mysql
Yes? it is the latetest version
I just tried to create PDFs again, still working, but avatar do not show up.
Nils
Hey Nils,
Can you send me all of your theme files. This is located in jiveHome/themes. The Admin Console home page will list the location of your jiveHome directory. I would like to load up your theme locally so that I can isolate whether or not this issue is related to your theme.
Thanks,
Cory
Hi Cory,
We use your svn to store our customizations. Please feel free to use them:
https://svn.jivesoftware.com/svn/ext/customer/lufthansa/trunk/web/src/main/t
hemes/lufthansa/templates
Best regards,
Nils
Hey Nils,
Sounds good. I'll load up your customizations and let you know what I find.
Thanks,
Cory
Hi Nils,
I have confirmed that this is not related to your theme. Does this happen with all content or just discussions? Is it all discussions, or just some discussions?
Thanks,
Cory
Avatars are also missing in blogposts, too.
Documents do not print comments, so it looks like a general "View as PDF".
Hey Nils,
I was able to reproduce this issue by modifying my jiveURL system property. In the Admin Console, go to System > Settings > System Properties and look for jiveURL. Please verify that this is exactly as it appears in your URL bar, without a trailing slash. For example,
http://www.lufthansa.de/online/community
Let me know if this helps.
Thanks,
Cory
Hi Nils,
The jiveURL does not appear to be the problem. Can you see if the server can access itself using that URL? Try performing a wget from the server:
wget https://eteaming.staging.ebase.dlh.de
I will see if the issue could be related to using https.
Thanks,
Cory
Thanks for the reply. If have checked the local call and it is not
successful. The there is something wrong with dns resolution. I am in
contact with the responsible team.
we added the name of the server in the /etc/hosts file
57.20.62.179 vmh-eteaming-staging.lsy.fra.dlh.de eteaming.staging.ebase.dlh.de
Now, it can do a wget, but on the local tomcat port (10500). Port 80 and 443 are the ports of the login server.
$ wget http://eteaming.staging.ebase.dlh.de:10500
--16:18:18-- http://eteaming.staging.ebase.dlh.de:10500/
Resolving eteaming.staging.ebase.dlh.de... 57.20.62.179
Connecting to eteaming.staging.ebase.dlh.de|57.20.62.179|:10500... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://eteaming.staging.ebase.dlh.de:10500/index.jspa [following]
--16:18:18-- http://eteaming.staging.ebase.dlh.de:10500/index.jspa
Reusing existing connection to eteaming.staging.ebase.dlh.de:10500.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.jspa'
[ <=> ] 130,212 649K/s in 0.2s
16:18:21 (649 KB/s) - `index.jspa' saved [130212]
Hi Nils,
I have filed a bug for this issue. The bug ID is CS-17471. The filter that is set up to handle converting the document to prepare it for converting to PDF does not handle avatar images. Let me know if you have more questions about this.
Thanks,
Cory
Jive combines collaboration software, community software & social networking software into the leading SBS solution.
© Copyright 2000–2009 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205