1 Replies Last post: Jul 15, 2013 3:23 PM by Simon Detheridge  
Paul Jones Newbie 1 posts since
Jul 5, 2013
Currently Being Moderated

Jul 5, 2013 7:59 PM

Unable to start team city after upgrade to version 8.0.1

After running the installer teamcity fails to load and the following exception is in the teamcity-winservice log file:


[2013-07-05 16:19:52,291] stdout                            [Info] Exception in thread "TeamCityStartup" java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;


Any ideas what could be causing the issue?


Thanks

 

 

teamcity-winservice log:

 

[2013-07-05 16:19:49,264] FileTaskSettings                  [Info] Parsing service settings

[2013-07-05 16:19:49,264] FileTaskSettings                  [Info] Program to execute:   C:\Windows\system32\cmd.exe

[2013-07-05 16:19:49,264] FileTaskSettings                  [Info] Program arguments:    /c teamcity-server.bat run service

[2013-07-05 16:19:49,264] FileTaskSettings                  [Info] Program work dir:     c:\TeamCity\bin

[2013-07-05 16:19:49,265] FileTaskSettings                  [Info] Program stop timeout: 900000

[2013-07-05 16:19:49,378] stdout                            [Info] Looking for installed Java...

[2013-07-05 16:19:49,378] stdout                            [Info] Java executable is found: 'c:\TeamCity\bin\..\jre\bin\java.exe'.

[2013-07-05 16:19:49,478] stdout                            [Info] Using CATALINA_BASE:   "c:\TeamCity\bin\.."

[2013-07-05 16:19:49,478] stdout                            [Info] Using CATALINA_HOME:   "c:\TeamCity\bin\.."

[2013-07-05 16:19:49,478] stdout                            [Info] Using CATALINA_TMPDIR: "c:\TeamCity\bin\..\temp"

[2013-07-05 16:19:49,479] stdout                            [Info] Using JRE_HOME:        "c:\TeamCity\bin\..\jre"

[2013-07-05 16:19:49,479] stdout                            [Info] Using CLASSPATH:       "c:\TeamCity\bin\..\bin\bootstrap.jar;c:\TeamCity\bin\..\bin\tomcat-juli.jar"

[2013-07-05 16:19:49,979] stdout                            [Info] Jul 05, 2013 4:19:49 PM org.apache.catalina.core.AprLifecycleListener init

[2013-07-05 16:19:49,980] stdout                            [Info] INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\TeamCity\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;E:\Program Files\Microsoft SQL Server\100\Tools\Binn\;E:\Program Files\Microsoft SQL Server\100\DTS\Binn\;E:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;E:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools\Best Practices Analyzer\;.

[2013-07-05 16:19:50,283] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.coyote.AbstractProtocol init

[2013-07-05 16:19:50,283] stdout                            [Info] INFO: Initializing ProtocolHandler ["http-nio-1978"]

[2013-07-05 16:19:50,283] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

[2013-07-05 16:19:50,283] stdout                            [Info] INFO: Using a shared selector for servlet write/read

[2013-07-05 16:19:50,284] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.catalina.startup.Catalina load

[2013-07-05 16:19:50,284] stdout                            [Info] INFO: Initialization processed in 605 ms

[2013-07-05 16:19:50,384] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.catalina.core.StandardService startInternal

[2013-07-05 16:19:50,384] stdout                            [Info] INFO: Starting service Catalina

[2013-07-05 16:19:50,384] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.catalina.core.StandardEngine startInternal

[2013-07-05 16:19:50,384] stdout                            [Info] INFO: Starting Servlet Engine: Apache Tomcat/7.0.37

[2013-07-05 16:19:50,385] stdout                            [Info] Jul 05, 2013 4:19:50 PM org.apache.catalina.startup.HostConfig deployDirectory

[2013-07-05 16:19:50,385] stdout                            [Info] INFO: Deploying web application directory C:\TeamCity\webapps\ROOT

[2013-07-05 16:19:51,790] stdout                            [Info] Using logs directory c:\TeamCity\bin\..\logs

[2013-07-05 16:19:51,790] stdout                            [Info] Log4J configuration file c:\TeamCity\bin\..\conf\teamcity-server-log4j.xml will be monitored with interval 10 seconds.

[2013-07-05 16:19:51,990] stdout                            [Info] Jul 05, 2013 4:19:51 PM org.apache.coyote.AbstractProtocol start

[2013-07-05 16:19:51,990] stdout                            [Info] INFO: Starting ProtocolHandler ["http-nio-1978"]

[2013-07-05 16:19:51,990] stdout                            [Info] Jul 05, 2013 4:19:51 PM org.apache.catalina.startup.Catalina start

[2013-07-05 16:19:51,991] stdout                            [Info] INFO: Server startup in 1668 ms

[2013-07-05 16:19:51,991] stdout                            [Info] TeamCity version: 8.0.1 (build 27435), data format version 628

[2013-07-05 16:19:51,991] stdout                            [Info] OS: Windows Server 2008, JRE: 1.7.0_21-b11

[2013-07-05 16:19:52,291] stdout                            [Info] Exception in thread "TeamCityStartup" java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

[2013-07-05 16:19:52,291] stdout                            [Info] at jetbrains.buildServer.serverSide.db.jdbcLoader.TeamCityJdbcDrivers.<init>(TeamCityJdbcDrivers.java:36)

[2013-07-05 16:19:52,292] stdout                            [Info] at jetbrains.buildServer.serverSide.db.jdbcLoader.JdbcDriverLoader.loadJdbcDrivers(JdbcDriverLoader.java:68)

[2013-07-05 16:19:52,292] stdout                            [Info] at jetbrains.buildServer.serverSide.db.jdbcLoader.TeamCityJdbcUtils.loadJdbcDrivers(TeamCityJdbcUtils.java:30)

[2013-07-05 16:19:52,292] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.performLoadJdbc(StartupProcessor.java:49)

[2013-07-05 16:19:52,293] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.performConnectToDatabase(StartupProcessor.java:430)

[2013-07-05 16:19:52,293] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.doDatabaseConnect(StartupProcessor.java:65)

[2013-07-05 16:19:52,293] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.processConcreteStage(StartupProcessor.java:337)

[2013-07-05 16:19:52,293] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.processConcreteStageSafe(StartupProcessor.java:76)

[2013-07-05 16:19:52,294] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.processTeamCityLifecycle(StartupProcessor.java:322)

[2013-07-05 16:19:52,294] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor.access$000(StartupProcessor.java:157)

[2013-07-05 16:19:52,294] stdout                            [Info] at jetbrains.buildServer.maintenance.StartupProcessor$1.run(StartupProcessor.java)

[2013-07-05 16:19:52,295] stdout                            [Info] at java.lang.Thread.run(Unknown Source)

teamcity server log:
[2013-07-05 16:11:32,831]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Connecting to the database
[2013-07-05 16:19:51,758]   INFO -  jetbrains.buildServer.STARTUP -
[2013-07-05 16:19:51,759]   INFO -  jetbrains.buildServer.STARTUP - ===========================================================
[2013-07-05 16:19:51,759]   INFO -  jetbrains.buildServer.STARTUP - Starting TeamCity server
[2013-07-05 16:19:51,954]   INFO -  jetbrains.buildServer.STARTUP - TeamCity version: 8.0.1 (build 27435), data format version 628
[2013-07-05 16:19:51,955]   INFO -  jetbrains.buildServer.STARTUP - OS: Windows Server 2008, JRE: 1.7.0_21-b11
[2013-07-05 16:19:51,955]   INFO -  jetbrains.buildServer.STARTUP - Servlet real path: c:\TeamCity\bin\..\webapps\ROOT\
[2013-07-05 16:19:51,960]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the TeamCity Data Directory
[2013-07-05 16:19:51,960]   INFO -  jetbrains.buildServer.STARTUP - TeamCity Data Directory path is determined using the environment variable TEAMCITY_DATA_PATH
[2013-07-05 16:19:51,960]   INFO -  jetbrains.buildServer.STARTUP - Data Directory "C:\TeamCity\.BuildServer" exists
[2013-07-05 16:19:52,015]   INFO -  jetbrains.buildServer.STARTUP - The main configuration file "C:\TeamCity\.BuildServer\config\main-config.xml" exists
[2013-07-05 16:19:52,015]   INFO -  jetbrains.buildServer.STARTUP - The database properties file "C:\TeamCity\.BuildServer\config\database.properties" exists
[2013-07-05 16:19:52,015]   INFO -  jetbrains.buildServer.STARTUP - The internal database data file "C:\TeamCity\.BuildServer\system\buildserver.data" doesn't exist
[2013-07-05 16:19:52,078]   INFO -  jetbrains.buildServer.STARTUP - Data Directory version: 514
[2013-07-05 16:19:52,078]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the database configuration
[2013-07-05 16:19:52,078]   INFO -  jetbrains.buildServer.STARTUP - Database properties file "C:\TeamCity\.BuildServer\config\database.properties" exists
[2013-07-05 16:19:52,078]   INFO -  jetbrains.buildServer.STARTUP - Internal HSQL database file (C:\TeamCity\.BuildServer\system\buildserver.data) doesn't exist
[2013-07-05 16:19:52,097]   INFO -  jetbrains.buildServer.STARTUP - Database connection URL: jdbc:sqlserver://localhost:1433;databaseName=teamcity
[2013-07-05 16:19:52,097]   INFO -  jetbrains.buildServer.STARTUP - Using database connection URL from the database properties file. The URL is: jdbc:sqlserver://localhost:1433;databaseName=teamcity
[2013-07-05 16:19:52,097]   INFO -  jetbrains.buildServer.STARTUP - Using external (MSSQL) database
[2013-07-05 16:19:52,097]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Connecting to the database
Simon Detheridge Newbie 7 posts since
Feb 26, 2010
Currently Being Moderated
Jul 15, 2013 3:23 PM in response to: Paul Jones
Re: Unable to start team city after upgrade to version 8.0.1

This happened to me when unpacking the TeamCity 8 tar.gz on Linux, on top of the TeamCity 7 installation.

 

I removed the folder and unzipped it again, and everything worked. I think newer versions want to completely replace older ones, not over-copy them.

More Like This

  • Retrieving data ...