private int getIntegerValue(String propKey, int defaultValue) {
        int i;
        try {
            i = Integer.parseInt(props.getProperty(propKey));
        } catch (NumberFormatException nfe) {
            i = defaultValue;
        }
        return i;
    }
Reading the file crowd.properties which should be found in the conf folder
of openfire
xmppserver/src/main/java/org/jivesoftware/openfire/crowd/CrowdProperties.java