Hi all -
We noticed a problem with the "View as a PDF" function for our documents on Clearspace (v 2.5.4). The following error message appears when the user clicks on the link:
We're sorry but a serious error has occurred in the system.
One of several documents in question is: http://community.oen.org/docs/DOC-1097. Is there a way we can fix this problem?
Thanks,
Larry
Hey Larry,
Can you please send across your log files? You can find them in <Jive Home>/logs/. This will help us better diagnose the issue.
Thanks,
Brad
Hi Brad -
Certainly - I've attached the log files to this post. Please let me know if you need any additional info!
Thanks,
Larry
Hello Larry,
Thanks for that log file. I've reviewed it and found a couple of interesting things.
30 Jun 2009 15:59:21,905 [http-80-19] ERROR dispatcher.StreamResult - Can not find a java.io.InputStream with the name [pdfStream] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
30 Jun 2009 15:59:21,905 [http-80-19] ERROR interceptor.ExceptionMappingInterceptor - Can not find a java.io.InputStream with the name [pdfStream] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [pdfStream] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
at org.apache.struts2.dispatcher.StreamResult.doExecute(StreamResult.java:189)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:320)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
at com.jivesoftware.community.web.struts.FlashInterceptor.intercept(FlashInterceptor.java:41)
<snip/>
I need one more chunk of data to reproduce this. Can you please export the document you linked as HTML and attach it here as well? You can do this by editing the document in the rich text editor and clicking the little "HTML" button in the top-right corner of the RTE. Please just copy and paste that in to a .txt document and attach it here. This will help me reproduce this locally.
Thanks,
Brad
Hi Brad -
I tried to attach a text file with the code, but I received the following error message:
"The content type of this attachment is not allowed"
That said, I'll paste the code in the space below.
Many thanks,
Larry
Document Code:
<body><p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">We have oodles of
event notifications from our partner organizations, as well as the <a
href="http://www.oen.org/about_around.aspx">OEN Statewide groups</a>. The list below is of
events coming up in the near future.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br /></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><strong>OEN Gorge
Events</strong></span></p>
<p><a
href="http://www.co.hood-river.or.us/index.asp?Type=B_BASIC&SEC={D33F7B50-B2D5-4972-A144-9B14CDFC
06ED}">2009-2010 Hood River PubTalk Schedule</a></p>
<p>5:30-7:30 PM</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Held at White Buffalo
Wines - 4040 Westcliff Dr, Hood River, OR 97031<br />Call</span> <span style="font-family:
arial,helvetica,sans-serif; font-size: 10pt;">541-387-6863 for more information.</span></p>
<p> </p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><strong>Tuesday, September
8<br /></strong></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">5:30 PM to 7:30 PM, <a
href="http://www.co.hood-river.or.us/index.asp?Type=B_BASIC&SEC={76ABFD23-C675-4E51-9EA1-AC652D6D
A9B5}&DE=">Hood River PubTalk</a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br /></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br /></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><strong><span
style="font-size: 12pt;">Community Events by date</span></strong></span></p>
<div>
<p><span style="font-size: 10pt;"><br /></span></p>
</div>
<p><strong>Monday, June 22 - Friday, June 26</strong></p>
<div>
<div>Climate Solutions: <a href="http://www.summersustainabilityseries.org/index.html">Summer
Sustainability Series</a></div>
</div>
<div><br /></div>
<div><br /></div>
<div><strong>Thursday, June 25</strong></div>
<div>5:00 - 7:30 pm,</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/2010560d6c121525/f190a92575b37c79/sare
nar@oen.org">Monotoring Conversations Using Yahoo Pipes</a></div>
<div><br /></div>
<div><br /></div>
<div><strong>Saturday, June 27</strong></div>
<div>1:00 pm - 3:00 pm<br /></div>
<div><a href="http://http://www.meetup.com/otbc-events/calendar/10397100/">Speed Dating for
Startups</a><br /></div>
<div><br /></div>
<div><strong>Monday, June 29 - Wednesday, June 1</strong></div>
<div>Registration/Breakfast: 8:15am - 9:00am<br /></div>
<p>Class: 9:00 am - 4:00 pm</p>
<p><a class="active_link"
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/aa242391bc57b414/f190a92575b37c79/sare
nar@oen.org">2009 Super Quest</a></p>
<p> </p>
<p> </p>
<p><strong>Friday, July 10</strong></p>
<div>11:30 am,</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/640883d91c7e3798/f190a92575b37c79/sare
nar@oen.org">SAO's 14th annual golf tournament</a></div>
<div><br /></div>
<div><br /></div>
<div><strong>Monday, July 13 - Tuesday, July 14</strong></div>
<div>9:00 am - 5:30 pm</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/6069774097703c63/f190a92575b37c79/sare
nar@oen.org">Search Engine Optimization: Essentials</a></div>
<div><br /></div>
<div><br /></div>
<div><strong>Monday, July 13 - Tuesday, July 14 & Monday, July 20 - Wednesday, July
22</strong></div>
<div>9:00 am - 5:30 pm</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/6069774097703c63/f190a92575b37c79/sare
nar@oen.org">Search Engine Optimization: Comprehensive</a></div>
<div><br /></div>
<div><br /></div>
<div><strong>Thursday, July 16</strong></div>
<div>9:00 am - 5:30 pm</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/ffd3551a79e87637/f190a92575b37c79/sare
nar@oen.org">Keys to Successful Project Planning and Management</a></div>
<div><br /></div>
<div><br /></div>
<div><strong>Monday, July 20</strong></div>
<div>9:00 am - 5:30 pm</div>
<div><a
href="http://http://www.icebase.com/go2.shtml?o2cG7AfkJV5QUIe6/6069774097703c63/f190a92575b37c79/sare
nar@oen.org">Search Engine Optimization: Advanced</a><br /></div>
<div><br /></div>
<div><br /></div>
<div><strong>T</strong><strong>hursday, July 23, 2009</strong></div>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;">8:00 AM
- 5:00PM,</span></div>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"><a
href="http://www.internetstrategyforum.org/summit">Internet Strategy Forum</a></span></div>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"><em>OEN
members use Discount Code [OEN] to get 15% off registration.</em></span></div>
<div>
<h6><br /></h6>
<h6><strong>Wednesday, September 23- Thursday, September 24</strong></h6>
</div>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"><a
href="http://www.ppcsummit.com/">PPC Summit Los Angeles</a></span></div>
<div><strong><br /></strong></div>
<h6><strong>Wednesday, October 7</strong></h6>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;">8:30 AM
- 4:30 PM, <a href="http://www.gogreenpdx.com/">GoGreen 2009</a><br /></span></div>
<div><span style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"><em>OEN
members use Discount Code [OEN] to get 15% off registration.<br /></em></span></div>
<div><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><strong><span
style="color: #000000; font-size: 10pt;"><br /></span></strong></span></div>
<p> </p>
<div><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br /></span></div>
<div><span style="font-family: Verdana; color: black; font-size: 8pt;"><span style="font-size: 7.5pt;
font-family: Verdana; color: black;"><br /></span></span></div></body>
Hey Larry,
I haven't been able to reproduce this behavior in either modern versions of SBS or in Clearspace 2.5.4. Are there any special steps for reproduction that you might have left out on accident? Are there any special modifications or plugins to your Clearspace deployment?
One other thing I forgot to ask was if you could put the contents you pasted here in to a text file then attach that file to this thread instead of pasting it in here. I want to do this to preserve the content best we can!
Let me know and I'll keep digging around.
Cheers,
Brad
Message was edited by: Brad Heller
Hi Brad -
Thanks for the update! No, I didn't leave any part of the instructions out - the problem occurs when a user clicks the "View PDF" button on any document on our online community. As for special modifications, no, we haven't made any modifiations or added plugins to our Clearspace deployment.
>>One other thing I forgot to ask was if you could put the contents you pasted here in to a text file then attach that file to this thread instead of pasting it in here. I want to do this to preserve the content best we can!
Agreed, but as I mention in my previous post, I received an error message when I tried to upload the text file with the HTML code.
I hope this info helps. Let me know if you have any questions!
Regards,
Larry
Larry,
Still not able to reproduce! Could you please try making a simple document. Just name the title something bland like "Test Document" and create a simple body like "This is a test body" and see if it still fails. I'm seeing other cases on this version that have to do with some malformed HTML in the body somewhere but, as I said, unable to reproduce.
Thanks,
Brad
Hi Brad -
Thanks again - I created a test document (http://community.oen.org/docs/DOC-1183) and ran into the same problem. Here's the code:
<body><p>This is a test.</p></body>
Please note that the error message appears when any document on the community is clicked, not just the Upcoming Community Events document (http://community.oen.org/docs/DOC-1097).
Thanks again,
Larry
Larry,
I'm having a really hard tiem reproducing this. A couple more questions...
Please let me know.
Thanks,
Brad
Hi Brad -
Honestly, I'm not sure where I can find this info. Where in Jive's admin area can I find it? Please let me know and I'll send it to you right away.
Thanks,
Larry
Navigate to the Admin Console and go to System -> System Information. Can you copy that table in to a word document and attach it here, please?
Hi Brad -
Done! Please let me know if you need any additional info.
Thanks,
Larry
Larry,
Can you or have your admin check
Please let me know -- this might fix the issue! I can't remember, is this a new issue or has it been around for a while? Did you, like, upgrade anything recently?
Cheers,
Brad
Hi Brad -
Thanks for the info! I followed up with the folks at Easystreet and here's what they have to say:
1. Tomcat's home directory is /usr/local/tomcat
2. There's no folder called /usr/local/tomcat/.fop, so tomcat has no permissions to
that directory
3. See 2.
I can create a /usr/local/tomcat/.fop and/or /usr/local/tomcat/.fop/fop-fonts.cache
for you if you'd like/need.
As for the problem, we noticed it on Monday, June 29th. And as I stated earlier, we haven't done any upgrades or changes to Clearspace lately.
I hope this info is helpful. Let me know if you have any questions!
Thanks,
Larry
Hey Larry,
Please do try creating that and also ensure that the Tomcat user gets permission for that directory -- I think it will likely need read and write permission.
This also looks like it might be a bug on Apache's end. As such, I will look around and see if perhaps upgrading Tomcat (if that's even possible on your end) would fix the issue.
Cheers,
Brad
Hi Brad -
Thanks for the info! I've forwarded it along to the crew at Easystreet and will alert you once I hear back from them.
Thanks,
Larry
Hi Brad -
Here's the info from Easystreet:
I've created the directory and given it the appropriate permissions:
drwxr-xr-x 2 tomcat tomcat 4096 Jul 7 16:36 /usr/local/tomcat/.fop
You're currently running Tomcat 6.0.16, the latest version is 6.0.20.
Hey look at that! It works now, atleast for that document you originally linked!
Check it out and let me know what you think.
Cheers,
Brad
Hi Brad -
Great! I checked it out and it works now. Thanks so much for your help!
Cheers,
Larry
Sure thing! Please let me know if you have further questions or issues!
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