adopted configuration for FX and tomcat