Builds problems on FreeBSD

Hello!
I`m new to TeamCity but I had no problems with setting it up on Windows. Now I need to set it up on FreeBSD. There were no problems with installing .war into Tomcat and configuring TeamCity agent. The problem appeared on trying to start any build. I don`t have any idea why this is happening but my executed build is canceling and restarting all the time in less that secund. I can`t even find any reasonable messages what couses it. This is Build log:

[23:22:46]: Checking for changes
[23:22:47]: Build cancelled


There is warning in teamcity-agent.log:
[2009-01-06 23:19:51,836]   WARN -    jetbrains.buildServer.AGENT - CPU benchmark index is set to 225
[2009-01-06 23:19:51,905]   INFO - erver.agent.ant.AntBuildRunner - Ant Runner Extensions: jetbrains.buildServer.agent.ant.CompilerAntExtension,jetbrains.buildServer.agent.ant.EchoAntExtension,jetbrains.buildServer.agent.ant.JUnitFirstTestsToRunExtension,jetbrains.buildServer.coverage.AntCoverageAdapter,jetbrains.buildServer.testng.TestNGTaskExtension,jetbrains.buildServer.testng.TestNGFirstTestsToRunExtension,
[2009-01-06 23:19:52,030]   WARN - ildServer.util.EventDispatcher - java.lang.NoClassDefFoundError: Could not initialize class com.jniwrapper.Library
java.lang.NoClassDefFoundError: Could not initialize class com.jniwrapper.Library
    at com.jniwrapper.J.b(SourceFile:48)
    at com.jniwrapper.J.<init>(SourceFile:32)
    at com.jniwrapper.Parameter.<clinit>(SourceFile:22)
    at jetbrains.buildServer.mstest.results.MSTestPropertiesExtension.beforeAgentConfigurationLoaded(MSTestPropertiesExtension.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:69)
    at jetbrains.buildServer.util.EventDispatcher$1.invoke(EventDispatcher.java:36)
    at $Proxy0.beforeAgentConfigurationLoaded(Unknown Source)
    at jetbrains.buildServer.agent.impl.BuildAgentImpl.init(BuildAgentImpl.java:596)
    at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:24)


I can`t find any other exceptions. Also debug logging don`t help.


I`m running server and agent on jdk1.6 which is for FreeBSD. I am sure that JAVA_HOME points to it and JRE_HOME to $JAVA_HOME/jre on agent and server. agent and server are on the same host and there is no port conflicts.


Please HELP!
5 comments
Comment actions Permalink

FreeBSD is not in the list of TeamCity supported OSes. I would suggest to switch to another operating system. You can also submit a feature request to support FreeBSD to our tracker.

0
Comment actions Permalink

Yes I found it in documentation. this is very bad... thank You very much!

0
Comment actions Permalink

Hi,

I have the same problem but on a MAC OSX Server (XServ)...

We use the build agent integrated with the Teamcity Server who is running on the XServ and we have this exception and MacOSX is a supported OS...

//----------------------------------------
java.lang.ExceptionInInitializerError
    at jetbrains.buildServer.mstest.results.MSTestPropertiesExtension.beforeAgentConfigurationLoaded(MSTestPropertiesExtension.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:69)
    at jetbrains.buildServer.util.EventDispatcher$1.invoke(EventDispatcher.java:36)
    at $Proxy0.beforeAgentConfigurationLoaded(Unknown Source)
    at jetbrains.buildServer.agent.impl.BuildAgentImpl.init(BuildAgentImpl.java:596)
    at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:24)
Caused by: com.jniwrapper.n
    at com.jniwrapper.J.b(SourceFile:145)
    at com.jniwrapper.J.<init>(SourceFile:32)
    at com.jniwrapper.Parameter.<clinit>(SourceFile:22)


no blocking problem but...

Thanks...

0
Comment actions Permalink

Thank you for report, please watch for this issue: http://jetbrains.net/tracker/issue/TW-6769

0
Comment actions Permalink

i have see the bug have been fixed..

"bravo", i'm very impress, you are very very reactive

thanks

0

Please sign in to leave a comment.