Lists web modules.
This method runs synchronously.
Parameters: target - server target Parameters: state - one of ENUM_ constants. throws: IllegalStateException - when access to tomcat manager has not beenauthorized and therefore list of target modules could not been retrieved