Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

jmxclient.css and global.js files not found when running SMA

SA-19054

Summary



Errors are exhibited in the log file when running prsysmgmt and while navigating to 'system queue management' page or System Management Application (SMA).

Error Messages


[12/10/15 12:09:27:457 EST] 0000010d filter E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter SRVE8109W: Uncaught exception thrown by filter struts2: java.io.FileNotFoundException: SRVE0190E: File not found: /jsp/services2/js/global.js


[12/10/15 12:09:27:457 EST] 00000110 filter E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter SRVE8109W: Uncaught exception thrown by filter struts2: java.io.FileNotFoundException: SRVE0190E: File not found: /jsp/services2/css/jmxclient.css


Steps to Reproduce



Navigate to SMA or System Queue Management.


Root Cause



A defect in GenericHTMLMBeanOpResult.jsp, including two paths for global.js and jmxclient.css something like below:
< script src="../../js/global.js"></script>
< script src="./js/global.js"></script>

The second one is the cause of the issue. This can be modified to a single statement
< script src="<%=request.getContextPath()%>/js/global.js"></script>

Resolution



Perform the following local-change: 
- Modify services2/GenericHTMLMBeanOpResult.jsp in prsysmgmt.war
1) Find the following lines:

< script src="../../js/global.js"></script>
< script src="./js/global.js"></script>
2) Remove one of the lines.
3) Replace the other line with:

< script src="<%=request.getContextPath()%>/js/global.js"></script>
- Repeat steps 1 to 3 for jmxclient.css (instead of global.js)
- Redeploy the .war on the server.
Suggest Edit

Published January 30, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us