File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Connection to pointbase database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection to pointbase database " Watch "Connection to pointbase database " New topic

Connection to pointbase database

Yasir Qureshi
Ranch Hand

Joined: Apr 27, 2001
Posts: 44
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.
I agree. Here's the link:
subject: Connection to pointbase database