new installation hanging on plugin loading

I just installed TeamCity on an Amazon ec2 micro server running Ubuntu, with a MySql database. When I try starting up TeamCity the page hangs at "Initializing TeamCity server components".

I can't find any mention of others having this issue online. Any thoughts? Is my server too small perhaps? I did find discussion of that online, but the associated error messages are different.

The server log looks like this:

[2014-04-28 16:30:56,970]   INFO -  jetbrains.buildServer.STARTUP - Database contains 110 tables.
[2014-04-28 16:30:57,012]   INFO -  jetbrains.buildServer.STARTUP - Database version is 658
[2014-04-28 16:30:57,117]   INFO - etbrains.buildServer.HEARTBEAT - Attempting to capture the DB lock. My s ession starting code: 1652445365
[2014-04-28 16:30:57,389]   INFO - etbrains.buildServer.HEARTBEAT - Revealed a concurrent competitor: Sessi on 1881210053 started at 2014-04-28 14:32:54.0 in mode WORK from IP address (Apache Tomcat/7.0 .37) last updated at 2014-04-28 14:38:59.0.
[2014-04-28 16:31:04,473]   INFO - etbrains.buildServer.HEARTBEAT - Removed the concurrent sessions 1881210 053 (in impudent mode)
[2014-04-28 16:31:04,720]   INFO - etbrains.buildServer.HEARTBEAT - The Heartbeat thread is started.
[2014-04-28 16:31:04,720]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Initializing TeamCity se rver components
[2014-04-28 16:31:07,941]   INFO -  jetbrains.buildServer.STARTUP - Starting the main application
[2014-04-28 16:31:15,909]   INFO - ebDispatcherApplicationContext - Refreshing jetbrains.buildServer.mainte nance.WebDispatcherApplicationContext@6bfad24e: startup date [Mon Apr 28 16:31:15 UTC 2014]; root of contex t hierarchy
[2014-04-28 16:31:17,642]   INFO - MainTeamCityApplicationContext - Refreshing WebApplicationContext for na mespace 'buildServer-servlet': startup date [Mon Apr 28 16:31:17 UTC 2014]; parent: jetbrains.buildServer.m aintenance.WebDispatcherApplicationContext@6bfad24e
[2014-04-28 16:33:43,989]   INFO -   jetbrains.buildServer.SERVER - Loading test names index from database. ..
[2014-04-28 16:33:44,024]   INFO -   jetbrains.buildServer.SERVER - Finished loading test names index
[2014-04-28 16:33:44,864]   INFO -   jetbrains.buildServer.SERVER - Start initializing build durations cach e...
[2014-04-28 16:33:44,891]   INFO -   jetbrains.buildServer.SERVER - Finished initializing build durations c ache
[2014-04-28 16:33:49,447]   INFO -   jetbrains.buildServer.SERVER - Loading roles from the configuration fi le: /home/ubuntu/.BuildServer/config/roles-config.xml
[2014-04-28 16:36:32,387]   INFO -   jetbrains.buildServer.SERVER - Applying new memory thresholds for Memo ry Usage Monitor
[2014-04-28 16:37:47,509]   INFO - til.ChildSpringContextLoader$1 - Refreshing jetbrains.buildServer.util.C hildSpringContextLoader$1@6dbc0a9c: startup date [Mon Apr 28 16:37:47 UTC 2014]; parent: WebApplicationCont ext for namespace 'buildServer-servlet'
[2014-04-28 16:37:49,326]   INFO -  jetbrains.buildServer.STARTUP - TeamCity Spring context contains 1009 b eans
[2014-04-28 16:37:49,823]   INFO -  jetbrains.buildServer.STARTUP - TeamCity Spring context created in: 392 883 ms
[2014-04-28 16:37:50,751]   INFO - rver.plugins.PluginManagerImpl - ======================================= ====================
[2014-04-28 16:37:50,751]   INFO - rver.plugins.PluginManagerImpl - Plugins initialization started...
[2014-04-28 16:37:50,752]   INFO - rver.plugins.PluginManagerImpl - Scanning plugins folders
[2014-04-28 16:37:50,753]   INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /home/ubuntu/Te amCity/webapps/ROOT/WEB-INF/plugins
[2014-04-28 16:37:59,458]   INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: /home/ubuntu/.B uildServer/plugins
[2014-04-28 16:37:59,464]   INFO - rver.plugins.PluginManagerImpl - Found 76 plugins: [agent-system-info (v er:29993), agent.push (ver:29993), Ant (ver:29993), ant-net-tasks (ver:29993), Apache Ant (ver:29993), arti factsSizeStatistics (ver:29993), assembly-info-patcher (ver:29993), bugzilla (ver:29993), buildDurationStat isticsPlugin (ver:29993), changeViewers (ver:29993), clearcase (ver:29993), cloud-amazon (ver:29993), comma ndLineRunner (ver:29993), coverage (ver:29993), cvs (ver:29993), data-dir-browse (ver:29993), dotnet-tools  (ver:29993), dotNetRunners (ver:29993), Duplicator (ver:29993), eclipse-plugin-distributor (ver:29993), ema il (ver:29993), environment-fetcher (ver:29993), feed (ver:29993), FxCop (ver:29993), gant-tool (ver:29993) , GAntRunner (ver:29993), gradle-runner (ver:29993), idea-tool (ver:29993), Inspection (ver:29993), intelli j-plugin-distributor (ver:29993), Ipr (ver:29993), jabber (ver:29993), Java Crashed detector (ver:29993), j ava-dowser (ver:29993), jetbrains.git (ver:29993), jira (ver:29993), jps-old-tool (ver:29993), jps-tool (ve r:29993), jvm-update (ver:29993), ldap (ver:29993), maven-tool (ver:29993), Maven2 (ver:29993), maven3-tool  (ver:29993), maven3_1-tool (ver:29993), mercurial (ver:29993), metarunner (ver:29993), nt-domain-login (ve r:29993), nuget (ver:29993), perfmon (ver:29993), perforce (ver:29993), powershell-runner (ver:29993), prio rity-queue (ver:29993), queue-pauser (ver:29993), rake-runner (ver:29993), remoteAccess (ver:29993), rest-a pi (ver:29993), rest-api-6.0 (ver:29993), rest-api-7.0 (ver:29993), searchBuildByNumber (ver:29993), ssh-ma nager (ver:29993), stacktraces (ver:29993), starteam (ver:29993), svn (ver:29993), swabra (ver:29993), Team City.SharedResources (ver:29993), tfs (ver:29993), unified-ui (ver:29993), usage-statistics (ver:29993), va ult-vcs (ver:29993), vs-addin-distributor (ver:29993), vss (ver:29993), WindowsTray (ver:29993), WindowsTra y-distributor (ver:29993), xcode-runner (ver:29993), xml-report-plugin (ver:29993), youtrack (ver:29993)]
[2014-04-28 16:38:00,119]   INFO - rver.plugins.PluginsCollection - Load standalone classloaders for 36 plu gins [agent-system-info, agent.push, assembly-info-patcher, bugzilla, cloud-amazon, data-dir-browse, dotnet -tools, dotNetRunners, eclipse-plugin-distributor, FxCop, java-dowser, jira, jvm-update, Maven2, mercurial,  metarunner, nt-domain-login, nuget, perforce, powershell-runner, queue-pauser, rake-runner, rest-api, rest -api-6.0, rest-api-7.0, ssh-manager, svn, TeamCity.SharedResources, tfs, unified-ui, usage-statistics, vaul t-vcs, vs-addin-distributor, vss, WindowsTray-distributor, xcode-runner]
[2014-04-28 16:38:00,120]   INFO - rver.plugins.PluginsCollection - Load shared classloader for 40 plugins  [Ant, ant-net-tasks, Apache Ant, artifactsSizeStatistics, buildDurationStatisticsPlugin, changeViewers, cle arcase, commandLineRunner, coverage, cvs, Duplicator, email, environment-fetcher, feed, gant-tool, GAntRunn er, gradle-runner, idea-tool, Inspection, intellij-plugin-distributor, Ipr, jabber, Java Crashed detector,  jetbrains.git, jps-old-tool, jps-tool, ldap, maven-tool, maven3-tool, maven3_1-tool, perfmon, priority-queu e, remoteAccess, searchBuildByNumber, stacktraces, starteam, swabra, WindowsTray, xml-report-plugin, youtra ck]


Comment actions Permalink

t1.micro instance is indeed too small. The default VM params for server startup are Xmx512 and MaxPermSize270m.

Comment actions Permalink

thanks! that's what I was afraid of. I tried changing the default params but that didn't seem to help.

I guess we may just have to bite the bullet and pay for a larger instance. We were hoping to at least be able to try it out on this one first.


Please sign in to leave a comment.