What about commons-beanutils? DBForms fails when it's absent or corrupted.
How's it used in dbforms?

> -----Original Message-----
> From: Luca Fossato [SMTP:[EMAIL PROTECTED]]
> Sent: 21 February 2003 13:22
> To:   J M Okomba
> Cc:   'Dan Corkum'; '[EMAIL PROTECTED]'
> Subject:      Re: Subject: RE: [dbforms] java.lang.VerifyError: Cannot
> inherit from final class
> 
> Hi!
> 
> DbForms uses commons Digester component to process xml config files:
> http://jakarta.apache.org/commons/digester.html
> 
> To set the debug level: set the digesterDebugLevel init value into your 
> web.xml file:
> 
>    <!-- DbForms Configuration Servlet -->
>    <servlet>
>      <servlet-name>org.dbforms.ConfigServlet</servlet-name>
>      <servlet-class>org.dbforms.ConfigServlet</servlet-class>
> 
>      <init-param>
>        <param-name>log4j.configuration</param-name>
>        <param-value>/WEB-INF/Pow2Toolkit.properties</param-value>
>      </init-param>
> 
>      <init-param>
>        <param-name>digesterDebugLevel</param-name>
>        <param-value>0</param-value>
>      </init-param>
> 
>      <init-param>
>        <param-name>resourceBundle</param-name>
>        <param-value>resources</param-value>
>      </init-param>
> 
>      ....
> 
> 
> To have a better control for the "common" code log, you could use a 
> log4j "debug config" like that:
> 
> --- cut here --- --- cut here --- --- cut here ---
> log4j.category.org.dbforms=debug, stdout
> 
> # stdout Appender
> 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=%5p [%t] (%F:%L) - %m%n
> 
> # RollingFile Appender
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=e:/myProject/web/WEB-INF/log/myLog.log
> 
> log4j.appender.R.MaxFileSize=100KB
> # Keep one backup file
> #log4j.appender.R.MaxBackupIndex=1
> 
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%p %t %c%m%n
> --- cut here --- --- cut here --- --- cut here ---
> 
> Regards,
> Luca
> 
> 
> J M Okomba wrote:
> > I don't have much knowledge about how dbforms works internally but I
> thing
> > that it uses commons-beanutils, either to process the configuration
> files -
> > dbforms-config.xml,dbforms-errors.xml,validation.xml - or to process
> data
> > retrieved from the database.
> > 
> > DbForms normally logs the messages while it's processing the
> configuration
> > files. So, the first suspect is when I don't see the dbforms messages,
> or I
> > see unexpected messages. It means that there's a problem with one of the
> > libraries (missing or corrupt library) and hence dbforms 'blocks'.
> > 
> > Maybe current dbforms developers can provide more light on the use of
> > commons-beanutils in dbforms.
> > 
> > JM
> > 
> > 
> >>-----Original Message-----
> >>From:       Dan Corkum [SMTP:[EMAIL PROTECTED]]
> >>Sent:       19 February 2003 17:08
> >>To: [EMAIL PROTECTED]
> >>Subject:    Subject: RE: [dbforms] java.lang.VerifyError: Cannot inherit
> >>from final class 
> >>
> >>I just read your question/answer regarding this problem and I'm actually
> >>coming across the same issue right now.  How did you come to the
> >>conclusion
> >>that commons-beanutils was the problem?  Thanks.
> >>
> >>Dan
> >>
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> > The most comprehensive and flexible code editor you can use.
> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> > www.slickedit.com/sourceforge
> > _______________________________________________
> > DbForms Mailing List
> > 
> > http://www.wap-force.net/dbforms
> > 
> > 
> > 
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
DbForms Mailing List

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

Reply via email to