Eclipse Tomcat 4 月份

发布于 2024-11-28 04:49:36 字数 92 浏览 5 评论 0原文

我使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

雾里花 2024-12-05 04:49:36

是的,我同意塔尔的观点。 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.

放我走吧 2024-12-05 04:49:36

在 Eclipse 中 Tomcat 服务器的运行配置中添加 VM 参数。

-Djava.library.path="D:\java\apache-tomcat-7.0.50\bin"

Add a VM argument in Run configuration for Tomcat server in eclipse.

-Djava.library.path="D:\java\apache-tomcat-7.0.50\bin"

嘿咻 2024-12-05 04:49:36

因为Eclipse改变了Tomcat的配置

Because Eclipse change configuration of Tomcat

城歌 2024-12-05 04:49:36

您必须将 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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文