开发者

Eclipse Tomcat apr

开发者 https://www.devze.com 2023-03-24 17:36 出处:网络
I use Tomcat 6.0.32 as standalone - APR load without problems. But when install the same in Eclipse and run 开发者_运维百科- apr not found.

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.


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.


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

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

Eclipse Tomcat apr


Because Eclipse change configuration of Tomcat


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消