removed bitronix specific code as it causes issues on AS7