Hi Roy, Please could you send your dbforms-config.xml?
Thanks, Henner > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] Im > Auftrag von McBrayer, Roy > Gesendet: Dienstag, 21. Januar 2003 19:35 > An: 'Matthew Stein' > Cc: '[EMAIL PROTECTED]' > Betreff: [dbforms] RE: cannot find Config object in > application context. > > > I think I have that added already unless it needs to go in > another location. Here is the dbforms part of my web.xml It > is in my ConfigServlet section at the beginning and is the > first init-param. Does it need to be somewhere else? It is > not working with this web.xml. > > Thanks, > Roy > ---------------------------------------------------- > <web-app> > <servlet> > <servlet-name>org.dbforms.ConfigServlet</servlet-name> > <servlet-class>org.dbforms.ConfigServlet</servlet-class> > <init-param> > <param-name>dbformsConfig</param-name> > > <param-value>/WEB-INF/dbforms-config.xml</param-value> > </init-param> > <init-param> > <param-name>dbformsErrors</param-name> > > <param-value>/WEB-INF/dbforms-errors.xml</param-value> > </init-param> > <init-param> > <param-name>resourceBundle</param-name> > <param-value>ApplicationResources</param-value> > </init-param> > <init-param> > <param-name>log4j.configuration</param-name> > > <param-value>/WEB-INF/log4j.properties</param-value> > </init-param> > <!-- optional --> > <init-param> > <param-name>digesterDebugLevel</param-name> > <param-value>1</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > <!--=========== DbForms Controller Servlet ==============--> > <servlet> > <servlet-name>control</servlet-name> > <servlet-class>org.dbforms.Controller</servlet-class> > </servlet> > <!--=========== DbForms FileServlet ===================== > ensure that "load-on-startup" is less than "load-on-startup" > element of Configuration Servlet! because we need to access > information from Configuration Servlet and therefore we must > start up AFTER Configuration Servlet..! > --> > <servlet> > <servlet-name>file</servlet-name> > > <servlet-class>org.dbforms.util.FileServlet</servlet-class> > <load-on-startup>2</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>control</servlet-name> > <url-pattern>servlet/control</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>file</servlet-name> > <url-pattern>servlet/file</url-pattern> > </servlet-mapping> > > -----Original Message----- > From: Matthew Stein [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 12:16 PM > To: McBrayer, Roy > Cc: '[EMAIL PROTECTED]' > Subject: RE: [dbforms] Maximum number of processes exceeded. > & cannot find Config object in application context. > > > Roy- > I received the same error in the course of using dbforms > 1.1.2 and 1.1.3 pr 1. If you add the init-param dbformsConfig > with the value of dbforms-config.xml to the dbforms servlet > section of web.xml, dbforms should start working. > > Hope this helps, > Matt > > -- Original Message -- > > >OK. Here is the error message that I think is at the root of my > >problems with the new DBforms version and config file. What > do I need > >to do to > fix > >this problem? I do not get this error with the 1.0.7 > version of Dbforms > >and the respective dbforms-config.xml. > > > >Thanks, Roy > > > >org.apache.jasper.JasperException: Troubles with DbForms config xml > >file: can not find CONFIG object in application context! > > > > > > > >org.apache.jasper.JasperException: Troubles with DbForms config xml > >file: can not find CONFIG object in application context! > check system > >configuration! check if application crashes on start-up! > > at > >org.apache.jasper.servlet.JspServletWrapper.service(JspServle > tWrapper.j > >ava: > 2 > >48) > > at > >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle > t.java:295) > > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > >org.apache.catalina.core.ApplicationFilterChain.internalDoFil > ter(Applic > >atio > n > >FilterChain.java:247) > > at > >org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl > icationFil > >terC > h > >ain.java:193) > > at > >org.apache.catalina.core.StandardWrapperValve.invoke(Standard > WrapperVal > >ve.j > a > >va:260) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardContextValve.invoke(Standard > ContextVal > >ve.j > a > >va:191) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.authenticator.AuthenticatorBase.invoke(Au > thenticato > >rBas > e > >.java:550) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardContext.invoke(StandardConte > xt.java:2415) > > at > >org.apache.catalina.core.StandardHostValve.invoke(StandardHos > tValve.jav > >a:18 > 0 > >) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorD > ispatcherV > >alve > . > >java:170) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor > tValve.jav > >a:17 > 2 > >) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardEngineValve.invoke(StandardE > ngineValve > >.jav > a > >:174) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter > .java:223) > > at > >org.apache.coyote.http11.Http11Processor.process(Http11Proces > sor.java:432) > > at > >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl > er.process > >Conn > e > >ction(Http11Protocol.java:386) > > at > >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpo > int.java:534) > > at > >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPoo > >l.ja > v > >a:530) > > at java.lang.Thread.run(Thread.java:479) > >----- Root Cause ----- > >java.lang.IllegalArgumentException: Troubles with DbForms config xml > >file: can not find CONFIG object in application context! > check system > >configuration! check if application crashes on start-up! > > at > org.dbforms.taglib.DbFormTag.setPageContext(DbFormTag.java:885) > > at > >org.apache.jsp.eligibilityresponse_jsp._jspService(eligibilit > yresponse_ > >jsp. > j > >ava:246) > > at > >org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > >org.apache.jasper.servlet.JspServletWrapper.service(JspServle > tWrapper.j > >ava: > 2 > >04) > > at > >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle > t.java:295) > > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > >org.apache.catalina.core.ApplicationFilterChain.internalDoFil > ter(Applic > >atio > n > >FilterChain.java:247) > > at > >org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl > icationFil > >terC > h > >ain.java:193) > > at > >org.apache.catalina.core.StandardWrapperValve.invoke(Standard > WrapperVal > >ve.j > a > >va:260) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardContextValve.invoke(Standard > ContextVal > >ve.j > a > >va:191) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.authenticator.AuthenticatorBase.invoke(Au > thenticato > >rBas > e > >.java:550) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardContext.invoke(StandardConte > xt.java:2415) > > at > >org.apache.catalina.core.StandardHostValve.invoke(StandardHos > tValve.jav > >a:18 > 0 > >) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorD > ispatcherV > >alve > . > >java:170) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor > tValve.jav > >a:17 > 2 > >) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:641) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.catalina.core.StandardEngineValve.invoke(StandardE > ngineValve > >.jav > a > >:174) > > at > >org.apache.catalina.core.StandardPipeline$StandardPipelineVal > veContext. > >invo > k > >eNext(StandardPipeline.java:643) > > at > >org.apache.catalina.core.StandardPipeline.invoke(StandardPipe > line.java:480) > > at > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > >org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter > .java:223) > > at > >org.apache.coyote.http11.Http11Processor.process(Http11Proces > sor.java:432) > > at > >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl > er.process > >Conn > e > >ction(Http11Protocol.java:386) > > at > >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpo > int.java:534) > > at > >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPoo > >l.ja > v > >a:5 > > > >-----Original Message----- > >From: Luca Fossato [mailto:[EMAIL PROTECTED]] > >Sent: Sunday, January 19, 2003 4:40 PM > >To: McBrayer, Roy > >Cc: '[EMAIL PROTECTED]' > >Subject: Re: [dbforms] Maximum number of processes exceeded. > > > > > >Hi Roy, > > > >What DbForms version are you using ? > >Try the 1.1.3pr1 version (dbforms-devel); there are a lot of > bug fixed > > >and the support for more connection pool libraries other than poolman > >(ie: jakarta commons dbcp and protomatter cp). > >Here's the release note: > >http://sourceforge.net/project/shownotes.php?group_id=17608&r > elease_id=1236 > 2 > >8 > > > > > >McBrayer, Roy wrote: > >> I am getting an error after opening several pages that > contain tables > >built > >> with DB forms. I get an > >> > >> ORA-00020 error Maximum number of Processes (150) exceeded. > >> > >> I assume that DB forms closes the connections it makes with the > >> database > >and > >> I do not need to do anything to close the connections on > each page. I > have > > > >Exactly; some issues about connections seems to be fixed in 1.1.3pr1 > >version. > > > >> tried to use a Tomcat datasource connection and it works for most > >> DBforms pages but causes one DBform's page to hang. After > it hangs, > >> none of > the > > > >previous dbforms versions have got some bugs related to Tomcat 4.1.x > >and > > > >its tag pooling facility. Fixed in 1.1.3pr1. > > > >> pages will work. So I am just using a standard JDBC > connection to an > >Oracle > >> database. > >> > >> I would prefer to use a Tomcat JNDI datasource connection > instead of > the > >> standard JDBC connection but I am not sure what could cause a > >> particular DBforms page to object to the datasource > connection. If > >> anyone is > willing > >> to look at the page, I'll send it to you. > > > >Is there any exception stacktrace or log information to inspect ? > > > >> > >> I am getting ready to send this to the client for testing > so any help > >anyone > >> can provide would be appreciated. > >> > >> Thanks, > >> Roy > > > > > >Regards, > >Luca > > > > > >------------------------------------------------------- > >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: 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
