Problems about connection to a database

Hi!
I've imported a dynamic projects which connects to an old Cloudscape v5.1 database. It works fine, that means the different .jsp pages connect to the database and can work with it.
Now, I want to set up a new dynamic web project and work with the same database. I'm trying to set up a connection (through a datasource), but I always get an error!