I've done as suggested. It has worked smoothly, by manually configuring
the Appender in the app and the Receiver in Chainsaw.
So, as it was just a test of the "coolness" of the ZeroConf Chainsaw
feature, I'm not desperate to make it work. I dont have to manage dozens
of apps/logs (although it would be nice to add this feature to our JBOSS
server), so I can handle the appender/receiver configs manually.
But... just in case you're plenty of time to research a bit, what could
be done? Should a bug be reported? Looks like a problem with the
ZeroConf Appender, not easy to be resolved from the user side.
Thanks a lot for your time and helpful steps.
Paul Smith escribió:
Exception in thread "Thread-0" java.lang.NoSuchMethodError:
org.apache.log4j.spi.ComponentBase.access$701(Lorg/apache/log4j/net/
SocketHubAppender;)Lorg/apache/log4j/ULogger;
at org.apache.log4j.net.SocketHubAppender$ServerMonitor.run
(SocketHubAppender.java:392)
at java.lang.Thread.run(Thread.java:595)
I'm using Chainsaw v2 (version 2006-03-02 (SVN tag
'release_20060302')), and the jar libraries linked from the Chainsaw
web (log4j ZeroConf extension and JmDNS bundle).
I've tried with log4j 1.2.13 and 1.3 alpha8. None of them has the
method "access" implemented in "ComponentBase" class. I tried with
"ComponentBase" from the SVN repository, and the method wasn't there
neither.
This error actually doesn't sound like it's related to the ZeroConf-
extension itself, but I wouldn't mind first eliminating that to
confirm. Could you try the following?
1. Use log4j 1.2.13, and move aside the zeroconf extension jars
temporarily
2. In your log4j.xml on the application, change it back to a normal
SocketHubAppender instead of the ZeroConf+ version
3. Start up your desktop app
4. Inside Chainsaw, manually create a SocketHubReceiver to connect
directly to the remote application via the ip address and port #'s
identifying it.
My guess is that you will get exactly the same error message, and if
this is the case, then there is some binary dependency inside log4j
and the SL4j libraries (that's what the ULogger bit is).
--
Un Saludo,
Raúl Santiago Gómez
Virtual Software S.L.
[EMAIL PROTECTED]
"El programador crea aplicaciones a prueba de tontos; Dios crea tontos a prueba de
programadores"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]