Blank page on viewing builds, HTTP ERROR 500 on viewing project, ClassNotFound

Answered

I just installed a fresh install of TeamCity 10.0.4. I created a project, a build configuration, and a simple build step using command-line shell to echo hello world. I can run this build and see success. I can even make it create a file and the file is being created.

When I click on the project on the main page, I get the expect tabbed project view. When I click on my build configuration within that project I get an HTTP ERROR 500. If I click back and then instead try to click on the build results, I am taken to a blank page with no tabs or any info at all, just the TeamCity menus at the top. I get errors in my logs both times.

I have pasted the logs below. Does anyone know how to fix these?

Thanks a bunch,

-mike

For the build home page, when I get the HTTP ERROR 500, this appears in my logs:

==> logs/teamcity-server.log <==

[2017-02-01 17:16:40,227]  ERROR -   jetbrains.buildServer.SERVER - Error org.apache.jasper.JasperException: Unable to load class for JSP while processing request: GET '/viewType.html?buildTypeId=NewProject_FakeCandidate', from client 10.106.112.81:56439, authenticated as 'mmachenry' (Mike MacHenry) {id=1}

org.apache.jasper.JasperException: Unable to load class for JSP

        at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:696)

        at org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:256)

 

For the build results page, when I get a blank page, this appears in my logs.

==> logs/teamcity-server.log <==

[2017-02-01 17:17:33,003]  ERROR -   jetbrains.buildServer.SERVER - Error javax.servlet.jsp.JspException: javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.buildLog.nextPreviousBlock_jsp while processing request: GET '/viewLog.html?buildTypeId=NewProject_FakeCandidate&buildId=34', from client 10.106.112.81:56454, authenticated as 'mmachenry' (Mike MacHenry) {id=1}

javax.servlet.jsp.JspException: javax.servlet.ServletException: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.buildLog.nextPreviousBlock_jsp

        at org.apache.jsp.buildLog.viewLog_jsp$Helper.invoke(viewLog_jsp.java:3663)

        at org.apache.jsp.tag.web.page_tag.doTag(page_tag.java:722)

1
2 comments

Hello Mike,

It seems that jsp files were corrupted. Could you please try the following steps:

  1. Stop TeamCity server
  2. Delete <TeamCity_installation>/work directory
  3. Start TeamCity server

Please let me know whether it helps or not.

0
Avatar
Permanently deleted user

Alina, that did fix both problems. Thank you very much. Note for anyone who might try this in the future, it also did not delete any of my build data in the process.

0

Please sign in to leave a comment.