Subject RE: [Firebird-Java] Firebird, JDBC and Tomcat
Author Bayu
RE: [Firebird-Java] Firebird, JDBC and Tomcat
Hi all,
 
Recently i just install JayBird and Tomcat with Track+ app
 
After instalation, calls http://localhost:8080/track and show the logon.jsp
 
I put username as admin  and password tissi ( default user and pass )
 
and errors occurs like this
 
    Database connection could not be established. This is most likely due to a wrong username/password and/or database driver in your Torque.properties file. Please have a look at the Administrators Guide or contact your system administrator.

Since the user and password is no changes i think the wrong user/pass will not ocurred

Here is my Torque.properties about connection to database

 

torque.database.default = track
torque.database.track.username = friedj
torque.database.track.password = tissi
#
#--------------------------------------------------------------------------
#
# In this section the driver for your database management system needs to
# be enabled. This depends on what kind of RDBMS (Interbase, MySQL, etc.)
# you have and possibly on what kind of operating system the database
# server is running. Of course, only one driver can be enabled at a time!
#
# 1) Interbase or Firebird on Windows 32
torque.database.track.driver =  org.firebirdsql.jdbc.FBDriver
torque.database.track.url = jdbc:firebirdsql:localhost:c:/data/TRACK.GDB

Connection test via JBuilder to track.gdb is done

Any comment are welcome

Thanks