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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]