Menu

Table not found in configuration

Help
2004-11-12
2013-06-03
  • Paul Anderson

    Paul Anderson - 2004-11-12

    I'm new to DbForms and I'm havng terrible difficulties.  Please help me to find my problems!

    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.  Now, I'm trying a very simple example from my real database by folling 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.

    I ran web.xml and dbforms-config.xml through an Xerces-based pretty printer and it did not detect any mal-formedness.  Is there a DTD or schema I could use?

    Can you give me a hint as to what could be wrong and how to find it or get more debug output?

    Help!  Thanks.

    Paul Anderson

     
    • Henner Kollmann

      Henner Kollmann - 2004-11-12

      What's the problem with bookstore? Is it running out of the boxk with the hsql database?
      If yes - why do it not run with oracle?
      Could you send the connection part of the config file?

      Tomcat 5.0.x works fine with dbforms.

      Could you ask your question in the mailing list so that more than one could help you?

      Cheers,
      Henner

       
    • Paul Anderson

      Paul Anderson - 2004-11-13

      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). 

      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?

      Thanks.

      Paul

       
      • Henner Kollmann

        Henner Kollmann - 2004-11-13

        Answered in the mailing list!

        Henner

         

Log in to post a comment.

MongoDB Logo MongoDB