Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 21928 invoked from network); 13 Jul 2004 03:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jul 2004 03:12:53 -0000 Received: (qmail 30899 invoked by uid 500); 13 Jul 2004 03:12:39 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 30873 invoked by uid 500); 13 Jul 2004 03:12:39 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 30860 invoked by uid 99); 13 Jul 2004 03:12:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [17.250.248.88] (HELO smtpout.mac.com) (17.250.248.88) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 12 Jul 2004 20:12:37 -0700 Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i6D3CO9L004740; Mon, 12 Jul 2004 20:12:24 -0700 (PDT) Received: from [192.168.1.102] (c-24-18-177-92.client.comcast.net [24.18.177.92]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id i6D3CMZt014783; Mon, 12 Jul 2004 20:12:23 -0700 (PDT) In-Reply-To: <71613EA0-D3B3-11D8-B941-000A95EED7F6@nall.com> References: <2D61D222-D2D6-11D8-A0F7-000A95D860F6@mac.com> <19e0530f0407110803472d49da@mail.gmail.com> <19e0530f0407111033247efe60@mail.gmail.com> <1F77C284-D37B-11D8-A0F7-000A95D860F6@mac.com> <71613EA0-D3B3-11D8-B941-000A95EED7F6@nall.com> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <74CDCB30-D47A-11D8-A0F7-000A95D860F6@mac.com> Content-Transfer-Encoding: 7bit Cc: axis-user@ws.apache.org From: Baiss Eric Magnusson Subject: Re: Get past Axis logging problem Date: Mon, 12 Jul 2004 20:12:21 -0700 To: Joe Nall X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello Joe, Thanks for your suggestion, it is a valid debugging step. I did as you suggested and got the correct result below, I believe the is there because I had embedded the into based upon an earlier suggestion. The error remains the same as before. > URL url = > this.getClass().getClassLoader().getResource("log4j.properties"); url-> jar:file:/Library/Java/Extensions/axis.jar!/log4j.properties All the files are in the same correct directory, they all have the same permissions -rw-r--r-- They are in group . The parts of Axis I have are identical on both my development machine, where Axis runs correctly; and the server, where it doesn't. On Jul 11, 2004, at 8:27 PM, Joe Nall wrote: >> I get a NoClassDefError on the following line >> private static Log log = >> LogFactory.getLog(BasicHandler.class.getName() ); >> of BasicHandler.java:43 > >> I have determined that Axis will not read on my >> server no matter where I put the file, nor does it say it is failing >> to >> read it, but maybe that's by design. > > Are you sure you don't have a permission problem on log4j-1.2.8.jar? > commons-logging.jar? > The directory it is in? > Where did you put the jar files? > What user is axis running under? > What container are you running in (Tomcat/JBoss/...)? Where is it > installed? I don't know how to answer the container question, from I simply click the checkbox and no error messages appear. > If you are sure all of that is correct - print the classpath at > runtime from the code and check again. > > Does something like this find log4j.properties in your runtime > environment? > URL url = > this.getClass().getClassLoader().getResource("log4j.properties"); > > Google for JWihch.java and use the guts to search for LogFactory in > your runtime class path > > I don't think your error has anything to do with log4j.properties, Java > version or operating sytem - it looks like you are missing some runtime > piece of commons logging or log4j. > > joe > > ---- Baiss Eric Magnusson