I had the same problem and I'm trying to remember how I fixed it. I do remember having a jre installed under c:\Program Files and maybe there was a problem with directory names having spaces in them. I reinstalled my jdk in c:, rechecked my classpaths, and then it worked. I thought I had to move tools.jar somewhere, but it turned out I didn't. Below are what I have for my classpaths:
AXISCLASSPATH c:\jdk1.5.0_03\lib;c:\axis-1.2.1\lib\axis.jar;c:\axis-1.2.1\lib\commons- discovery-0.2.jar;c:\axis-1.2.1\lib\commons-logging-1.0.4.jar;c:\axis-1. 2.1\lib\jaxrpc.jar;c:\axis-1.2.1\lib\saaj.jar;c:\axis-1.2.1\lib\log4j-1. 2.8.jar;c:\axis-1.2.1\lib\xml-apis.jar;c:\axis-1.2.1\lib\xercesImpl.jar; c:\axis-1.2.1\lib\wsdl4j-1.5.1.jar; CLASSPATH c:\jdk1.5.0_03\lib;c:\axis-1.2.1\lib\axis.jar;c:\axis-1.2.1\lib\commons- discovery-0.2.jar;c:\axis-1.2.1\lib\commons-logging-1.0.4.jar;c:\axis-1. 2.1\lib\jaxrpc.jar;c:\axis-1.2.1\lib\saaj.jar;c:\axis-1.2.1\lib\log4j-1. 2.8.jar;c:\axis-1.2.1\lib\xml-apis.jar;c:\axis-1.2.1\lib\xercesImpl.jar; c:\axis-1.2.1\lib\wsdl4j-1.5.1.jar; Hope this helps. Jan -----Original Message----- From: Thompson, Dave M. (IPG IT CP Arch) [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 4:16 PM To: [email protected] Subject: Log4j (and other) errors. Hi, Just installed axis and all sw needed to make it 'happy'. In working through the User Guide, cannot get any of the userguide samples to work. Always get 'WARN Please initialize the log4j system properly' and then some other error. Don't have a clue as to what is required; assumed that following the installation instructions would initialize everything correctly. Example 1: when trying to run sample/userguide/example1, I enter 'java samples.userguide.example1.TestClient' as instructed. The response is the log4j warning noted above and an AxisFault with a 404 return code. Not sure if the warning and the 404 are related. Example 2: 'java samples.userguide.example2.CalcClient -p8080 add 2 5 Got result : 7' results in the log4j warning and an AxisFault: no compiler found in your classpath! May need to add 'tools.jar'. Checked classpath and tools.jar is there. Can anyone help? Dave
