Hi,

I am using tdk2.1 and i am trying to create the sample application. I
have completed all configurations like creating tables, modifiying
build.properties etc., when u try to run the application i am getting
error like as follows.
---------------------------------------Error 1 Starts
here------------------------------------------------------------------
Exception:  java.lang.ClassNotFoundException: ${database/adaptor}
        Stack Trace follows:
        java.lang.ClassNotFoundException: ${database/adaptor}
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at
org.apache.turbine.util.db.adapter.DBFactory.<clinit>(DBFactory.java:109
)
        at
org.apache.turbine.util.db.pool.ConnectionPool.getDB(ConnectionPool.java
:395)
        at
org.apache.turbine.util.db.pool.ConnectionPool.<init>(ConnectionPool.jav
a:265)
        at .............
---------------------------------------Error 1 ends here
------------------------------------------------------------------

Regarding the database i am using DB2 database, i have mentioned the DB
driver name in the build.properties file like,

databaseUrl=jdbc:db2:SAMPLE
databaseDriver=COM.ibm.db2.jdbc.app.DB2Driver

but still i am getting the error message saying
COM.ibm.db2.jdbc.app.DB2Driver is not implmented

-------------------------------------------Error 2 start
here----------------------------------------------------------------
java.lang.InstantiationException: Database type
COM.ibm.db2.jdbc.app.DB2Driver not implemented.

-------------------------------------------Error 2 ends here
--------------------------------------------------------------

I have copied the db2java.zip file in the lib directory after rename the
same to .jar file.

It would be very useful for me if you could inform, is there any other
way to mention the db2java.jar file in our application.

Thanks & Regards,

Venkat





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to