It's all about the answers!

Ask a question

Unable to run updatewar to update local help, class not found error

Cindy Davis (622) | asked Mar 10 '14, 1:28 p.m.
I am working with two servers, both not connected to the internet so we have local help installed which WAS working until I deleted the tomcat/work directories while doing some plug-in development. When tried to use https://localhost:port/clmhelp/updater/updatewar.jsp, to restore the local help from the updater zip file, it works on one server but the other one displays an error 500 in the browser: "Jasper Exception Unable to load class for JSP". Further down in the stack trace, there is a class not found "org.apache.jsp.updater.updatewar_jsp" error. Anyone have any ideas on what I need to do to fix this? We are running RTC v. 4.0.2 on both servers. Thanks!

One answer

permanent link
Donald Nong (14.5k614) | answered Mar 10 '14, 7:06 p.m.
You can first try to re-deploy the web application and see if the error goes away.
1. Stop Tomcat.
2. Remove the directory "clmhelp" under tomcat/work
3. Remove the directory "clmhelp" under tomcat/webapps
4. Restart Tomcat and make sure the the directory "clmhelp" is created under tomcat/webapps and the content of the web application is extracted there.
If the problem persists, check the log file for more details - tomcat/work/Catalina/localhost/clmhelp/eclipse/workspace/.metadata/.log

Cindy Davis commented Mar 11 '14, 4:34 p.m.

Thanks for the response! I won't be able to schedule an outage of the server until next week but will retry a redeploy with your instructions at that time and comment back. I noticed that the .log file you mentioned above had not been updated since Jan 20th on the server throwing the help updater error so there seems to definately be some sort of issue here.

Cindy Davis commented Mar 21 '14, 2:56 p.m.

Following your directions resolved the class not found error (thanks!) but we were still unable to use updatewar to load in the local help libraries. The display was inconsistant (successive browser refreshes resulted in showing no help files loaded, the default help files loaded, and all help files already loaded). The browser was being run on the server we were trying to update and it did not seem to matter if we used "localhost" or explicitly specify the server name in the URL.

We attempted an install anyway and it appeared to re-corrupt the tomcat directories (now get a BridgeServlet 404 error for admin, updatewar, and index.jsps).

I suspect there is some sort of cross linking between the two servers we are currently running but I have been unable to find any cross-links in the configuration files.

Will keep picking at it. Any other ideas would be greatly appreciated.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.