resin 3.1.xx版破解方法。

工具:jd http://java.decompiler.free.fr/

利用jd打开resin 3.1.xx目录下的lib/license.jar

将源代码另存出来。再用eclipse打开LicenseStore.java

查找init()函数,将init()函数中的

this._serverCount;

改为

this._serverCount = 100;

然后编译为class文件,用winrar将class文件加入到lib/license.jar,覆盖原来的文件。

即可。

验证:运行 resin,在浏览器中打开http://127.0.0.1:8080/resin-admin,查看config,看到connection-max为1048576,即破解成功。

 

TCP ports

hmux://127.0.0.1:6800
accept-thread-min 5 keepalive-max 128
accept-thread-max 10 keepalive-select-max -1
accept-listen-backlog 100 keepalive-timeout 15000
connection-max 1048576 socket-timeout 65000
keepalive-connection-time-max 600000 suspend-time-max 600000
http://*:8080
accept-thread-min 5 keepalive-max 128
accept-thread-max 10 keepalive-select-max -1
accept-listen-backlog 100 keepalive-timeout 15000
connection-max 1048576 socket-timeout 65000
keepalive-connection-time-max 600000 suspend-time-max 600000

 

2 thoughts on “resin 3.1.xx版破解方法。”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.