November 16, 2017, 02:18 AM
M. Nagy[CASE-OPENED] Adding Jar Files for a JSP File
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
November 16, 2017, 01:19 PM
dhagenAssuming 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
November 19, 2017, 03:13 AM
M. NagyHi 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
November 20, 2017, 11:17 AM
dhagenMore 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.
November 29, 2017, 03:45 AM
M. NagyHi dhagen,
Thank you very much for your reply.
I will check for syntax errors in the JSP.
Best regards,
M. Nagy
November 29, 2017, 07:25 AM
M. NagyHi,
I have checked, there is no syntax error.
What should I do now?
Thanks and best regards,
M. Nagy
December 14, 2017, 08:39 AM
M. NagyI 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