logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Someone <thisisafakeemaila...@yahoo.com>
Subject Re: installing chainsaw on redhat linux box
Date Thu, 16 Oct 2008 18:03:41 GMT
Glad to hear it!

-Joe

----- Original Message ----
From: "Poythress, Lynn" <apoythre@skymail.csus.edu>
To: Log4J Users List <log4j-user@logging.apache.org>
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


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message