Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] Adding Jar Files for a JSP File

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Adding Jar Files for a JSP File
 Login/Join
 
Member
posted
Hi,

I have a jsp file that uses two jar files. How do I add the jar files?

Thank you for your time!


Best regards,
M. Nagy


WebFOCUS 8.1.05M
AIX 7.1, All Outputs
 
Posts: 12 | Registered: October 31, 2017Report This Post
Virtuoso
posted Hide Post
Assuming you are planning on deploying in WF, and you are using the directory deployment of Tomcat, then:

\ibi\WebFOCUS82\webapps\webfocus\WEB-INF\lib

Then restart Tomcat

If you are doing a .war or .ear deployment, add the files to the same directory and then build and deploy the .war


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Hi dhagen,

Thank you very much for your reply.

I added the jars and restarted Tomcat. But the jsp file gives me an error:
HTTP Status 500 - Unable to compile class for JSP
Is this error related to the Jars not being available for the JSP file?
Do I need to add them in the classpath in the profile.sh?
How can I verify that the jar files are available to the JSP file?

Best regards,
M. Nagy


WebFOCUS 8.1.05M
AIX 7.1, All Outputs
 
Posts: 12 | Registered: October 31, 2017Report This Post
Virtuoso
posted Hide Post
More than likely there is a syntax error in the JSP. I'm not sure where you would get the complete list for JARs. Rest assured that if it is in the "lib" directory, and you are deploying using the directories and not a WAR file, then they will be available.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Hi dhagen,

Thank you very much for your reply.

I will check for syntax errors in the JSP.

Best regards,
M. Nagy


WebFOCUS 8.1.05M
AIX 7.1, All Outputs
 
Posts: 12 | Registered: October 31, 2017Report This Post
Member
posted Hide Post
Hi,

I have checked, there is no syntax error.
What should I do now?

Thanks and best regards,
M. Nagy


WebFOCUS 8.1.05M
AIX 7.1, All Outputs
 
Posts: 12 | Registered: October 31, 2017Report This Post
Member
posted Hide Post
I have a jsp file that uses two jar files. How do I add the jar files? and how do I verify that they became available to the jsp file?

Thank you for your time!


Best regards,
M. Nagy


WebFOCUS 8.1.05M
AIX 7.1, All Outputs
 
Posts: 12 | Registered: October 31, 2017Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] Adding Jar Files for a JSP File

Copyright © 1996-2020 Information Builders