Kelvin Susanto created JUDDI-927:
------------------------------------

             Summary: Can not access status and statistic of admin
                 Key: JUDDI-927
                 URL: https://issues.apache.org/jira/browse/JUDDI-927
             Project: jUDDI
          Issue Type: Test
          Components: documentation, juddi-gui, juddi-tomcat
    Affects Versions: 3.2
         Environment: Putty VM with Cent OS 6.6 minimal
JDK 1.8.0
Apache installed

            Reporter: Kelvin Susanto
            Assignee: Alex O'Ree
            Priority: Critical
             Fix For: 3.2


I already run apache and tomcat startup, but i still cannot open the status and 
statistic in jUDDI administrator site. it keeps showing HTTP Status 500-

here is the exception :

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

An error occurred at line: 305 in the jsp file: /admin/stats.jsp
The type java.util.Comparator cannot be resolved. It is indirectly referenced 
from required .class files
302:                     <pre><%
303:                         try {
304:                             Properties sysProps = System.getProperties();
305:                             SortedSet sortedProperties = new 
TreeSet(sysProps.keySet());
306:                             for (Iterator keys = 
sortedProperties.iterator(); keys.hasNext();) {
307:                                 String key = (String) keys.next();
308:                                 out.println("<b>" + key + "</b>: " + 
sysProps.getProperty(key));


An error occurred at line: 305 in the jsp file: /admin/stats.jsp
The type Comparator is not generic; it cannot be parameterized with arguments 
<? super E>
302:                     <pre><%
303:                         try {
304:                             Properties sysProps = System.getProperties();
305:                             SortedSet sortedProperties = new 
TreeSet(sysProps.keySet());
306:                             for (Iterator keys = 
sortedProperties.iterator(); keys.hasNext();) {
307:                                 String key = (String) keys.next();
308:                                 out.println("<b>" + key + "</b>: " + 
sysProps.getProperty(key));


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:439)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to