• 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

Pointbase -- STUCK!!

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Java Gurus...

I've been attempting to create a connection to my local Pointbase database for quite some time now without any luck. I usually work with Oracle and have no problems, however, this one is giving me migranes!

Here is the code which I am using to attempt connection:

public void getConnection()throws Exception {

try{

// The PointBase Universal JDBC Driver

String l_driver = "com.pointbase.jdbc.jdbcUniversalDriver";

// Load the PointBase JDBC Driver

Class.forName(l_driver).newInstance();

// The URL for the sample PointBase database
String l_URL = "jdbc ointbase:server://localhost:9092/mydb";

// Database UserID

String l_UID = "myuname";

// Database Password

String l_PWD = "mypwd";

// Establish connection with the database and return a Connection object

conn = DriverManager.getConnection(l_URL, l_UID, l_PWD);

}
catch (Exception e){
System.out.println("Connection Error : " + e);
}
}

Can anyone detect what I am doing incorrectly? I am trying to access this javabean using a JSP page...which does not give me much of an error message to go on. I know that it is the javabean causing issues though because each time I try to make a call to the getConnection method, it fails.

Thanks in advance!
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"JJ JavaDrinker",

You have already been asked to adjust your display name to conform to JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Accounts with invalid display names are subject to closure.

bear
Forum Bartender
 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please accept my apologies..
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No apologies required. Thanks for responding quickly.
 
reply
    Bookmark Topic Watch Topic
  • New Topic