Correction!

This won't work in your case because you're trying to load an -XML- file over 
VFS, and we haven't written a receiver to do that - only regular text files are 
currently supported.

There is a LogFileXMLReceiver (in receivers companion) that will do the same 
thing that the menu item will do, but we don't yet have a VFSLogFileXMLReceiver.


Scott Deboy
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201

Telephone:      503.224.7496
Cell:           503.997.1367
Fax:            503.222.0185

[EMAIL PROTECTED]

www.comotivsystems.com



-----Original Message-----
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: Thu 3/27/2008 1:15 PM
To: Log4J Users List
Subject: RE: chainsaw 'sftp:/host/file.xml' is not a valid URL
 
You can't use 
File | Load Remote log4j file
to load a VFS-accessible file..you have to add a 'plugin' section to your 
chainsaw log4j.xml, or specify the receiver through the (clunky) receivers 
panel in the UI itself.

If you go to the Welcome tab, click on the 'view example receiver 
configuration' button and copy this file, remove all the plugins except the 
VFSLogFilePatternReceiverWithUserInfoPrompt plugin and change the values to 
match your environment.

Save the file off, make sure the URL to the chainsaw xml config file is 
specified in the 'automatic configuration URL' field in the 'view/show 
application-wide preferences' screen, then restart Chainsaw.  When Chainsaw 
starts, you should be prompted for the username and password needed to load the 
file.


Scott Deboy
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201

Telephone:      503.224.7496
Cell:           503.997.1367
Fax:            503.222.0185

[EMAIL PROTECTED]

www.comotivsystems.com



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 3/27/2008 7:54 AM
To: [email protected]
Subject: chainsaw 'sftp:/host/file.xml' is not a valid URL
 
I am trying to use chainsaw to open an sftp accessible remote xml log 
file. I am running on Windows XP.

This is what my .chainsaw/plugins looks like:

11/21/2007  07:28 PM            60,841 commons-logging-1.1.1.jar
08/23/2007  06:44 AM           373,438 commons-vfs-20070823.jar
12/29/2003  12:00 AM            65,261 jakarta-oro-2.0.8.jar
03/27/2008  09:41 AM           206,178 jsch-0.1.37.jar
03/27/2008  09:35 AM            13,477 log4j-chainsaw-vfs.jar

Chainsaw is logging a few warnings when it comes up:

Failed to locate Receiver class:org.apache.log4j.net.JMSReceiver
Failed to locate Receiver class:org.apache.log4j.db.DBReceiver
Failed to locate Receiver class:org.apache.log4j.db.CustomSQLDBReceiver
Failed to locate Receiver class:org.apache.log4j.xml.LogFileXMLReceiver

I am doing a File | Load Remote log4j file. The URL I am using is:

sftp://userid:[EMAIL PROTECTED]/home/wpsapsrv/batch/log4j.log.xml

I always get a dialog box
'sftp://userid:[EMAIL PROTECTED]/home/wpsapsrv/batch/log4j.log.xml' is not 
a valid URL.

I am a little confused as whether or not I have misconfigured, or if 
remote XML files are not supported by chainsaw, or if I still need the 
LogFileXMLReceiver to do this?

Can anyone help me figure out what I have done wrong?

Douglas E Wegscheid
Lead Technical Analyst, Whirlpool Corporation
(269)-923-5278

"A wrong note played hesitatingly is a wrong note. A wrong note played 
with conviction is interpretation."





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to