I have DbForms 2.4 and I haven;t been able to get the bookstore example to work. I tried using Postgresql and Oracle 9 without success. I downloaded hsqldb and installed. There are two scripts in the hsqldb directory (bookstore.script and create_tables.sql) and I'm unsure which to use.
Now, I'm trying a very simple example from my real database by following the sample application in the manual.
I'm getting an exception whose root cause is
java.lang.Exception: Table EVENT_TYPE not found in configuration org.dbforms.taglib.DbFormTag.setTableName(DbFormTag.java:685) org.apache.jsp.index_jsp._jspService(index_jsp.java:99)
(more)
It does not seem to be related to the dbconnection element and I don't see anything wrong.
I'm running under Tomcat 5.0.16 (which works fine for all of my other servlet applications). The exception seems to indicate that the index.jsp servlet isn't finding the dbforms-config.xml information. There is nothing in Catalina.out (or other Tomcat long file) that seems to indicate a problem.
I've rechecked my configuration many times and tried varying everything that isn't totally clear but I'm still getting nowhere.
I've had some conflicts with jar files used in Tomcat and in DbForms and I'm wondering whether that is the source of all of my problems.
Specifically, commons-logging in the dbforms distribution seems to cause conflicts if it is in my web application lib directory. I know this package is also used by tomcat (as are several others such as Xerces).
The installation documentation (section 4.3) lists jar files I don't have such as cos.jar and jakarta-oro. Is there an up-to-date list of what needs to be in lib?
Help! Thanks.
Paul Anderson
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms