2014-07-12 14:21:40

View Mode: Normal | Article List
Category: Resin | 1 | 2 | >

resin 3.2 发布

[ 2008-08-16 22:54:46 | Author: zhenhua ]
使JAVA和php的距离又拉近了一步。

http://www.caucho.com/download/

a leading open source Java-PHP application server vendor, today announced the release of Resin version 3.2 which features faster performance, better scalability, and an improved administration experience.

Resin 3.2.0 features include:

Dynamic clustering with remote application deployment
Improved support for Comet and massive keepalives
Improved administration console
Brokered agent messaging (BAM)
JSF 2.0 draft implementation
...

Read More...

[Hidden] [Hidden]

[ 2008-05-28 11:48:02 | Author: zhenhua ]
You don't have the permission to view this Article.

Resin 3.1 URL Rewrite

[ 2008-02-18 10:33:25 | Author: zhenhua ]
在Resin3.1中提供了URL Rewrite功能,不需要使用Filter,只需要进行必要的配置即可实现。有两种方法可以使用,一种在是resin-web.xml里直接写,第二种是写在任何.xml文件中,在resin-web.xml导入。现在我们只说明第二种方式:

在resin-web.xml中加入如下代码:
<rewrite-dispatch>
 <import path='WEB-INF/rewrite.xml'/>
</rewrite-dispatch>
注意路径不是从/WEB-INF/rewrite.xml,为此费了半天劲……

另外在WEB-INF下建立一个rewrite.xml,代码示例如下:
<rewrite-dispatch xmlns="http://caucho.com/ns/resin" xmlns:resin="http://caucho.com/ns/resin/core">
 <forward regexp='^/bbs/subject/list/(\d+)/(\d+)$' target='/bbs/s
...

Read More...

[Hidden] [Hidden]

[ 2008-01-04 16:36:10 | Author: zhenhua ]
You don't have the permission to view this Article.

Resin 泛解析

[ 2007-09-11 17:30:30 | Author: zhenhua ]
1. 使***.abc.aaa.com 和abc.aaa.com指向同一应用
<host id='abc.aaa.com'>
<host-alias-regexp>([^.]+)\.abc\.aaa\.com</host-alias-regexp>
<host-name>${host-alias-regexp.regexp[1]}.abc.aaa.com</host-name>
<web-app id="/" document-directory="e:\space\webroot"/>
</host>

2.使group.XXX.com 和XXX.group.XXX.com 都指向同一应用
<host id="group.aaa.com">
 <host-alias-regexp>([a-zA-Z0-9.]+)roup\.([^.]+)\.com</host-alias-regexp>
 <host-name>${host-alias-regexp.regexp[1]}roup.${host-alias-regexp.regexp[2]}.com</host-name>
...

Read More...

Resin 3 LOG 设置

[ 2007-08-29 18:45:19 | Author: zhenhua ]
<stdout-log path='${resin.home}/log/stdout.log'
archive-format="stdout-%Y_%m_%d.log"
rollover-period='1D'
rollover-size='1mb'/>

<stderr-log path='${resin.home}/log/stderr.log'
archive-format="stderr-%Y_%m_%d.log"
rollover-period='1D'
rollover-size='1mb'/>

log设置
<log name='' level='info' path='stdout:' rollover-period='1W' timestamp='[%Y/%m/%d %H:%M:%S.%s] '/>
<log name='com.caucho.java' level='fine' path='stdout:' rollover-period='1W' timestamp='[%Y/%m/%d %H:%M:%S.%s] '/>
...

Read More...
1 | 2 | >