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

hihi Henner,

finally!  found the problem:

in ConfigServlet the initXMLValidator() function should comment the following:

      // Map the commons-logging used by commons-validator to Log4J logger
      try {
         System.setProperty("org.apache.commons.logging.Log",
                         
"org.apache.commons.logging.impl.Log4JCategoryLog");
      } catch (java.security.AccessControlException e) {
         logCat.warn("Unable map commons-logging to Log4j, due to
SecurityManager",
                     e);
      }

i had no idea that you could even do something like this.  System.setProperty()
overrided everything else i tried.  and this statement does not depend on any
import packages since it is just using hard-coded strings so it avoided my 
initial
mass commenting out all log statements attempts.

i'm not sure if other servlet containers will run into the same problem.  it
depends on how the classloading is designed for the container.  maybe it is
better to comment out this part of the code.  because each web application 
deployed
to a servlet container should be transparent to any of the other web 
applications
already installed.

once it was commented out, my whole Tomcat world was happy again.  :)  all my
other web apps were not disturbed by the DbForms web app anymore.  and i had
DbForms logging activated with the log4j.jar and commons-logging.jar deployed
to the WEB-INF/lib folder.


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