Problems installation of war files on Tomcat 6.0

Hello

I am getting following error while using TeamCity 3.1.2 war file on tomcat 6

I faced same problem when configuring the system and problem was in "overview.jsp" , I corrected it and redeployed and then have problem in a diffierent JSP

The problems seems to be steaming from using a non quoted character ' i.e. please see this code from overview.jsp

<c:set var="watchedCounters"
value='<%="['" + CONFIGURATION_COUNTER.getName() + "']"%>'/>

which I think shall be

<c:set var="watchedCounters"
value='<%="[\'" + CONFIGURATION_COUNTER.getName() + "\']"%>'/>






Unexpected Error

Error message: /viewType.jsp(37,17) Attribute value "['" + CONFIGURATION_COUNTER.getName() + "']" is quoted with ' which must be escaped when used within the value
Show stacktrace

org.apache.jasper.JasperException: /viewType.jsp(37,17) Attribute value "['" + CONFIGURATION_COUNTER.getName() + "']" is quoted with ' which must be escaped when used within the value
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
at org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301)
at org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250)
at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:212)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:155)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1252)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:167)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:239)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1158)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)

thanks

Edited by: Asif Jan on Sep 25, 2008 8:01 PM

2 comments
Comment actions Permalink

thanks a lot, it works. Just was not able to find it earlier :)

I also wanted to say that I have found the installation of TeamCity to be very easy and the UI + coverage excellent. Heads up to the team :)

0

Please sign in to leave a comment.