Bamboo fails to start on FreeBSD

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following error is recorded during start-up

INFO   | jvm 1    | 2012/08/16 22:37:06 | 2012-08-16 22:37:06,730 INFO [WrapperSimpleAppMain] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
INFO   | jvm 1    | 2012/08/16 22:37:06 | 2012-08-16 22:37:06.876:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@1cc2c78: java.io.IOException: Function not implemented
INFO   | jvm 1    | 2012/08/16 22:37:06 | java.io.IOException: Function not implemented
INFO   | jvm 1    | 2012/08/16 22:37:06 |       at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
INFO   | jvm 1    | 2012/08/16 22:37:06 |       at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)
INFO   | jvm 1    | 2012/08/16 22:37:06 |       at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

Cause

FreeBSD is unable to handle Java NIO calls.

Resolution

FreeBSD isn't a supported platform. We recommend using *nix variant such as Red Hat, Debian and etc.

If you would still use FreeBSD, there are some workarounds:

  • install Tomcat and deploy Bamboo WAR.
  • disable NIO in Jetty in favour of BIO by replacing the SelectChannelConnector in jetty.xml with a SocketConnector (this XML snippet:http://jira.codehaus.org/browse/JETTY-1441 looks helpful).


Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.