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