quality@glassfish.java.net

Re: b23 potential JSP compiler problem

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Mon, 08 Sep 2008 17:26:30 -0700

yep good one, I think I know what's going on, should be able to fix it
tonight, modulo time available ;-)

Judy Tang wrote:
> Hi Jose,
>
> Thanks very much for testing and letting us know log4j worked. Thanks
> too for reply to this thread
> to report what works :-)
>
> Looking at Adam's bug report and part of the server.log, the Liferay
> class is there but can't not load.
> It could be a specific issue. Really good test from Adam. Thanks !
> ---Judy
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5980
> Problem: After successful installation of the HSQLDB and portlet container
> Liferay is not able to compile the JSPs, because of a lack of a class
> com.liferay.portal.util.PortalUtil. The class, however, exists in the Jar
> portal-impl.jar, which is located in WEB-INF/lib.
>
> [#|2008-09-07T15:51:09.275+0200|SEVERE||javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-3;|StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
>
> PWC6199: Generated servlet error:
> string:///index_jsp.java:6: cannot find symbol
> symbol : class PortalUtil
> location: package com.liferay.portal.util
>
> PWC6197: An error occurred at line: 27 in the jsp file: /index.jsp
> PWC6199: Generated servlet error:
> string:///index_jsp.java:81: cannot find symbol
> symbol : variable PortalUtil
> location: class org.apache.jsp.index_jsp
>
> PWC6197: An error occurred at line: 27 in the jsp file: /index.jsp
> PWC6199: Generated servlet error:
> string:///index_jsp.java:84: cannot find symbol
> symbol : variable PortalUtil
> location: class org.apache.jsp.index_jsp
>
> PWC6197: An error occurred at line: 45 in the jsp file: /index.jsp
> PWC6199: Generated servlet error:
> string:///index_jsp.java:93: cannot find symbol
> symbol : variable PortalUtil
> location: class org.apache.jsp.index_jsp
>
>
> at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)
> at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
> at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:369)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
>
>
> Jose Noheda wrote:
>> I've just tested a demo Spring MVC application with SLF4J &
>> LegionOfBouncyCastle cryptography. It's made of four different
>> Netbeans projects. All the jars are placed in WEB-INF/lib directory
>> and uses JSP as the view technology. Everything worked fine
>> (including log4j finally!) and the classes are found
>>
>> On Sun, Sep 7, 2008 at 7:07 PM, Judy Tang <Judy.J.Tang_at_sun.com
>> <mailto:Judy.J.Tang_at_sun.com>> wrote:
>>
>> Thanks Adam for filing this issue. Good catch. And thanks for
>> running Lifery tests. We should fix this bug or
>> provide you work around soon so the tests can be continued.
>>
>> Judy :-)
>>
>> Adam Bien wrote:
>>
>> I filed an issue:
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5980
>>
>> I wil stop the Liferay tests then,
>>
>> regards,
>>
>> adam
>> Adam Bien schrieb:
>>
>> Hi All,
>>
>> It seems like the libraries in WEB-INF/lib are not
>> accessible to the JSP compiler (I'm not really sure about
>> that) in b23. Is it a known bug?
>>
>>
>> regards,
>>
>> adam
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> quality-unsubscribe_at_glassfish.dev.java.net
>> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
>> For additional commands, e-mail:
>> quality-help_at_glassfish.dev.java.net
>> <mailto:quality-help_at_glassfish.dev.java.net>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> quality-unsubscribe_at_glassfish.dev.java.net
>> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
>> For additional commands, e-mail:
>> quality-help_at_glassfish.dev.java.net
>> <mailto:quality-help_at_glassfish.dev.java.net>
>>
>>
>