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).

Lets try these steps first to see what happens.

cheers,

Paul Smith

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to