Hi,
This is a CVS question.  I hope you have a good CVS GUI, but if not this
applies from the command line as well.

When you do a CVS checkout without specifying a branch or revision tag,
you get the HEAD copy which is the latest.  For log4j this is the latest
1.3 alpha code.  If you want 1.2.8, you need to specify its tag when
doing the CVS checkout.

Take a look at any log4j CVS file using your CVS GUI or Apache's ViewCVS
web front-end, e.g.
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4
j/BasicConfigurator.java

You would want to do a checkout using the PREALPHA_1_3_AS_OF_2004_05_12
tag and build from that.  That will get you the latest 1.2.8 hopefully
(to make sure you need to ask the person who tagged the repository
[which would be Ceki for this tag I believe] what the tag identifies).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Allistair Crossley [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, August 03, 2004 7:31 AM
>To: Log4J Users List
>Subject: Commons Logging breaks with log4j.1.3 alpha -> Caused by:
>java.lang.NoSuchFieldError: DEBUG
>
>Well, I managed to get my CVS working and I checked out log4j and
compiled
>using Ant, and it ended up giving me jars for log4j1.3 alpha rather
than a
>fixed 1.2.8 update (as you know i am looking for a fix for
>dailyrollingfileappender).
>
>Anyway, I have tried to use 1.3 alpha and thought i would let you know
that
>Tomcat 5 bombs out with the same problem all my own logs had which is
>
>Caused by: java.lang.NoSuchFieldError: DEBUG
>
>How do I do a checkout and compile of the latest 1.2.8 stuff?
>
>Cheers, ADC.
>
>** End of LogManager static initializer
>Aug 3, 2004 12:26:09 PM org.apache.commons.modeler.Registry
>registerComponent
>SEVERE: Null component
>Catalina:type=JspMonitor,WebModule=//localhost/,J2EEApplication=none,J2
EESe
>rver=none
>Aug 3, 2004 12:26:09 PM org.apache.commons.digester.Digester endElement
>SEVERE: End event threw exception
>java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at
>org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:
252)
>       at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
>       at org.apache.commons.digester.Rule.end(Rule.java:276)
>       at
>org.apache.commons.digester.Digester.endElement(Digester.java:1058)
>       at
>org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j
ava:
>76)
>       at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
>Source)
>       at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un
know
>n Source)
>       at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
spat
>cher.dispatch(Unknown Source)
>       at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own
>Source)
>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
>       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
>       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
>       at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
>       at
>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo
yer.
>java:488)
>       at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
>       at
>org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.jav
a:48
>2)
>       at
>org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
>       at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:964)
>       at
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
49)
>       at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>rt.java:119)
>       at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
>       at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
>       at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>       at
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
>       at
>org.apache.catalina.core.StandardService.start(StandardService.java:476
)
>       at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
>       at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
>       at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
>Caused by: java.lang.NoSuchFieldError: DEBUG
>       at
>org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:137)
>       at
org.apache.catalina.session.ManagerBase.init(ManagerBase.java:627)
>       at
>org.apache.catalina.session.StandardManager.start(StandardManager.java:
639)
>       at
>org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:49
9)
>       at
>org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.j
ava:
>315)
>       at
>org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)
>       at
>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.
java
>:216)
>       at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>rt.java:119)
>       at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:426
8)
>       at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
ava:
>823)
>       at
>org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>       at
>org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>       at
>org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDepl
oyer
>.java:903)
>       ... 38 more
>
>
><FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
>-------------------------------------------------------
>QAS Ltd.
>Developers of QuickAddress Software
><a href="http://www.qas.com";>www.qas.com</a>
>Registered in England: No 2582055
>Registered in Australia: No 082 851 474
>-------------------------------------------------------
></FONT>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to