( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484200{main}( ).../index.php:0
20.0000484552require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08894158368require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09024188248include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.09024188248get_header( $name = ???, $args = ??? ).../archive.php:19
60.09024188464locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09024188560load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09024189104require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09044196512wp_head( ).../header.php:18
100.09044196512do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09044196728WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09044196728WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09054318928wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09054318928do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09054319144WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09054319144WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09074326664twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09094328184wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.09094328184WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.09094328184WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.09094328184_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.09094328504wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.09094329256trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484200{main}( ).../index.php:0
20.0000484552require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08894158368require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09024188248include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.09024188248get_header( $name = ???, $args = ??? ).../archive.php:19
60.09024188464locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09024188560load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09024189104require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09044196512wp_head( ).../header.php:18
100.09044196512do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09044196728WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09044196728WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09054318928wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09054318928do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09054319144WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09054319144WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09074326664twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.11554330360wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.11554330360WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.11554330360WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.11554330360_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.11554330680wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.11554330904trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

resin + nginx

download the upstream jvm route from http://code.google.com/p/nginx-upstream-jvm-route/

[root@web1 nginx-1.2.0]# tar -zxf nginx-upstream-jvm-route-0.1.tar.gz

[root@web1 nginx-1.2.0]# patch -p0 ./nginx_upstream_jvm_route/jvm_route.patch

[root@web1 nginx-1.2.0]# ./configure –sbin-path=/usr/sbin/ –conf-path=/etc/nginx/nginx.conf –with-http_stub_status_module –with-http_ssl_module –add-module=./nginx_upstream_jvm_route

 

edit /etc/nginx/nginx.conf

add

upstream resin_proxy {

server 127.0.0.1:85 srun_id=app-by1 max_fails=2 fail_timeout=10s weight=200; //负载均衡
server web3:85 srun_id=app-by2 max_fails=2 fail_timeout=10s weight=200;      //负载均衡
jvm_route $cookie_JSESSIONID|sessionid;
}

server {
listen 80;
server_name default yourhosts;
location / {
proxy_pass http://resin_proxy;
include proxy.conf;
index index.jsp index.html index.htm;
}
}

create proxy.conf

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

 

 

resin 4 版破解方法。

how to crack resin 4.

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

利用jd打开resin 4目录下的lib/pro.jar

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

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

/*  69 */     this._personalCount;

/*  70 */     this._professionalCount;

改为

/*  69 */     this._personalCount = 100;

/*  70 */     this._professionalCount = 100;

 

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

即可。

验证:运行 resin,在浏览器中打开http://127.0.0.1:8080/resin-admin。破解版是有图表的。

 

 

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