Have you had looked in the tomcat log files too?
Could you debug the application to find out why the config file is'nt parsed
correct?
Henner
Henner,
Below is from the localhost_log. Strange thing is, file DbFormsConfig.java has less than 400 lines, but the error claims to be from line 447. Why is this?
I have been at this problem for almost 16 hours now. I must be missing something. What is the best strategy for debugging? How can I increase the debug level to get more meaningful messages?
Many thanks, Bill
2005-03-12 08:38:44 StandardContext[/manager]Manager: restart: Reloading web application at '/prayerdb'
2005-03-12 08:38:44 StandardContext[/prayerdb]config: finalizing
2005-03-12 08:39:12 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: No DbConnection object configured with name 'null'
at org.dbforms.config.DbFormsConfig.getConnection(DbFormsConfig.java:447)
at org.dbforms.taglib.DbFormTag.doStartTag(DbFormTag.java:2099)
at org.apache.jsp.eperson_005flist_jsp._jspService(eperson_005flist_jsp.java:117)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
From catalina.out:
[Loaded org.apache.jsp.eperson_005flist_jsp]
[Loaded org.dbforms.config.EventInfo]
20627 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navNew, navNew, org.dbforms.event.NavNewEvent] registered
20628 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navCopy, navCopy, org.dbforms.event.NavCopyEvent] registered
20628 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navGoto, navGoto, org.dbforms.event.datalist.GotoEvent] registered
20628 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navFirst, navFirst, org.dbforms.event.datalist.NavFirstEvent] registered
20629 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navLast, navLast, org.dbforms.event.datalist.NavLastEvent] registered
20629 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navNext, navNext, org.dbforms.event.datalist.NavNextEvent] registered
20629 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navPrev, navPrev, org.dbforms.event.datalist.NavPrevEvent] registered
20629 [http-8080-Processor21] INFO org.dbforms.event.EventFactory - ::addEventInfo - event info having
id, type, class [navReload, navReload, org.dbforms.event.datalist.ReloadEvent] registered
20634 [http-8080-Processor21] ERROR org.dbforms.taglib.DbFormTag - DbFormTag.doCatch called - java.lang
.IllegalArgumentException: No DbConnection object configured with name 'null'
java.lang.IllegalArgumentException: No DbConnection object configured with name 'null'
at org.dbforms.config.DbFormsConfig.getConnection(DbFormsConfig.java:447)
at org.dbforms.taglib.DbFormTag.doStartTag(DbFormTag.java:2099)
at org.apache.jsp.eperson_005flist_jsp._jspService(eperson_005flist_jsp.java:122)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Bill Tribley Gesendet: Freitag, 11. März 2005 02:05 An: 'dbforms' Betreff: Re: AW: [dbforms] dbconnection Problem
Henner, Unfortunately no. I used grep to search in all the directories for connect, the only hits were on the configuration files and the dbforms.tld . I got excited when I saw that the not working database url did not end in a slash, replacing and redeploying did nothing. Will keep hacking away. Bill
On Thu, 10 Mar 2005 21:17:00 +0100, Henner Kollmann <[EMAIL PROTECTED]> wrote:
> Seems that the default connection is not found in your application. > Do you find something like > addDbConnection - added the dbConnection In the not running > application? > > Cheers, > Henner > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms >
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms