i am getting error during TC5 startup

Hi all,

i changed database from mysql to postgresql. then i started TC5 and  getting following error on windows 2000. dont get same error  with same database and TEAMCITY_DATA_PATH on windows xp.  what can be the reason for that?

Error on step: Waiting for a database server...

jetbrains.buildServer.serverSide.db.TeamCityDataSource.connect()V
Copy to clipboard
Stacktrace copied!
java.lang.NoSuchMethodError: jetbrains.buildServer.serverSide.db.TeamCityDataSource.connect()V
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:22)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processServerStartup(TeamCityDispatcherServlet.java:84)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$000(TeamCityDispatcherServlet.java:96)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$1.run(TeamCityDispatcherServlet.java:1)
   at java.lang.Thread.run(Thread.java:595)


database.properties file
driverName=org.postgresql.Driver
connectionUrl=jdbc:postgresql://localhost:5432/teamcity5
connectionProperties.user=postgres
connectionProperties.password=postgres
maxConnections=50
poolPreparedStatements=true

1 comment

Hi Serdar,

Which version of TeamCity do you use? how did you install it - using Window installer or unpacking tar.gz or copying an installed version from another computer?
It looks like one of 'jar' files is wrong version or corrupted.

BTW, please change the 'poolPreparedStatements' property in your 'database.properties' file to false or remove it - TC 5.x doesn't need pooled statements but them can occupy DB resources.

Thanks,
Leonid

0

Please sign in to leave a comment.