src/main/java/org/vibur/dbcp/ViburConfig.java
public void setName(String name) {
        if (name == null || (name = name.trim()).length() == 0) {
            logger.error("Invalid pool name {}", name);
            return;
        }
        if (!defaultName.equals(this.name) || defaultName.equals(name)) {
            logger.error("Pool name is already set or duplicated, existing name = {}, incoming name = {}", this.name, name);
            return;
        }
        this.name = name;
    }
public void setName(String name) {
        if (name == null || (name = name.trim()).length() == 0) {
            logger.error("Invalid pool name {}", name);
            return;
        }
        if (!defaultName.equals(this.name) || defaultName.equals(name)) {
            logger.error("Pool name is already set or duplicated, existing name = {}, incoming name = {}", this.name, name);
            return;
        }
        this.name = name;
    }
<b>NOTE:</b> the pool name can be set only once; pool renaming is not supported.

@param name the pool name to use