JMX-Console Login

180 views
Skip to first unread message

hmbrad...@gmail.com

unread,
Feb 17, 2018, 2:18:04 PM2/17/18
to dcm4che
Any solution for this exception after login on Jmx-console:

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: 151 in the jsp file: /inspectMBean.jsp
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
148:             else if (String.valueOf(attrValue).indexOf(sep) == -1)
149:             {
150: %>
151:             <input type="text" name="<%= attrName %>" value="<%= attrValue.replace("\"","&quot;") %>" <%= readonly %>>
152: <%
153:             }
154:             else


An error occurred at line: 151 in the jsp file: /inspectMBean.jsp
The method replace(char, char) in the type String is not applicable for the arguments (String, String)
148:             else if (String.valueOf(attrValue).indexOf(sep) == -1)
149:             {
150: %>
151:             <input type="text" name="<%= attrName %>" value="<%= attrValue.replace("\"","&quot;") %>" <%= readonly %>>
152: <%
153:             }
154:             else


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:308)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.inspectMBean(HtmlAdaptorServlet.java:220)
	org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:96)
	org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

tks

Leandro Quiroga

unread,
Feb 18, 2018, 12:28:52 PM2/18/18
to dcm...@googlegroups.com
Hi, open to edit /server/default/deploy/jmx-console/inspectMBean.jsp

Change at line 151 where says replace to replaceAll.

Bye.



--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

hmbrad...@gmail.com

unread,
Feb 23, 2018, 6:19:06 AM2/23/18
to dcm4che
Worked. Thank you!!
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages