The latest log4j has made a incompatible change from the previous release version.
There are certain people who believe Axis should build against the absolute bleeding edge CVS code of our dependencies, which are currently log4j and wsdl4j, not against the jar files checked in to our tree. I am not one of those people. :-) The axis nightly builds are compiled against the log4j CVS tree. The axis YOU build in an axis CVS tree are build against the latest released version of log4j that is checked in to our tree. The upshot of this is if you either compile axis.jar using the log4j that you want to use (replacing the jar file found in xml-axis/lib) or download a nightly build from the Axis web site, you should be all set. -- Tom Jordahl Macromedia -----Original Message----- From: Chris Haddad [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 7:17 PM To: [EMAIL PROTECTED] Subject: Interop with Log4j Axis-dev - I'm attempting to use the main branch log4j code to obtain log4j.appender.SyslogAppender functionality (a file not in log4j-core.jar), but I'm running into an interop issue with Axis. Can the main branch versions of the two libraries to work together? If not, is there a good fallback position? When I perform a checkout and compile of the latest (main-branch) Jakarta-log4j code and attempt to use the resultant jar file with Axis, I receive a runtime exception. To replicate, checkout log4j, compile, then drop the log4j-1.2alpha7.jar into the /lib directory. A run of the Axis build through invocation of 'ant dist' will fail on the first functional-test. Here's the failure message: <failure message="Exception in constructor: testReverseString (java.lang.NoSuchMethodError at org.apache.axis.AxisEngine.<clinit>(Unknown Source) at test.RPCDispatch.TestRPC.<init>(Unknown Source) at java.lang.reflect.Constructor.newInstance(Native Method) at junit.framework.TestSuite.addTestMethod(TestSuite.java:102) at junit.framework.TestSuite.<init>(TestSuite.java:66) at junit.framework.TestSuite.addTestSuite(TestSuite.java:90) at test.RPCDispatch.PackageTests.suite(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) If I swap out the log4j.jar for only the distributed log4j-core.jar, all is well. Thanks for your help, /Chris ---------- Chris Haddad Cobia Communications - XML and Web Service Solutions 678 431 1656 mailto:[EMAIL PROTECTED] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com