Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server » Tomcat  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Apache Tomcat Native 1.1.15 released
scottding

十三部落酋长

CJSDN高级会员


发贴: 1054
积分: 101
于 2008-09-11 15:40 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
或许很多朋友没有注意到tomcat native这个东西,我也是最近才注意到这个东东。

网上是这样介绍的:
应用了tomcat native技术之后,tomcat在跟操作系统级别的交互方面可以做得更好,并且它更像apache,可以更好地作为一台web server。

如果我们是win32/wind64的操作系统,我们可以下载tcnative-1-ipv4.dll或tcnative-1-ipv6.dll,并把这些文件放在%TOMCAT_HOME%/bin目录下就可以了,这样tomcat会有更好的performance。

不过,只找到1.1.14的windows下编译好的dll,看看这里:
http://tomcat.heanet.ie/native/1.1.14/binaries/win32/

选择相应的操作系统,对于windows操作系统比较方便,直接下载dll文件,然后丢到tomcat的bin即可,而对于linux,需要按照document进行配置跟编辑才能使用。

看到这样的描述:
试了一下tomcat的启动,没有使用tomcat native技术进行启动,系统启动需要3秒多。而将tomcat native放到bin目录之后,启动飞快,一秒种搞定!

我今天晚上回家尝试。嘿嘿。



Blog   Home   @unumu

作者 Re:Apache Tomcat Native 1.1.15 released [Re:scottding]
scottding

十三部落酋长

CJSDN高级会员


发贴: 1054
积分: 101
于 2008-09-11 15:42 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
google了一下,带来更多的描述:

Apache Tomcat Native library 是干什么的呢?

这是 Apache 为了提升 Tomcat 的性能搞的一套本地化 Socket, Thread, IO 组件也就是说它有高级 IO 功能, 操作系统级别的功能调用, 以及本地进程处理等等, 这些都能使 Tomcat 更像一个 Web Server(像Apache那样), 而不是只能用来解释JSP, 也就是说提升单独的 Tomcat 作为服务器的吞吐性能。



Blog   Home   @unumu

作者 Re:Apache Tomcat Native 1.1.15 released [Re:scottding]
zerol

Soul of New Machine



发贴: 593
积分: 61
于 2008-09-11 22:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
thanks !

zerol edited on 2008-09-11 22:33

★☆ The Truth Lies Somewhere In The Middle ☆★ 
作者 Re:Apache Tomcat Native 1.1.15 released [Re:scottding]
davidself

猫哥

CJSDN高级会员


发贴: 1506
积分: 333
于 2008-09-12 11:29 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
一直在用
freebsd下的tomcat
启动后日志会有
Loaded APR based Apache Tomcat Native library 1.1.10.



--108的上铺--
davidself@twitter
作者 Re:Apache Tomcat Native 1.1.15 released [Re:davidself]
scottding

十三部落酋长

CJSDN高级会员


发贴: 1054
积分: 101
于 2008-09-12 19:35 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
davidself wrote:
一直在用
freebsd下的tomcat
启动后日志会有
Loaded APR based Apache Tomcat Native library 1.1.10.


哈哈,我只是最近才注意这个。
不过,现在目光都放在glassfish上面了。

昨天回家在ubuntu上搞了一下,果然很快,启动一下真的只要1m左右。强悍。



Blog   Home   @unumu

作者 Re:Apache Tomcat Native 1.1.15 released [Re:scottding]
davidself

猫哥

CJSDN高级会员


发贴: 1506
积分: 333
于 2008-09-16 07:59 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
打算有时间玩一下dms,最近rc2了。


--108的上铺--
davidself@twitter
作者 Re:Apache Tomcat Native 1.1.15 released [Re:davidself]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2008-09-18 17:33 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
刚刚看了一下,之前安装tomcat6里面已经内置了这个dll(1.1.10版本),更新了一下,不错~~
另外,找到了1.1.15版本,地址:
http://apache.siamwebhosting.com/tomcat/tomcat-connectors/native/1.1.15/binaries/win32/



内忧外患的时代,洗心革面,阿咪豆腐~

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923