Question of loading Native class "capjprof " in Tomcat5.5.20 2006-12-11 - By zh_hui@(protected)
Back Hi Everybody,
Now I encounter a problem about using Native class "capjprof" in Tomcat. It is a method to caculate CPU time in java application.
The link of "capjprof" is: http://www.javaworld.com/javaworld/javatips/jw-javatip92.html?page=1
Following the instruction in the above webpage, I add the file "capjprof.dll" to PATH environment variable, and add "-Xruncapjprof" to JVM argument to start Tomcat in Eclipse3.1. I am using sysdeo plug-in in Eclipse.
However, when starting Tomcat, the info message displayed: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
While I try the example of "capjprof" which is downloaded from http://www.javaworld.com/javatips/javatip92/capjprof.zip Everything is fine.
I have no idea how to load a native method in Tomcat. I need your suggestions. Thank you!
Regards,
Hui
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|