scale based on number of background threads
override some tomee default values
remove serializable as it does not make sense