Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
Quoting Joseph Shraibman <[EMAIL PROTECTED]>: > Jacob Kjome wrote: > > At 11:47 PM 5/11/2004 -0400, you wrote: > > > >> Joerg Baumgaertel wrote: > >> > >>> Hi all, > >>> because often requested, > >>> I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. > >>> You find the following documents > >>> - How to scan a Java webapplication > >>> http://jb2works.com/refscan/tomcat.html > >>> - How to scan Jakarta-Tomcat full-space > >>> http://jb2works.com/refscan/tomcatfull.html > >> > >> > >> I tried that, but when trying to run tomcat I got: > >> > >> Due to new licensing guidelines mandated by the Apache Software > >> Foundation Board of Directors, a JMX implementation can no longer > >> be distributed with the Apache Tomcat binaries. As a result, you > >> must download a JMX 1.2 implementation (such as the Sun Reference > >> Implementation) and copy the JAR containing the API and > >> implementation of the JMX specification to: > >> ${catalina.home}/bin/jmx.jar > >> > >> ...which confuses me, because jmx.jar is still where it always was. > >> Using the bootstrap.jar that came with tomcat works fine. > > > > > > If you use the latest version of Tomcat5, you'll find that this is not > > an issue. Download Tomcat-5.0.24. The implementation of JMX that said > > version of Tomcat comes with is MX4J which is open source so there is no > > problem anymore. > > > > Jake > > I am using 5.0.24, and jmx.jar is there. Tomcat works if I use the > Bootstrap.class that comes with it, but if I recompile Bootstrap.class > per the instructions on http://jb2works.com/refscan/tomcatfull.html it > suddenly gives me that error message. > > I can post the jar file if you think that will help. > No, I can't help you with recompile questions. I just know that previous versions of Tomcat required you to provide the JMX jar since they had been shipping the Sun implementation, and probably in violation of the license. For this reason, they removed jmx.jar, but they have added it back now that they use the MX4J implementation. I can't remember if this affected Tomcat-5.0.19 or alpha releases in between 5.0.19 and 5.0.24. All I can say is that, out of the box, 5.0.24 should work just fine. Jake - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
Hi, Come on people. Tomcat5 is built with MX4J because its license is now OK (and I modified the NOTICE file that ships with tomcat5 accordingly). If you want to recompile things to need to make sure your classpath is setup accordingly: either figure it out from the tomcat build file or nag Senor Baumgaertel to add instructions to his documents. It's just like the HttpScanner thing you mentioned: he didn't document the import statement for that class, but it's fairly obvious. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Joseph Shraibman [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 12, 2004 12:19 AM >To: Tomcat Users List >Subject: Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap >Profiling, Memory Leaks > >Jacob Kjome wrote: >> At 11:47 PM 5/11/2004 -0400, you wrote: >> >>> Joerg Baumgaertel wrote: >>> >>>> Hi all, >>>> because often requested, >>>> I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. >>>> You find the following documents >>>> - How to scan a Java webapplication >>>> http://jb2works.com/refscan/tomcat.html >>>> - How to scan Jakarta-Tomcat full-space >>>> http://jb2works.com/refscan/tomcatfull.html >>> >>> >>> I tried that, but when trying to run tomcat I got: >>> >>> Due to new licensing guidelines mandated by the Apache Software >>> Foundation Board of Directors, a JMX implementation can no longer >>> be distributed with the Apache Tomcat binaries. As a result, you >>> must download a JMX 1.2 implementation (such as the Sun Reference >>> Implementation) and copy the JAR containing the API and >>> implementation of the JMX specification to: >>> ${catalina.home}/bin/jmx.jar >>> >>> ...which confuses me, because jmx.jar is still where it always was. >>> Using the bootstrap.jar that came with tomcat works fine. >> >> >> If you use the latest version of Tomcat5, you'll find that this is not >> an issue. Download Tomcat-5.0.24. The implementation of JMX that said >> version of Tomcat comes with is MX4J which is open source so there is no >> problem anymore. >> >> Jake > >I am using 5.0.24, and jmx.jar is there. Tomcat works if I use the >Bootstrap.class that comes with it, but if I recompile Bootstrap.class >per the instructions on http://jb2works.com/refscan/tomcatfull.html it >suddenly gives me that error message. > >I can post the jar file if you think that will help. > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
Jacob Kjome wrote: At 11:47 PM 5/11/2004 -0400, you wrote: Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How to scan Jakarta-Tomcat full-space http://jb2works.com/refscan/tomcatfull.html I tried that, but when trying to run tomcat I got: Due to new licensing guidelines mandated by the Apache Software Foundation Board of Directors, a JMX implementation can no longer be distributed with the Apache Tomcat binaries. As a result, you must download a JMX 1.2 implementation (such as the Sun Reference Implementation) and copy the JAR containing the API and implementation of the JMX specification to: ${catalina.home}/bin/jmx.jar ...which confuses me, because jmx.jar is still where it always was. Using the bootstrap.jar that came with tomcat works fine. If you use the latest version of Tomcat5, you'll find that this is not an issue. Download Tomcat-5.0.24. The implementation of JMX that said version of Tomcat comes with is MX4J which is open source so there is no problem anymore. Jake I am using 5.0.24, and jmx.jar is there. Tomcat works if I use the Bootstrap.class that comes with it, but if I recompile Bootstrap.class per the instructions on http://jb2works.com/refscan/tomcatfull.html it suddenly gives me that error message. I can post the jar file if you think that will help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
At 11:47 PM 5/11/2004 -0400, you wrote: Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How to scan Jakarta-Tomcat full-space http://jb2works.com/refscan/tomcatfull.html I tried that, but when trying to run tomcat I got: Due to new licensing guidelines mandated by the Apache Software Foundation Board of Directors, a JMX implementation can no longer be distributed with the Apache Tomcat binaries. As a result, you must download a JMX 1.2 implementation (such as the Sun Reference Implementation) and copy the JAR containing the API and implementation of the JMX specification to: ${catalina.home}/bin/jmx.jar ...which confuses me, because jmx.jar is still where it always was. Using the bootstrap.jar that came with tomcat works fine. If you use the latest version of Tomcat5, you'll find that this is not an issue. Download Tomcat-5.0.24. The implementation of JMX that said version of Tomcat comes with is MX4J which is open source so there is no problem anymore. Jake BTW in your instructions you say to add: HttpScanner.start( startupInstance ); ... but what is really needed is: com.jb2works.reference.HttpScanner.start( startupInstance ); // <-- !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How to scan Jakarta-Tomcat full-space http://jb2works.com/refscan/tomcatfull.html I tried that, but when trying to run tomcat I got: Due to new licensing guidelines mandated by the Apache Software Foundation Board of Directors, a JMX implementation can no longer be distributed with the Apache Tomcat binaries. As a result, you must download a JMX 1.2 implementation (such as the Sun Reference Implementation) and copy the JAR containing the API and implementation of the JMX specification to: ${catalina.home}/bin/jmx.jar ...which confuses me, because jmx.jar is still where it always was. Using the bootstrap.jar that came with tomcat works fine. BTW in your instructions you say to add: HttpScanner.start( startupInstance ); ... but what is really needed is: com.jb2works.reference.HttpScanner.start( startupInstance ); // <-- !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks
Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How to scan Jakarta-Tomcat full-space http://jb2works.com/refscan/tomcatfull.html About the Reference Scanner itself, [From Announcement in c.l.j.p] The Reference Scanner Use this memory profiler .jar to inspect your running Java application from your web browser. Get heap snapshots and snapshot diffs. Find memory leaks. Analyze the reference graph for objects kept in memory. Do simulate Cuts for found memory leaks. Your application runs at normal speed. Does not require the JVM debug mode. Low memory consumption. The software is free downloadable. Only 810k .jar file. usage http://jb2works.com/refscan/usage.html screenshots http://jb2works.com/refscan/usage.html#heapprofile feature matrix http://jb2works.com/refscan/matrix.html download http://jb2works.com/refscan/status.html#status faq http://jb2works.com/refscan/faq.html junit http://jb2works.com/refscan/junit.html I would like to see you enjoying this software! Best regards, Joerg Baumgaertel, jb2works.com 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]