Hi Thierry,

that seems to be a problem when parsing the config file.
At that moment it is not tried to connect to database.

Where you find:

> New org.dbforms.util.DbConnection
> Set org.dbforms.util.DbConnection properties
> Call org.dbforms.DbFormsConfig.setDbConnection(DbConnection =
> name=jdbc/laDataBase,jndi=true,conClass=null,username=null)
> End event threw exception
> java.lang.NoSuchMethodException
>  at java.lang.Class.getMethod0(Native Method)
>  at java.lang.Class.getMethod(Class.java:888)

..it should be something like:

Pop org.dbforms.Table
New org.dbforms.util.DbConnection
Set org.dbforms.util.DbConnection properties
Call org.dbforms.DbFormsConfig.setDbConnection(DbConnection =
name=jdbc/dbformstest,jndi=true,conClass=null,username=null)
448 [main] INFO org.dbforms.DbFormsConfig  - ***** DBCONNECTION = DbConnection =
name=jdbc/dbformstest,jndi=true,conClass=null,username=null******
Pop org.dbforms.util.DbConnection

(I just tried it out by setting it in config.xml without
 configuring jndi stuff, so that is not neccessary at
 that moment)

Did you remove xerces.jar from your WEB-INF/lib directory?
Tomcat4 has one inside common/lib directory, that might conflict
with a second one. Does it work if you use a non-jndi connection?
If not, please compare libs with example applications. If yes,
how does your dbforms-config.xml exactly look like at the end?

Regards

Dirk

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
DbForms Mailing List

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

Reply via email to