i'm sorry but my last response was not entirely clear.
it *also* worked with 1.2.4 (which is why i mentioned that i did not change from Category to Logger). because of time constraints i did not push the testing very far. if you like, i will try later today or early next week to do a complete switch to see if it makes a difference. cheers --e-- On Fri, 21 Jun 2002 01:30:44 +0200, Ceki Gülcü wrote: > > > Whether you use Category or Logger is not consequential. The fact that > 1.2.1 works for you confirms my suspicions about multiple copies of > log4j.jar available to more than one classloader. > > At 19:13 20.06.2002 -0400, Edward Q. Bridges wrote: > >i've switched to htat, and indeed did not get any errors. > > > >however, i only changed the calls to assert() to assertLog() since there were > >many and my time was pressed, and that allowed for things to compile. i > >did not > >change the global instance to Logger from Category. > > > >if you think it's important to do that change as well for the test, let me > >know. > >i will do my best, but i'm under a lot of pressure to fix other things > >right now > >. . . 1.1.3 works, so the general consensus here is "don't mess with it." > > > >hope this helps > > > >best regards > >--e-- > > > > > > > >On Fri, 21 Jun 2002 00:08:50 +0200, Ceki Gülcü wrote: > > > > > > > > The ClassCastException of RollingFileAppender to an Appender makes it > > > pretty clear that we are dealing with a classloader problem. One thing > > > that changed between log4j 1.2.1 and 1.2.2 is that in the latter > > > version log4j will use the Thread Context Classloader (TCL) to load > > > classes. (Log4j 1.1.3 does not use the TCL either). > > > > > > You can download 1.2.1 at > > > > > > http://jakarta.apache.org/log4j/jakarta-log4j-1.2.1.tar.gz > > > > > > Please try to use 1.2.1 to check whether my TCL hypothesis is correct. > > > > > > At 17:53 20.06.2002 -0400, Edward Q. Bridges wrote: > > > >Nope :) > > > > > > > >see below. > > > > > > > >note that ant copies log4j.jar and others from $SERVER_HOME/tslib to > > > >$SERVER_HOME/applications/ts2/WEB-INF/lib > > > >and then weblogic works its wonders and puts it's own special copy in > > > >$SERVER_HOME/applications/ts2/WEB-INF/ > > > >_tmp_war_edAdmin_edAdmin_ts2/WEB-INF/lib/ > > > > > > > >this is representative. the jar file you see below is actually the 1.1.3 > > > >version. i had to rollback to the > > > >earlier version so that i could continue working. but, i assure you i > > did > > > >not remove any jar files manually > > > >from any of those places. the only place i touch is "tslib," scripts > > and > > > >weblogic take care of the other > > > >places. we do no manipulation at all of /jre/lib/ext nor the classpath. > > > > > > > >this setup has run flawlessly with 1.1.3. but, not with 1.2.4 (yet!). > > > > > > > >many thanks! > > > > > > > >cheers > > > >--e-- > > > > > > > > > > > > > > > > > > > >On Thu, 20 Jun 2002 23:36:42 +0200, Ceki Gülcü wrote: > > > > > > > > > > > > > > I bet you have multiple copies of log4j.jar in the classpath, > > WEB-LIB or > > > > > JAVA_HOME/jre/lib/ext. Correct? > > > > > > > > > > > > > > > > >bash-2.03$ echo $CLASSPATH > > > >/d01/bea/wlserver6.1/patch/CR058352_ > > > > > >61sp2.jar:/d01/bea/jdk131/lib/tools.jar:/d01/bea/wlserver6.1/lib/weblogic_sp.jar > >:/d01/bea/wlserver6.1/lib/weblog > > > >ic.jar > > > >bash-2.03$ ls $JAVA_HOME/jre/lib/ext > > > >bash-2.03$ ls -la $JAVA_HOME/jre/lib/ext > > > >total 3 > > > >drwxr-xr-x 2 xxxxxxxx xxxx 512 Nov 14 2001 ./ > > > >drwxr-xr-x 11 xxxxxxxx xxxx 2048 Nov 14 2001 ../ > > > >bash-2.03$ ls -la $SERVER_HOME/tslib/ > > > >total 25926 > > > >drwxrwxr-x 2 xxxxxxxx xxxx 512 Jun 20 16:10 ./ > > > >drwxrwxr-x 16 xxxxxxxx xxxx 2560 Jun 20 17:25 ../ > > > >-rwxr--r-- 1 xxxxxxxx xxxx 20454 Dec 24 16:34 commons- > >beanutils.jar* > > > >-rwxr--r-- 1 xxxxxxxx xxxx 58798 Jul 14 2001 > > > >commons-collections.jar* > > > >-rwxr--r-- 1 xxxxxxxx xxxx 191881 Apr 26 11:08 jaxen-full.jar* > > > >-rw-rw-r-- 1 xxxxxxxx xxxx 126886 Mar 25 12:57 jdom.jar > > > >-rwxr--r-- 1 xxxxxxxx xxxx 158892 Mar 19 15:37 log4j.jar* > > > >-rwxr--r-- 1 xxxxxxxx xxxx 23563 Apr 26 11:08 saxpath.jar* > > > >-rw-r--r-- 1 xxxxxxxx xxxx 220703 May 3 11:13 soap.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 3726 Jun 18 12:21 startup.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxxx 25665013 Mar 25 13:29 weblogic.jar > > > >bash-2.03$ ls -la $SERVER_HOME/applications/ts2/WEB-INF/ > > > >total 18 > > > >drwxr-xr-x 5 xxxxxxxx xxxx 512 Jun 20 16:27 ./ > > > >drwxr-xr-x 3 xxxxxxxx xxxx 512 Jun 20 16:26 ../ > > > >drwxr-xr-x 3 xxxxxxxx xxxx 512 Jun 20 16:27 > > > >_tmp_war_edAdmin_edAdmin_ts2/ > > > >drwxr-xr-x 3 xxxxxxxx xxxx 512 Jun 20 16:26 classes/ > > > >drwxr-xr-x 2 xxxxxxxx xxxx 512 Jun 20 16:26 lib/ > > > >-rw-r--r-- 1 xxxxxxxx xxxx 12582 Jun 20 16:26 web.xml > > > >bash-2.03$ ls -la $SERVER_HOME/applications/ts2/WEB-INF/lib/ > > > >total 836 > > > >drwxr-xr-x 2 xxxxxxxx xxxx 512 Jun 20 16:26 ./ > > > >drwxr-xr-x 5 xxxxxxxx xxxx 512 Jun 20 16:27 ../ > > > >-rw-r--r-- 1 xxxxxxxx xxxx 20454 Jun 20 16:26 > > commons-beanutils.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 58798 Jun 20 16:26 > > > >commons-collections.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 191881 Jun 20 16:26 jaxen-full.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 126886 Jun 20 16:26 jdom.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 158892 Jun 20 16:26 log4j.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 23563 Jun 20 16:26 saxpath.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 220703 Jun 20 16:26 soap.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 3726 Jun 20 16:26 startup.jar > > > >bash-2.03$ ls -la > > > >$SERVER_HOME/applications/ts2/WEB-INF/_tmp_war_edAdmin_edAdmin_ts2/WEB- > >INF/lib/ > > > >total 836 > > > >drwxr-xr-x 2 xxxxxxxx xxxx 512 Jun 20 16:27 ./ > > > >drwxr-xr-x 3 xxxxxxxx xxxx 512 Jun 20 16:27 ../ > > > >-rw-r--r-- 1 xxxxxxxx xxxx 20454 Jun 20 16:27 > > > >commons-beanutils22525.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 58798 Jun 20 16:27 > > > >commons-collections22527.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 191881 Jun 20 16:27 > > jaxen-full22522.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 126886 Jun 20 16:27 jdom22524.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 158892 Jun 20 16:27 log4j22523.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 23563 Jun 20 16:27 saxpath22528.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 220703 Jun 20 16:27 soap22526.jar > > > >-rw-r--r-- 1 xxxxxxxx xxxx 3726 Jun 20 16:27 startup22521.jar > > > > > > > >-- > > > >Edward Q. Bridges > > > >http://www.teachscape.com > > > > > > -- > > > Ceki > > > > > > > > > -- > > > To unsubscribe, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > >-- > >Edward Q. Bridges > >http://www.teachscape.com > > -- > Ceki > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Edward Q. Bridges http://www.teachscape.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>