This is my log4j.properties file.  I have tried it with and without this
file in place.

Roy


#begin log4j.props
#IMPORTANT -  Watch for trailing whitespaces after each statement!!!

#log4j.rootCategory=debug, stdout, logFile
#log4j.rootCategory=warn, stdout
log4j.rootCategory=warn, stdout
log4j.category.org.dbforms=warn

#out to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

#out to file
log4j.appender.logFile=org.apache.log4j.RollingFileAppender
#tomcat uses bin as current directory when writing log
log4j.appender.logFile.File=c:\log4j\iiv_log.txt
log4j.appender.logFile.MaxFileSize=100KB
log4j.appender.logFile.MaxBackupIndex=1

# Pattern to output the caller's file name and line number.
log4j.appender.logFile.layout=org.apache.log4j.PatternLayout
log4j.appender.logFile.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

#end log4j.props








-----Original Message-----
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:31 AM
To: dbf; McBrayer, Roy
Subject: Re: [dbforms] log4j troubles


what's in your log4j.properties file at /WEB-INF/log4j.properties?

My guess is that's what's causing the error.

I can't tell what throwing the error, but you can see the possibilities
here.

http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/imp
l/LogFactoryImpl.html

Shawn
----- Original Message -----
From: "McBrayer, Roy" <[EMAIL PROTECTED]>
To: "'Matthew Stein'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 5:46 AM
Subject: RE: [dbforms] Maximum number of processes exceeded.


> Yes, I downloaded each one from this location and made sure they were
going
> to the right directory.  I even went and got the latest versions from
> jakarta but 1.1.3pr gives me the "No suitable log constructor error" and
> Tomcat shuts down. 1.0.7 runs fine.
>
> Roy
>
> -----Original Message-----
> From: Matthew Stein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 2:33 PM
> To: McBrayer, Roy
> Subject: RE: [dbforms] Maximum number of processes exceeded.
>
>
> Roy,
> Do you have all the files specified in
> http://jdbforms.sourceforge.net/non-cvs/dependend/index.html?
> Their requirement isn't noted anywhere else (and that tripped me up for
> a while when I was setting up dbforms 1.1.3), and the error looks like
> dbforms
> is unable to find something in org.apache.commons.logging.
>
> Hope that helps,
> Matthew
>
> -- Original Message --
>
> >I went back and checked to make sure that I had all the latest commons
> >files.  I was missing commons-validator.  I added it . Now I get this
> error.
> >I would guess this means I have to change something in my logging setup.
> >
> >Thanks,
> >Roy
> >
> >Apache Tomcat/4.1.18
> >ConfigServlet::initLogging - log4j configuration str = [E:\Program
> >Files\Apache Group\Tomcat 4.1\bin
> >\..\webapps\iiv\/WEB-INF/log4j.properties]
> >0    [main] WARN  org.dbforms.ConfigServlet  - XML Validation file not
> >found, XML Validator handler
> >disabled!
> >0    [main] WARN  org.dbforms.ConfigServlet  -  Locale Key not setted,
> use
> >"org.dbforms.LOCALE" as k
> >ey to access the Locale in session scope.
> >org.apache.commons.logging.LogConfigurationException:
> >org.apache.commons.logging.LogConfigurationExc
> >eption: No suitable Log constructor [Ljava.lang.Class;@13beb5 for
> >org.apache.commons.logging.impl.Lo
> >g4JCategoryLog
> >        at
>
>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.j
> a
> >va:555)
> >        at
>
>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.j
> a
> >va:289)
> >        at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
> >        at org.apache.commons.digester.Digester.<init>(Digester.java:345)
> >        at
> >org.apache.catalina.realm.MemoryRealm.getDigester(MemoryRealm.java:278)
> >        at
> org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java:348)
> >        at
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3543)
> >        at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >        at
> >org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> >        at
> >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >        at
> >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> >        at
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >        at
> >org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
> >        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >        at java.lang.reflect.Method.invoke(Native Method)
> >        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, January 22, 2003 9:11 AM
> >To: McBrayer, Roy
> >Cc: [EMAIL PROTECTED]
> >Subject: Re: [dbforms] Maximum number of processes exceeded.
> >
> >
> >Hi Roy,
> >
> >the new dbforms version needs a set of new libraries respect to older
> >versions.
> >Did you replace all the dependency jars from the previous dbforms version
> >with
> >the new jars from the depend directory (check commons * from Apache.org)
> >?
> >
> >I'm using dbforms v1.1.3pr1 with tomcat 4.1.18 and jdk1.1.4 (full)
without
> >
> >problems...
> >
> >Regards,
> >Luca
> >
> >
> >> As noted in my prior e-mail, I tried to use the latest DBforms version
> >and
> >> cannot get Tomcat to read the dbforms-config.xml file.  So I tried
using
> >the
> >> new DBforms-config.xml with the older dbforms version and everything
> ran
> >> fine.  I then replaced the old dbforms jar with the new one and the app
> >> stopped working.  So, there is something relative to the new dbforms
> jar
> >> that is not working.  Do I need to give it another name than
> >> dbforms_v1_1_3pr1.jar?     I am at a loss as to why the new dbforms
> >version
> >> won't kick off the dbforms-config.xml but the old version had no
> problems.
> >>
> >> Any help is greatly appreciated.
> >>
> >> Thanks,
> >> Roy
> >>
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Scholarships for Techies!
> >Can't afford IT training? All 2003 ictp students receive scholarships.
> >Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> >www.ictp.com/training/sourceforge.asp
> >_______________________________________________
> >DbForms Mailing List
> >
> >http://www.wap-force.net/dbforms
> >
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> _______________________________________________
> DbForms Mailing List
>
> http://www.wap-force.net/dbforms
>


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
DbForms Mailing List

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

Reply via email to