Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hi, I'm running jakarta-tomcat-4.1.29 and after changing the class.forname the servlet works fine, but, the spy.log is not getting created, nor getting any errors. I've done a search for the file and it does not exist on the system.
Have added to the Catalina.bat:
set CATALINA_OPTS=%CATALINA_OPTS% -Dsun.io.useCanonCaches=false -Dp6.home=C:\jakarta-tomcat-4.1.29\webapps\myapp\WEB-INF\lib
The class.forname is set as follows:
I am trying to use p6spy for Tomcat 6 for logging **sql**, also.
1. I am copy **p6spy.jar to Tomcat/lib**,
2. and copy **spy.properties to WEB-INF/classes**,
3. then modify xml-config file of application to use P6SpyDriver
4. and Modify the realdriver line in the **spy.properties**
I am don't edited TOMCATOPTS environment variable follows:
may be in this mistake!
After this my application i work, but the log-file don't created.
Hi there -
Sorry for the late response. I think I am the only one who has recently done anything with p6spy. I got some basic access to this project from the only original developer I could reach. Unfortunately, not full project admin access. So I have moved over to github for further development.
You are welcome to help out there by forking and then sending me a pull request.