Hide Forgot
project_key: SOA When attempting to view any of the statistics available on the ESB Monitoring Console, I get the following error. This does not occur for me using 4.3.0 CP04. --- HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 18 in the generated java file Only a type can be imported. org.jboss.soa.esb.util.XssUtil resolves to a package An error occurred at line: 108 in the jsp file: /app/attribute.jsp XssUtil cannot be resolved 105: <% 106: } else { 107: %> 108: <h1><code><%=XssUtil.escape(attribute)%></code></h1> 109: <% 110: } 111: %><br> An error occurred at line: 123 in the jsp file: /app/attribute.jsp XssUtil cannot be resolved 120: </select> and the 121: <input type="text" name="maxrecords" value="<%= maxrecords %>"></input> records 122: <input type="hidden" name="id" value="<%=id%>"> 123: <input type="hidden" name="servername" value="<%=XssUtil.escape(servername)%>"> 124: <input type="submit" value="submit"> 125: </form> 126: <hr> An error occurred at line: 131 in the jsp file: /app/attribute.jsp XssUtil cannot be resolved 128: <table> 129: <tr> 130: <th>Collection Date</th> 131: <th><%=XssUtil.escape(attribute) %></th> 132: </tr> 133: <% 134: NumberFormat nf = NumberFormat.getInstance(); Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) org.apache.jasper.compiler.Compiler.compile(Compiler.java:290) org.apache.jasper.compiler.Compiler.compile(Compiler.java:277) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Wait - is this problem being seen with JON? Or the (legacy) web console: http://localhost:8080/web-console/
Wait - this is the legacy ESB console: http://localhost:8080/jbossesb/app/ For example: Any of these links will force the error: # jboss.esb:category=MessageCounter,deployment=jbossesb.esb,service-category=JBossESB-Internal,service-name=DataCollectorService * action1 messages successfully processed count * action1 messages failed count * action1 failed bytes * action1 processed bytes * overall service message count * overall processedbytes * overall failed bytes * overall service count bytes * action1 processing time
Affects Testing: Added: [Regression]
Correct Len - it is the legacy ESB console.
The issue here seems to be that the ESB tag was copied over wholesale rather than merged into the platform tag. Created a SOA-4.3.0.GA_CP5_CR2 platform tag, verified that it contains XssUtil.java (the missing file in this case), and merged in the ESB changes.
Verified fixed in the ER3 build.