Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3322475
By: woodchuck5

hihi Henner,

just to try, i commented out *all* logging within the DbForms api.  that is,
any instantiation of logCat variable like:

private static Log logCat = LogFactory.getLog();

and therefore also all calls using logCat.  i then recompiled this and deployed
this logless DbForms to my application and yet it *still* causes Exceptions
because the log4j.jar and commons-logging.jar is not in the ${Tomcat}/common/lib
folder.

i am at a loss, why does this happen even when there is no logging at all? 
i really want to be able to *not* have to place log4j.jar and 
commons-logging.jar
in ${Tomcat}/common/lib for using DbForms...

is it because some of the (many) other jar files that we also need to deploy
with DbForms require log4j.jar and the commons-logging.jar?

the following is what the error is:

org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: 
org.apache.commons.logging.impl.Log4JCategoryLog
(Caused by java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4JCategoryLog) (Caused by
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: 
org.apache.commons.logging.impl.Log4JCategoryLog
(Caused by java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4JCategoryLog))
        at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:543)
        at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:235)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
        at 
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
        at 
org.apache.catalina.valves.ValveBase.createObjectName(ValveBase.java:242)
        at 
org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.jav
a:296)
        at 
org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:233)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4045)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
59)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536
)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: 
org.apache.commons.logging.impl.Log4JCategoryLog
(Caused by java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4JCategoryLog)
        at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:397)
        at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:529)
        ... 29 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4JCategoryLog
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at 
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447
)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java
:435)
        at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:376)
        ... 30 more
Sep 1, 2005 5:28:25 PM org.apache.tomcat.util.digester.Digester endElement


any thoughts?

thanks in advance!

woodchuck

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=55830


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to