Problems with several JSP pages, jetty 6.1.24, debian 6.0

Error showed in the page:

Unexpected Error


This was not supposed to happen.     Please provide the error details to your TeamCity server maintainer.
If you maintain this TeamCity installation please     report this error to JetBrains.
Error message: javax.servlet.jsp.JspException:  org.apache.jasper.JasperException: Unable to compile class for JSP:   An error occurred at line: 6 in the generated java file /var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/linkScript_tag.java:6:  package jetbrains.buildServer.web.util does not exist import jetbrains.buildServer.web.util.PageResourceCompressor;                                      ^   An error occurred at line: 5 in the jsp file:  /WEB-INF/tags/linkScript.tag /var/cache/jetty

Error showd in the teamcity-server.log

2011-02-08 13:19:12,860]  ERROR -   jetbrains.buildServer.SERVER - Error in JSP, request dump:
Path: /admin/serverConfig.jsp
Method: GET
Original page URL: /TeamCity-6.0.2/admin/serverConfig.html?tab=jabber&init=1
Remote address: 127.0.0.1
Param: tab = [jabber]
Param: init = [1]
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 6 in the generated java file
/var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/linkScript_tag.java:6: package jetbrains.buildServer.web.util does not exist
import jetbrains.buildServer.web.util.PageResourceCompressor;
                                     ^


An error occurred at line: 5 in the jsp file: /WEB-INF/tags/linkScript.tag
/var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/linkScript_tag.java:71: cannot find symbol
symbol  : variable PageResourceCompressor
location: class org.apache.jsp.tag.web.linkScript_tag
jspContext.setAttribute("list", PageResourceCompressor.link(request, (String)jspContext.getAttribute("list"), "js"));
                                ^

null

The same error ocurrs in several pages.

Any help??
Thanks in advance.

4 comments
Comment actions Permalink

Hi Ernesto

I rechecked that with the same Jetty version, and wasn't able to confirm the issue.

Can you try to start it under another server like Tomcat, just to localize the problem.

Thanks
Michael

0
Comment actions Permalink

In tomcat work fine. The problem appear to be with jetty. I think it is not loading the Jars files from the WAR file. I really like to use Jetty.

0
Comment actions Permalink

We saw cases before where war was deployed incorrectly by the server. Try to re-deploy the app - stop the server, and manually delete content of WAR-file unpacked under /tmp/.
If that doesn't help - please post resulted Jetty output log.

Thanks

0
Comment actions Permalink

Another possible reason - JRE incompatibility.
We had reported issues with OpenJDK. make sure you're using Sun or IBM JDK.

Michael

0

Please sign in to leave a comment.