Uploaded image for project: 'Liferay Apps'
  1. Liferay Apps
  2. LRA-196

Error when using Personal sites app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: None
    • Labels:
      None
    • Environment:
      Liferay 6.2 CE GA1

      Description

      As admin user I have created a new role with this name: "My Web Master", and assigned the required permissions according to the documentation.

      Then as admin user I created an user "lrapps", and assigned that user the new role. Then as admin I create a new page and added the "Micro sites" app to that page. As admin user I clicked the "+ Add" icon, it didn't do anything and displayed this: " Micro Site is temporarily unavailable. "

      Then I logged out and logged in as the "lrapps" user (which has the required role), and tried to create a new site, but got the same message " Micro Site is temporarily unavailable. "

      In the log I can see this error:
      21:46:25,369 ERROR [http-bio-8080-exec-118][render_portlet_jsp:132] null
      org.apache.jasper.JasperException: Unable to compile class for JSP: __An error occurred at line: [14] in the generated java file: [/devm/liferay-portal-6.2.0-ce-ga1/tomcat-7.0.42/work/Catalina/localhost/micro-site-portlet/org/apache/jsp/html/microsite/edit_jsp.java]_Only a type can be imported. com.sun.tools.jdi.LongValueImpl resolves to a package__Stacktrace: [Sanitized]
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      Jul 09, 2014 9:46:59 PM org.apache.catalina.core.ApplicationDispatcher invoke
      SEVERE: Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: Unable to compile class for JSP:

      An error occurred at line: [14] in the generated java file: [/devm/liferay-portal-6.2.0-ce-ga1/tomcat-7.0.42/work/Catalina/localhost/micro-site-portlet/org/apache/jsp/html/microsite/edit_jsp.java]
      Only a type can be imported. com.sun.tools.jdi.LongValueImpl resolves to a package

      Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

        Attachments

          Activity

            People

            • Assignee:
              christopher.jimenez Christopher Jimenez [X] (Inactive)
              Reporter:
              mcalvo mcalvo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support