• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connection to pointbase database

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
regards
Qureshi
reply
    Bookmark Topic Watch Topic
  • New Topic