Teamcity web page not accessible after new install


I'm a new comer to TeamCity and been having a little trouble. Just been trying to get it going on a new Linux box which is running Debian 5.06. I have:

- Installed the default-fre and default-jdk packages

- Extracted TeamCity to /home/build/TeamCity

- Executed and I get the following output:

Using CATALINA_BASE:   /home/build/TeamCity
Using CATALINA_HOME:   /home/build/TeamCity
Using CATALINA_TMPDIR: /home/build/TeamCity/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/build/TeamCity/bin/bootstrap.jar
Starting TeamCity build agent...
Done [7855], see log at ../logs/teamcity-agent.log

Which seems fine. But when I go to localhost:8111 I get a request timed out.
Checked server.xml and the port is indeed set for 8111.

All logs are empty except for catalina which contains:

SEVERE: Class loader creation threw exception
java.lang.InternalError: One of the management beans is not compliant.
   at org.apache.catalina.startup.Bootstrap.createClassLoader(
   at org.apache.catalina.startup.Bootstrap.initClassLoaders(
   at org.apache.catalina.startup.Bootstrap.init(
   at org.apache.catalina.startup.Bootstrap.main(
Caused by: MBean is not compliant
   at mx4j.server.MX4JMBeanServer.registerImpl(
   at mx4j.server.MX4JMBeanServer.registerMBeanImpl(
   at mx4j.server.MX4JMBeanServer.registerMBean(
   ...4 more

Haven't really be able to find any documentation or people with a similar problem while installing TeamCity.

I've tried executing the script as root, having only default-jre and default-jdk installed but no go.

Any help is really appreciated.


1 comment
Comment actions Permalink

Just solved it! For those who have a similar problem:

The debian default-jre was an old/wrong version it serms. Uninstalled it and default-jdk after finding "java6-runtime". Installed that and it all works great now.


Please sign in to leave a comment.