Eclipse Tomcat 4 月份
我使用 Tomcat 6.0.32 作为独立版本 - APR 加载没有问题。 但是当在 Eclipse 中安装相同并运行 - apr 时找不到。 可能是什么原因? 谢谢。
I use Tomcat 6.0.32 as standalone - APR load without problems.
But when install the same in Eclipse and run - apr not found.
What can be the reason?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
是的,我同意塔尔的观点。 tomcat进程必须找到共享库。在 Linux 上,您可以使用 LD_LIBRARY_PATH 环境变量来实现此目的。
服务器->点击你的tomcat ->概述->单击“打开启动配置”
->选项卡“环境”->新...
顺便说一句,如果你想使用 tomcat NIO 连接器,你必须在“服务器路径”中编辑“conf/server.xml”。如果您使用“使用工作区元数据”(概述),您的更改将不时被覆盖。
Yes, I agree with Tal. The shared library must be found by the tomcat process. On Linux, you can use the LD_LIBRARY_PATH environment variable for this.
Servers -> Click on you tomcat -> Overview -> Click on 'Open launch configuration'
-> Tab 'Enviroment -> New...
BTW, if you want to use the tomcat NIO connector, you have to edit 'conf/server.xml' in the 'server path'. If you use 'Use workspace metadata' (Overview), your changes will get overridden from time to time.
在 Eclipse 中 Tomcat 服务器的运行配置中添加 VM 参数。
Add a VM argument in Run configuration for Tomcat server in eclipse.
因为Eclipse改变了Tomcat的配置
Because Eclipse change configuration of Tomcat
您必须将 tcnative dll 所在的文件夹放入路径中并重新启动 eclipse。
通常它在 tomcat 的 bin 文件夹中。
请参阅链接:http://snipplr.com/view/50950/
you must put the foldre in which the tcnative dll resides in the path and restart eclipse.
usually it's in tomcat's bin folder.
see link : http://snipplr.com/view/50950/