As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am having trouble getting WebFOCUS to direct PDF output directly to the browser. I am running WebFOCUS 7.1.1 with Apache Tomcat/5.0.28 on a desktop Windows XP Pro computer. When I run the report the pdf output file is written to the temp disk (C:\ibi\WebFOCUS71\temp) but the browser window shows nothing, not even an error message. However, if I bring up the Adobe Reader, the output is there. I can also view it by clicking on the pdf file in the C:\ibi\WebFOCUS71\temp temp disk area.
I suspect there is some sort of configuration problem. I believe I chose all the defaults when I installed WebFOCUS, and chose the option to have WebFOCUS install the Apache Tomcat server. To my knowledge, I did not change any of the default installation options.
The Adobe reader is apparently working correctly, since when I visit the documentation page at IBI, I am able to click on a PDF file, and it will display in my browser.
Does anyone have any idea of how to fix this problem? Maybe I should try reinstalling WebFOCUS and the Apache Tomcat software.
Posts: 62 | Location: New York City | Registered: December 29, 2004
Try changing the output format to html and exl2k and see how it works. If those are working then your installation is good. Then check your mime.wfs file for the setting for PDF.
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
I noticed that for PDF on our 7.1 that the report is not in the window but in a separate PDF launch. Just assumed it was due to the differences in the versions of WebFOCUS as our 5.3.6 doesn't launch Adobe reader separately, but leaves it in the window. Hmmmmm, should I be concerned or just annoyed and didn't know it.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
It appears that you have duplicated my problem. Unless I hear from someone else, I'll just accept this problem of not getting PDF output in a browser as just an annoying bug with WebFOCUS 7.1.1. I can live with it, but it would be nice to get the output directly in the browser, just as I receive HTML or EXCEL output.
Posts: 62 | Location: New York City | Registered: December 29, 2004
This problem has nothing to do with WebFOCUS. The problem is with the version of Tomcat 5.0.28 that is delivered with webfocus. There is a problem with one of the JAR files in that writes a wrong context-type header to the returning pdf file. The browser does not interpret the header properly, so the browser passes the output to the full version of pdf. What you want is to get a new "tomcat-coyote.jar" file, and replace the one in the "server/lib" directory of your Tomcat install. The JAR files you all have are approx 19k, it should be approx 22k. Request it from IBI ... I think that is where I got my copy from! Once the JAR file is replaced, and Tomcat is restarted, everything should work as expected.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
Thanks, that was the problem. I got another version of the tomcat-coyote.jar from another computer in the office and copied it into the server/lib folder for Tomcat. After restarting the computer, I was able to have PDF output start in my browser.
thanks again
John
Posts: 62 | Location: New York City | Registered: December 29, 2004