• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection to pointbase database  RSS feed

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(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at SampleDatabaseApplication.JDBCConnect(SampleDatabaseApplication.java:113)
at SampleDatabaseApplication.main(SampleDatabaseApplication.java:1939)
Hopes for a quick reply thanks iin advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!