Serious TeamCity 3.1 problems

I tried to upgrade to 3.1 and it is totally broken. I'm trying to get the necessary information together to submit a proper support call but our IT department is being difficult.

In the meantime, there is no documentation that I could find listing which J2EE containers are supported. We're using Tomcat 5.5.16 at the moment. If a Tomcat upgrade is necessary then by all means, I should know that so that I can get that ball rolling.

I suspect that the version might be the problem because of this error message:

root cause

java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
jetbrains.buildServer.web.util.PageResourceCompressor.embedResource(PageResourceCompressor.java:97)
jetbrains.buildServer.web.util.PageResourceCompressor.fixRefs(PageResourceCompressor.java:136)
jetbrains.buildServer.web.util.PageResourceCompressor.process(PageResourceCompressor.java:70)
jetbrains.buildServer.web.util.PageResourceCompressor.joinResources(PageResourceCompressor.java:124)
jetbrains.buildServer.web.util.PageResourceCompressor.link(PageResourceCompressor.java:29)
org.apache.jsp.tag.web.linkCSS_tag.doTag(linkCSS_tag.java:66)
org.apache.jsp.runtimeError_jsp._jspx_meth_bs_linkCSS_0(runtimeError_jsp.java:164)
org.apache.jsp.runtimeError_jsp._jspService(runtimeError_jsp.java:69)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:818)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.login_jsp._jspService(login_jsp.java:155)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:167)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:239)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1158)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:15)

4 comments

Hello,

Try to clean tomcat work folder.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Donald McLean" <dmclean@stsci.edu> wrote in message
news:25724222.6881205756612295.JavaMail.jive@app4.labs.intellij.net...
>I tried to upgrade to 3.1 and it is totally broken. I'm trying to get the
>necessary information together to submit a proper support call but our IT
>department is being difficult.
>

In the meantime, there is no documentation that I could find listing which
J2EE containers are supported. We're using Tomcat 5.5.16 at the moment. If
a Tomcat upgrade is necessary then by all means, I should know that so
that I can get that ball rolling.

>

I suspect that the version might be the problem because of this error
message:

>

root cause

>

java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
jetbrains.buildServer.web.util.PageResourceCompressor.embedResource(PageResourceCompressor.java:97)
jetbrains.buildServer.web.util.PageResourceCompressor.fixRefs(PageResourceCompressor.java:136)
jetbrains.buildServer.web.util.PageResourceCompressor.process(PageResourceCompressor.java:70)
jetbrains.buildServer.web.util.PageResourceCompressor.joinResources(PageResourceCompressor.java:124)
jetbrains.buildServer.web.util.PageResourceCompressor.link(PageResourceCompressor.java:29)
org.apache.jsp.tag.web.linkCSS_tag.doTag(linkCSS_tag.java:66)
org.apache.jsp.runtimeError_jsp._jspx_meth_bs_linkCSS_0(runtimeError_jsp.java:164)
org.apache.jsp.runtimeError_jsp._jspService(runtimeError_jsp.java:69)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:818)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.login_jsp._jspService(login_jsp.java:155)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:167)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:239)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1158)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:15)



0

Hello Donald,

I tried to upgrade to 3.1 and it is totally broken. I'm trying to get the necessary information together to submit a proper support call but our IT department is being difficult.

In the meantime, there is no documentation that I could find listing which J2EE containers are supported. We're using Tomcat 5.5.16 at the moment. If a Tomcat upgrade is necessary then by all means, I should know that so that I can get that ball rolling.


I had the same problem after upgrading to 3.1 on a Tomcat 5.5.x server and had to install Tomcat 6
to make it work. It seems Tomcat 5.5.x is no longer supported - but this is not mentioned in the
release notes and neither on
http://www.jetbrains.net/confluence/display/TCD3/InstallingandConfiguringtheTeamCity+Server

Sascha

0

You didn't answer the question:

What version(s) of Tomcat are supported?

(no, cleaning the work folder did not help)

0

Hello,

Tomcat 5.5.16 should be supported, if TeamCity does not work with this
version then it is a bug. As a workaround you can try to do the following:
open TeamCity web.xml file (it is located in the WEB-INF folder) and change
'disableAll' parameter value to 'true':
Disable all processing - embed links as is disableAll true -- Pavel Sher Software Developer JetBrains, Inc. http://www.jetbrains.com "Develop with pleasure!" "Donald McLean" ]]> wrote in message
news:12223401.7661205762052425.JavaMail.jive@app4.labs.intellij.net...

You didn't answer the question:

>

What version(s) of Tomcat are supported?

>

(no, cleaning the work folder did not help)



0

Please sign in to leave a comment.