Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pointbase -- STUCK!!

 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • 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!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Please accept my apologies..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No apologies required. Thanks for responding quickly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic