Error selecting WebConfig service in jmx console

179 views
Skip to first unread message

Ludovic

unread,
Feb 11, 2015, 3:01:07 AM2/11/15
to dcm...@googlegroups.com
Hi,

I need to set these two values in the jmx console :
WebviewerNames = weasis
WebviewerBaseUrl = NONE

The problem is that when I click on the link service=WebConfig it return me this error:

Etat HTTP 500 -


type Rapport d'exception

message

description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.

exception

org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP:
Une erreur s'est produite à la ligne: 151 dans le fichier jsp: /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

Une erreur s'est produite à la ligne: 151 dans le fichier jsp: /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)




I have the same problem when I click on each link of the jmx-console.
Please can you help me???

Best regards,

Ludovic

Ludovic

unread,
Feb 11, 2015, 4:26:04 AM2/11/15
to dcm...@googlegroups.com
I solved my own problem... I was using jdk 1.8: problems ar solved when we use jdk 1.7 with dcm 2.17.1.
Reply all
Reply to author
Forward
0 new messages