Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 95782 invoked from network); 16 Oct 2008 18:05:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 18:05:17 -0000 Received: (qmail 92593 invoked by uid 500); 16 Oct 2008 18:05:15 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 92571 invoked by uid 500); 16 Oct 2008 18:05:15 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 92560 invoked by uid 99); 16 Oct 2008 18:05:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 11:05:15 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.38.89] (HELO web50602.mail.re2.yahoo.com) (206.190.38.89) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Oct 2008 18:04:05 +0000 Received: (qmail 27863 invoked by uid 60001); 16 Oct 2008 18:03:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=U+2282hkkQNnZ1jcUTwXGR7MlCd5UAu55UbQR1WsVEdOz61RyI64zvXOi3SdHqzNrV5RPoVqeVERyaZdy7DjCCF4uX8j6wHLl1Eexg7gB5SwUde7vrx5dlom4VSXyKAqbbPXtqvnC5aYEHhSi9Da6KoYXPm7tLW+X5eLZd6KN2k=; X-YMail-OSG: egIoaOIVM1k9Sp9f37WbuSiTwbfy6tTEGGr72Ib.__EIvY8ZDAk1uM7QWQnAFxl82rsMwkC0fnKB24clwN9wBmV.UDPVByGCwntutHf9h.tbMfjym1JucnrG9GcAUzz2UslwiofIkYxCLxE445oFTQKUxqB2XqA9SqVoRfClAKFMgmTaj5DZvut6vVYJ Received: from [157.127.124.14] by web50602.mail.re2.yahoo.com via HTTP; Thu, 16 Oct 2008 11:03:41 PDT X-Mailer: YahooMailRC/1096.40 YahooMailWebService/0.7.247.3 Date: Thu, 16 Oct 2008 11:03:41 -0700 (PDT) From: Someone Subject: Re: installing chainsaw on redhat linux box To: Log4J Users List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2083534991-1224180221=:27569" Message-ID: <379264.27569.qm@web50602.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-2083534991-1224180221=:27569 Content-Type: text/plain; charset=us-ascii Glad to hear it! -Joe ----- Original Message ---- From: "Poythress, Lynn" To: Log4J Users List Sent: Thursday, October 16, 2008 10:59:11 AM Subject: RE: installing chainsaw on redhat linux box I just wanted to thank everyone for their help in this matter. I was able to successfully install the current JDK and get chainsaw up and running. Now that I know what I'm doing (sorta!) it's so much easier than I was making it. Anyway, thanks again to all who responded. Lynn Poythress -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 1:52 PM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box You have gcj binaries installed, probably by the default OS install. Uninstall the gcj binaries using whatever package manager was used to install them, download and install Sun's Java. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Poythress, Lynn [mailto:apoythre@skymail.csus.edu] Sent: Tuesday, October 14, 2008 1:42 PM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box So.... what does that mean? Thanks, Lynn Poythress -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 1:21 PM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box Oops...notice you're really running a VM from gcj, not a regular java vm from Sun.. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 1:11 PM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box Looks like a really old java version: java.lang.ClassNotFoundException: javax.xml.parsers.DocumentBuilderFactory Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Poythress, Lynn [mailto:apoythre@skymail.csus.edu] Sent: Tuesday, October 14, 2008 12:05 PM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box OK, I removed my /usr/local/bin/chainsaw directory and everything underneath it. I renamed the chainsaw.sh in /usr/local/etc. I put the comments back in the log4j.properties file. Essentially, I'm starting from scratch. I did just as you did. I downloaded the chainsaw-bundle.zip file. I placed it in my /usr/local/bin/chainsaw directory. I unzipped it. I did a chmod +x chainsaw.sh (which I kept in the /usr/local/bin directory). I tried to run it - ./chainsaw.sh. The screen print below is what I get - no GUI at all. I have no .chainsaw directory. It did not get created on my linux box, when I unzipped the chainsaw-bundle.zip file. /usr/local/bin/chainsaw is in my CLASSPATH My PC IP address is set in the DISPLAY variable - xxx.xx.xx.xxx:0 Do I need to uncomment the log4j.properties file? Do I need to change the CHAINSAW_CLIENT variable to something else? Do I need to put rest of the jar files (VFS, etc) back in /usr/local/bin/chainsaw? What am I missing? AAAGH! Thanks, Lynn Poythress [root@webcttnb chainsaw]# ./chainsaw.sh Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class : com.thoughtworks.xstream.io.xml.DomDriver at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so. 5.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at org.apache.log4j.chainsaw.ApplicationPreferenceModelSaver.loadSettings(o rg .apache.log4j.chainsaw.prefs.LoadSettingsEvent) (Unknown Source) at org.apache.log4j.chainsaw.prefs.SettingsManager.configure(org.apache.log 4j .chainsaw.prefs.SettingsListener) (Unknown Source) at org.apache.log4j.chainsaw.LogUI.main(java.lang.String[]) (Unknown Source) Caused by: java.lang.ClassNotFoundException: javax.xml.parsers.DocumentBuilderFa ctory not found in [file:jakarta-oro-2.0.6.jar, file:jmdns.jar, file:log4j-1.3al pha-7.jar, file:log4j-chainsaw-2.0alpha-1.jar, file:log4j-optional-1.3alpha-7.ja r, file:log4j-oro-1.3alpha-7.jar, file:log4j-smtp-1.3alpha-7.jar, file:log4j-xml -1.3alpha-7.jar, file:log4j-zeroconf.jar, file:xstream-1.1.2.jar, file:/usr/shar e/java/libgcj-3.4.6.jar, file:./, core:/] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5. 0.0) at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj .so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgc j.so.5.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0) at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, _Jv_Bytec odeVerifier) (/usr/lib/libgcj.so.5.0.0) at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0) at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0) at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0) at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5. 0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so. 5.0.0) ...4 more [root@webcttnb chainsaw]# -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 11:25 AM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box I just tried it on my Cent box..here's what I did: (download the chainsaw-bundle.zip file to a 'chainsaw' folder on my system, and from that folder): unzip chainsaw-bundle.zip chmod +x chainsaw.sh ./chainsaw.sh If this runs, adding other jars to the classpath in the script shouldn't keep Chainsaw from launching.. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Poythress, Lynn [mailto:apoythre@skymail.csus.edu] Sent: Tuesday, October 14, 2008 11:18 AM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box We have already modified the script to change directories to /usr/local/bin/chainsaw - since that's where all the jar files are located. It doesn't seem to help any. Is the CHAINSAW_CLIENT that's referenced in the log4j.properties file a variable? If so, what should go in it's place? Thanks, Lynn Poythress -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 11:10 AM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box Then you probably need to modify the script to include the path to chainsaw (it's probably assuming the script and the .jar files are in the unzipped structure - probably the same folder).. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Poythress, Lynn [mailto:apoythre@skymail.csus.edu] Sent: Tuesday, October 14, 2008 10:44 AM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box I did download the chainsaw shell script. It is in my /usr/local/etc/ directory. I guess I forgot to list that step in the previous email. If I try to run it by typing in "sh ./chainsaw.sh" I get nothing, not even the little GUI box. Thanks, Lynn Poythress -----Original Message----- From: Scott Deboy [mailto:sdeboy@comotivsystems.com] Sent: Tuesday, October 14, 2008 10:19 AM To: Log4J Users List Subject: RE: installing chainsaw on redhat linux box You're running the old version of Chainsaw - there's a chainsaw shell script in the 'standalone' download - run that. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 sdeboy@comotivsystems.com www.comotivsystems.com -----Original Message----- From: Poythress, Lynn [mailto:apoythre@skymail.csus.edu] Sent: Tuesday, October 14, 2008 9:48 AM To: log4j-user@logging.apache.org Subject: installing chainsaw on redhat linux box Hi, I'm trying to install chainsaw on a redhat linux system. Here is what I've done so far: I've downloaded the "standalone" ./sh - unix flavor of chainsaw into my /usr/local/bin/chainsaw directory. I've gone to the "Important Distribution Notes" section and downloaded the VFS, JMSReceiver and DBReceiver jar files into /usr/local/bin/chainsaw directory. I've modified the log4j.properties file of the application we are trying to monitor - but not sure I've done it correctly. Is the CHAINSAW_CLIENT referred to in the documentation just a variable name? If so, what should I be putting in its place? I've put /usr/local/bin/chainsaw and the directory that has the log4j.properties file into my CLASSPATH. When I try to run the chainsaw application I start it with the following command: java -D org.apache.log4j.chainsaw.Main I get a small (1x2 inch) GUI box that says CHAINSAW at the top. However, I cannot expand the box and the box appears to be empty - essentially useless. I've seen comments about a .chainsaw directory under /home/user - but I don't have one. Should I create one? Help! What am I doing wrong? Thanks so much for any help you can give me. Lynn Poythress --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --0-2083534991-1224180221=:27569--