Jive 论坛 license破解

1. 找到文件 \admin\global.jspf

注释掉 标记为“LicenseManager.validateLicense(....”的代码行。

如:

boolean isLite = false;
    try {
        //LicenseManager.validateLicense("Jive Forums Lite","4.2");
        isLite = com.jivesoftware.forum.Version.getEdition() == com.jivesoftware.forum.Version.Edition.LITE;
    }
    catch (Exception ignored) {}
    boolean isPro = false;
    try {
        //LicenseManager.validateLicense("Jive Forums Professional","4.2");
        isPro = com.jivesoftware.forum.Version.getEdition() == com.jivesoftware.forum.Version.Edition.PROFESSIONAL;
    }
    catch (Exception ignored) {}
    boolean isEnt = false;
    try {
        //LicenseManager.validateLicense("Jive Forums Enterprise","4.2");
        isEnt = com.jivesoftware.forum.Version.getEdition() == com.jivesoftware.forum.Version.Edition.ENTERPRISE;
    }
    catch (Exception ignored) {}
    boolean isExpert = false;
    try {
        //LicenseManager.validateLicense("Jive Forums Expert Edition","4.2");
        isExpert = com.jivesoftware.forum.Version.getEdition() == com.jivesoftware.forum.Version.Edition.EXPERT;
    }
    catch (Exception ignored) {}

2. 找到文件:\admin\license.jsp

同样注释掉 标记为“LicenseManager.validateLicense(....”的代码行。

如:

boolean validLicense = false;
    Exception le = null;
    try {
        //LicenseManager.validateLicense(jiveEdition, "4.2");
        validLicense = true;
    }
    catch (LicenseException e) {
        le = e;
    }

 

重启tomcat即可。

猜你喜欢

转载自sunxboy.iteye.com/blog/1918486
今日推荐