Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection to pointbase database

Yasir Qureshi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Please Help me JDBC GURUS, I am really stuck in getting connection from pointbase database, I ran the SampleDatbaseApplication class comes with pointbase4.3. My Autoexec.bat is as follows:
set PATH=c:\jdk1.3\bin
set CLASSPATH=.;c:\pointbase\lib\pbserver43.jar;c:\pointbase\lib\pbclient43.jar;c:\pointbase\lib\pbtools43.jar;c:\pointbase\lib\pbembedded43.jar
The Exception it shows is :
java.sql.SQLException: Database SAMPLE does not exist or cannot be found in database home \pointbase\databases specified either specify database.home=<folder> in pointbase.ini or use the <URL>;database.home=<folder> to indicate the database folder. pointbase.ini should be available in the current folder or you can specify the location for pointbase.ini with java -D roperty=value where "property" is pointbase.ini and "value" is <path>pointbase.ini.
at com.pointbase.dbexcp.dbexcpException.getSQLException(DashOB3242)
at com.pointbase.jdbc.jdbcConnection.<init>(DashOB3242)
at com.pointbase.jdbc.jdbcDriver.getConnection(DashOB3242)
at com.pointbase.jdbc.jdbcEmbeddedDriver.getConnection(DashOB3242)
at com.pointbase.jdbc.jdbcEmbeddedDriver.connect(DashOB3242)
at com.pointbase.jdbc.jdbcUniversalDriver.getConnection(DashOB3242)
at com.pointbase.jdbc.jdbcUniversalDriver.connect(DashOB3242)
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at SampleDatabaseApplication.JDBCConnect(
at SampleDatabaseApplication.main(
Hopes for a quick reply thanks iin advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic