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.
We've recently upgraded from 5.2 to 7.1.1 (Developer Studio/Web Server/Tomcat). With the upgrade comes the ability to incorporate JSP with our FEX/HTML code. Since we do not have a formal training project I've been tasked with finding out how to put this new stuff to work. I'm familiar with JSP (more dangerous than effective), WebFOCUS and HTML. Just don't know where to start to tie everything together. Any suggestions where to start?
Thanks
Ron Woods San Antonio Express-News Release: WebFOCUS 7.1.1 OS/Platform: Windows XP SP2 x86 32bit O/P Formats: Primarily pdf and xls
Posts: 22 | Location: San Antonio, Tx | Registered: October 20, 2005
Install the Webfocus client where you have your web server installed. Then in your jsp call WFServlet or cgi-bin based on your Webfocus installation. And also change edasprof.prf to point your fex folder.
Hope this helps
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
I was really looking for documentation on how to integrate jsp with fex. Do the jsp scripts reside in the same folder as the fex files? If not where do they go and how do they call fex?
Thanks,
Ron Woods San Antonio Express-News Release: WebFOCUS 7.1.1 OS/Platform: Windows XP SP2 x86 32bit O/P Formats: Primarily pdf and xls
Posts: 22 | Location: San Antonio, Tx | Registered: October 20, 2005
Thanks, that helps a lot. But what URL do I use to start the jsp that calls the fex? If save my jsp (date.jsp) under c:/tomcat/webapps/test/jsp/date.jsp what URL do I use to run it without having to use the :8080 port?
Ron Woods San Antonio Express-News Release: WebFOCUS 7.1.1 OS/Platform: Windows XP SP2 x86 32bit O/P Formats: Primarily pdf and xls
Posts: 22 | Location: San Antonio, Tx | Registered: October 20, 2005
Briefly - Tomcat has a built in web server that is set to listen on port 8080. By default a web browser makes requests on port 80. To make the request on anything other than port 80, you need to specify the port (":8080").
So as you can see you need to either point an existing web server (that by default listens to port 80) such as IIS or Apache to your install of Tomcat OR tell Tomcat's built in web server to listen to port 80 instead of port 8080.
Assuming you don't have an existing web server I'd just change the Tomcat port. I'm not sure where you've installed Tomcat but look for a file called Server.xml in the Tomcat "Conf" folder. You should see an entry for the Catalina service. Change the connector port from 8080 to 80. Restart Tomcat and you should be able to make requests to that server without using the port number.
We have IIS running on some servers around here but there's very little reason for us to use it with our Tomcat applications. The webserver in Tomcat isn't optimized for static content but that's really not a problem if most of your stuff is dynamic. Even at that, our web traffic isn't very large so we're comfortable without using IIS or Apache for our internal users.This message has been edited. Last edited by: EJL,
I have been asked to find out how we can use JSPs instead of the standard launch pages provided by the MRE. I would like to clarify what I have read in this thread.
1. Deploy the JSP on the same Web Server as used by WebFOCUS 2. Add a HTML file to the MRE which calls the deployed JSP. 3. The JSP can call the fex to run the report.
Is this the recommended approach, or should the HTML file be a driver which calls the JSP to get the parameters, then call the fex with those parameters.
Why reinvent the wheel when IB provides the BID which is almost entirely JSP. It even has authentication / authorisation taken care of for you which you can even point at Active Directory if required.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Is this the recommended approach, or should the HTML file be a driver which calls the JSP to get the parameters, then call the fex with those parameters.
I'm guessing this is not the recommended approach!
I would suggest you use the tool as designed. WebFOCUS provides an interface for building HTML lauch pages for existing reports ... use it. If you go down the JSP world, your going to have to be very careful with your security and all kinds of other things that web focus development environment shields you from. And besides, why bother have the JSP preform reflections to get the parameters when the existing interface already does that for you?
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott