-
xml类型的配置文件包含特殊字符的处理
Apr222010
-
resin使用了struts/spring等框架与apache整合时需要注意事项
Feb062010resin使用了struts/spring等框架与apache整合时需要注意以下: 默认情况resin ResinConfigServer配置不支持除了jsp和servlet之外的其他不规则映射,apache对此类URL会返回404,或者无效的servlet,这就用到了resin的plugin_match配置。如:<servlet-mapping url-pattern=”*.do” servlet-name=”plu ...
阅读全文resin使用了struts/spring等框架与apache整合时需要注意事项已关闭评论
-
apache+resin集群配置,将指定接口的请求(servlet)转到特定resin的配置
May062009apache+resin集群配置,将指定接口的请求(servlet)转到特定resin的配置。需求如下:将某个特定url的请求转到特定的后台resin服务器上,其余的请求仍然保持cluster状态 resin2的配置httpd.conf<IfModule mod_caucho.c> <Location /MyServlet*> CauchoConfigFile conf/resin-test. ...
阅读全文apache+resin集群配置,将指定接口的请求(servlet)转到特定resin的配置已关闭评论
-
resin容器下获取web-app的绝对路径
Feb142009为了获得web-app目录中的.properties文件,需要先取得web-app的WEB-INF目录,网上有很多的方法,大致描述如下: 1、java程序中中获得System.out.println(“1″+Thread.currentThread().getContextClassLoader().getResource(“”));System.out.println(“2″+TestPath.class.getResource ...
阅读全文resin容器下获取web-app的绝对路径已关闭评论
-
resin3 resin-admin管理后台的配置
Dec042008
-
resin3的优化配置
Nov232008
-
resin jsp auto-compile
Aug052008
-
apache 与resin2或者resin3 的整合配置
Jun282008apached的下载及编译:http://www.apache.org/这里选择动态加载模块,如果需要其他模块的可以自行添加。 ./configure –prefix=/home/2hei/apache2 –enable-module=somakemake install resin的下载及编译:http://www.caucho.com/download 下载resin2的版本或者resin3的版本./configure makemake inst ...
阅读全文apache 与resin2或者resin3 的整合配置已关闭评论
-
Unsupported major.minor version 49.0
Jun262008resin更新到3.1.6了,下了一个玩玩 启动的时候java -jar lib/resin.jar 报错。Exception in thread “main” java.lang.UnsupportedClassVersionError: com/caucho/boot/ResinBoot (Unsupported major.minor version 49.0) at java.lang.ClassLoader.define ...
阅读全文Unsupported major.minor version 49.0已关闭评论
-
resin jvm 性能调试
Apr072008
-
Apache/resin log输出格式
Mar192008Apache 一般有两种日志格式:通用日志格式(Common Log Format) 和 组合日志格式(Combined Log Format) http.conf中默认格式如下:LogFormat “%h %l %u %t \”%r\” %>s %b” commonLogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-age ...
阅读全文Apache/resin log输出格式已关闭评论
-
resin 单点压力测试
Mar172008
-
proxool与hibernate配置
Mar132008proxool 介绍请看: http://proxool.sourceforge.net/ you can download here! http://proxool.sourceforge.net/download.html 我的hibernate采用properties方式配置,下面介绍我做的两种配置: ========================配置一:使用proxool.properties 设置proxool的监控servlet web.xml <servlet> <servle ...
阅读全文proxool与hibernate配置已关闭评论
-
resin error — java.lang.IllegalStateException: sendError() forbidden after buffer has been committed.
Mar052008today My Resin’s log has some error. make me mass. My site Use Resin3.1.3+Struts2+Hibernate3+oracle10g … the website reports the error code of 500 500 Servlet Exceptionjava.lang.IllegalStateException: sendError() forbidden after buffer has been committed.&n ...
阅读全文
-
set resin-status in resin’s config
Feb012008
-
resin3使用的一些体会
Jan202008因为要做泛解析,单独使用resin2,配置过程中好像有点问题,resin.conf的配置没有关于host的正则表达式。 resin3在解析静态和jsp文件方面已经做的不错了,但是resin3和apache2的配合始终做的不好,我试过了多个apache2的版本,都无法跟resin3配合起来一起使用,倒是resin2的版本可以做到。 因此我一直使用resin3.1.3单 ...
阅读全文作者:2hei | 分类:OpenSource, resin | 阅读:4,115 viewsresin3使用的一些体会已关闭评论
-
部署resin3的一些注意事项
Nov182007一直使用resin2.x版本,不过一直没有太多深入研究,最近在升级resin3版本时遇到很多问题,无意中发现一些大的网站后台也在使用resin,具体是谁我这里就不详细说明了,不过看到的都是比较老的版本,2.1.3甚至更老的2.0.4,配置了负载,并且与apache结合使用。 下面是从resin3文档在linux下使用时总结的一些东西: Depl ...
阅读全文部署resin3的一些注意事项已关闭评论