预览模式: 普通 | 列表

taglib(tld)在resin中不能正常解析的解决方法

CODE:

<description>anotherbug custom lib</description>
<tlib-version>1.0</tlib-version>
<jsp-version>2.0</jsp-version>
<short-name>anotherbuglib</short-name>
<uri></uri>
<small-icon></small-icon>
....
....



...

查看全部...

标签: Resin taglib tld 

分类:Resin | 固定链接 | 评论: 12 | 查看次数: 2594

让Resin HttpProxyServlet支持多域名

一般应用中有ajax进行跨子域代理调用时,通常需要设置HTTP代理,解决域的权限问题。
举例,blog.chinajavaworld.com中用ajax调search子系统的服务,Resin的HttpProxyServlet设置如下:
[code]
<servlet>
<servlet-name>http-proxy</servlet-name>
<servlet-class>com.caucho.servlets.HttpProxyServlet</servlet-class>
<init host='...

查看全部...

标签: Resin 多域名 HttpProxyServlet 

分类:Resin | 固定链接 | 评论: 38 | 查看次数: 4485

Resin 3.1.5 changes - 2008-02-27

Resin 3.1.5 changes - 2008-02-27
(2008-02-26) config: whitespace-only element config with resin:import (rep by Jan Kriesten)
win32: rewrite-real-path replacement issues with windows backslashes (#2444, rep by stbu)
(2008-02-20) build aclocal.m4 missing from .gz
classloader: system classloader...

查看全部...

标签: Resin 

分类:Resin | 固定链接 | 评论: 13 | 查看次数: 3158

Resin3.14 load-balance failing over

当backend server a shut down,load-balance 在控制台会输出:
CODE:

[20:49:01.266] load-balance failing over from web-tier->a to web-tier->b

查看全部...

标签: balance load failing over 

分类:Resin | 固定链接 | 评论: 6 | 查看次数: 2341

Resin filter mapping 正则表达式

CODE:

<filter-mapping>
<filter-name>webwork</filter-name>
<url-regexp>/([0-9]+)</url-regexp>
</filter-mapping>



以上将URI 类似 /1234 纯数字的URL交给 webwork 过滤器处理.

查看全部...

标签: 正则表达式 Resin filter mapping 

分类:Resin | 固定链接 | 评论: 8 | 查看次数: 3236

Resin 3.1.3中Webwork xml配置文件出错解决

[code]
com.opensymphony.xwork.config.ConfigurationException: Error loading configuration file xwork.xml with nested exception com.opensymphony.xwork.config.ConfigurationException: Caught exception while loading file xwork-test-actions.xml with nested exception org.xml.sax.SAXParseException: The con...

查看全部...

标签: xml Resin WebWork 

分类:Resin | 固定链接 | 评论: 6 | 查看次数: 2749

Resin 3.1.4 Release Notes

Resin 3.1.x
database-default
DatabaseManager
JMS
Admin
logging enhancements
Resin 3.1.x
Resin 3.1.x is a development branch. New capabilities will be added along with bug fixes for future versions of the Resin 3.1.x branch.

Deployments which need a Resin version with only bug fixes should ...

查看全部...

标签: Resin 

分类:Resin | 固定链接 | 评论: 23 | 查看次数: 4178

Resin3.13中可以统计应用出现500的次数

附件
切换到幻灯片模式

在Resin应用监控状态的
WebApps栏中,可以看到比3.1.2版本多了个 500
显示如下:

19 21h26

查找status.php,找到相应位置:
CODE:

<?php
format_ago_td_pair($webapp->Status500CountTotal,
$webapp->Status500LastTime);
?>


可以看出它的意思,
表示应用启动以来共出现了19次 500内部错误,最后一次出现在 21小时...

查看全部...

标签: Resin 500 

分类:Resin | 固定链接 | 评论: 26 | 查看次数: 5013
Resin从3.0.xx升级到3.1.3时,Xfire的webservice会出错:
[code]
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: For input string: ""
org.codehaus.xfire.fault.XFireFault: For input string: ""
at org.codehaus...

查看全部...

标签: webservice Resin XFire 

分类:Resin | 固定链接 | 评论: 7 | 查看次数: 3161

查看Resin的线程池状态与负载高峰

附件
切换到幻灯片模式

在resin-admin里,查看Threads项里的Thread Pool状态。如附件所示,Peak为545,即峰值为545,如果接近你设的Max值,就要注意加大Max值或增加机器来分担负载。

查看全部...

标签: Resin 线程池 

分类:Resin | 固定链接 | 评论: 19 | 查看次数: 4485

Resin 3.1中集群与负载均衡的实现

附件
附件
附件
附件
附件
切换到幻灯片模式

需要配置前端web层和后端应用层:

1.web层配置:

[code]
<!--
- Configuration for the web-tier/load-balancer
-->
<cluster id="web-tier">
<server-default>
<!-- The http port -->
<http address="*" port="80"/>
...

查看全部...

标签: Resin 负载均衡 

分类:Resin | 固定链接 | 评论: 52 | 查看次数: 10709

Resin简单认证配置

以下设置访问/admin时,需要认证,用户名为aaa,密码为bbb
[code]
<authenticator type="com.caucho.server.security.XmlAuthenticator">
<init>
<user>aaa:bbb:user</user>
<password-digest>none</password-digest>
</init>
</authenticator>

...

查看全部...

标签: 认证 配置 Resin 

分类:Resin | 固定链接 | 评论: 23 | 查看次数: 3899

用Resin ThrottleFilter防小规模DOS攻击

<h2 class="section">Denial of Service (DoS) attacks</h2><p>
The most common method used in DoS attacks on a server is to flood the server
with useless traffic, overloading the network's capacity. A real DoS attack is
best handled by a firewall or operating system. An...

查看全部...

标签: Resin ThrottleFilter DOS attack 攻击 

分类:Resin | 固定链接 | 评论: 43 | 查看次数: 6692

Windows下项目移到Linux出现乱码问题

如果Windows下项目移到Linux出现乱码问题,请优先用以下方法检查是否能解决问题。

解决方法,在resin.conf中加入系统属性
{code}
<system-property user.language='zh'/>
<system-property file.encoding='GBK'/>
{code}

查看全部...

标签: linux Resin 乱码 

分类:Resin | 固定链接 | 评论: 11 | 查看次数: 2973

Resin 3.1.3 Release Notes

Resin 3.1.x
Startup Time
HttpProxyServlet
Hessian
Caching
Versioning
Jdbc Pooling
Admin
JSF
Comet/Streaming Servlets
Config
Session Generation
Administration
Amber
rewrite-dispatch
Quercus
Resin 3.1.x
Resin 3.1.x is a development branch. New capabilities will be added along with bug...

查看全部...

标签: Resin 

分类:Resin | 固定链接 | 评论: 4 | 查看次数: 3385