i am getting error at maintainDB migrate command

i am getting following error from maintainDB.bat command . i wanted to migrate from mysql to postgresql.
what can be the reason for the error?

D:\TeamCity5.0\bin>maintainDB.bat migrate  -T  C:\database.postgresql.properties
Exception in thread "main" java.lang.NoClassDefFoundError: jetbrains/buildServer
/serverSide/SQLRunner
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Critical error has occurred during command execution.

2 comments

Serdar,

What version on TeamCity  do you use? How did you install TeamCity? Did you change anything in configuration of TeamCity Server after installation?

0

Hi Serdar,

which version of TeamCity do you use? How did you install it - using Windows installer or unpacking tar.gz? Did you relocate installed files after installation?

In this case the maintainDB seems could not find some jars.

Thanks,
Leonid

0

Please sign in to leave a comment.