action.jsp does not compile
---------------------------

                 Key: SOLR-1257
                 URL: https://issues.apache.org/jira/browse/SOLR-1257
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 1.4
         Environment: Mac 
            Reporter: Jay
             Fix For: 1.4


action.jsp failed to compile because of imcompatible class Logger used in 
action.jsp and SolrConfig.java. This can be produced in the following steps:

1. in configuration file solrconfig.xml, uncomment the following element (at 
the end of the file)
     <!-- configure a healthcheck file for servers behind a loadbalancer
    -->
    <healthcheck type="file">server-enabled</healthcheck>
2. start solr
3. go to 
     http://jhguo.apple.com:8549/solr/admin
4. click on the link tagged "Enable", which essential make this request
    http://jhguo.apple.com:8549/solr/admin/action.jsp?action=Enable

you will see this error page:

HTTP ERROR: 500

PWC6033: Unable to compile class for JSP

PWC6197: An error occurred at line: 28 in the jsp file: /admin/action.jsp
PWC6199: Generated servlet error:
Type mismatch: cannot convert from Logger to Logger

PWC6197: An error occurred at line: 28 in the jsp file: /admin/action.jsp
PWC6199: Generated servlet error:
The method log(Level, String) is undefined for the type Logger



org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

PWC6197: An error occurred at line: 28 in the jsp file: /admin/action.jsp
PWC6199: Generated servlet error:
Type mismatch: cannot convert from Logger to Logger

PWC6197: An error occurred at line: 28 in the jsp file: /admin/action.jsp
PWC6199: Generated servlet error:
The method log(Level, String) is undefined for the type Logger


        at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
        at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:267)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:332)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:389)
        at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:579)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:273)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:295)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
RequestURI=/solr/admin/action.jsp

Powered by Jetty://







-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to