I'm getting the exception below on first login to TeamCity 4.0.
Here is the procedure I followed:
- Shut down Tomcat (on Linux), via shutdown.sh.
- Backed up MySQL DB.
- Moved the webapps/teamcity
directory out of the way.
- Copied over ~/TeamCity-4.0.war from home directory as teamcity.war.
- Started up Tomcat (to unpack the war): /site/apps/tomcat/bin/startup.sh
- Shut down Tomcat again.
- Copied mysql-connector-java-5.1.5-bin.jar
- Started Tomcat.
- Tried to login, to http://myTestTeamCityServer:8080/teamcity
I had successfully test-upgraded the same instance from TeamCity 3.1.1 to TeamCity 3.1.2 a couple of days ago, following essentially the same procedure.
Login method is LDAP.
Poking around in the .wars that I downloaded from here: http://www.jetbrains.com/teamcity/download/#j2ee
, and here: http://www.jetbrains.com/teamcity/download/#linux
...I compared the "jar" listing in these with my TeamCity-3.1.2.war, and unlike 3.1.2, the 4.0 packages don't include a WEB-INF/classes directory. Is this by design? That's where the CommentTransformer appears to live, e.g. from a "jar tvf TeamCity-3.1.2.war"...
1129 Thu Aug 07 16:50:08 CDT 2008 WEB-INF/classes/jetbrains/buildServer/web/util/CommentTransformer$TransformPattern.class
3184 Thu Aug 07 16:50:08 CDT 2008 WEB-INF/classes/jetbrains/buildServer/web/util/CommentTransformer.class
Error message: javax.servlet.jsp.JspException: java.lang.NoClassDefFoundError: jetbrains/buildServer/web/util/CommentTransformer Show stacktrace
javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: java.lang.NoClassDefFoundError: jetbrains/buildServer/web/util/CommentTransformer
[See attached for complete trace]