my dog learned polymorphism
The moose likes Cattle Drive and the fly likes JDBC tuning up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "JDBC tuning up" Watch "JDBC tuning up" New topic

JDBC tuning up

Carol Murphy
village idiot

Joined: Mar 15, 2001
Posts: 1202
I'm finally getting the JDBC assignments transferred over to WindowsXP from Windows98, and in the process, also managed to install the jre1.6.0_05. So when I tried to do the ffbuild, I got a complaint that tools.jar was missing. Took care of that. Now on the second try, I get a complaint that db.driver.jar must be defined, preferably in config/ So I check, and it says I can define my build propeties in one 3 places. I have mine in my home directory, but I would like to do the preferred method. So, 2 questions:

1) The userid would be the userid I use to logon to Windows?
(which I don't use, so I'm not sure what it is.......)
2) The content of my file must be lacking the
definiton of db.driver.jar, so I'd have to add that anyway, even
if I left where it is...
The current contents of my file contains the following 2 lines:

deploy.dir=/Program Files/orion/applications
sql.dir=/Program Files/Java/videos/src/db

I need to add the location of db.driver.jar to these ?
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
userid/password is the userid/password for mySql. You might remember reading this thread long ago.

My properties file does not contain the sql.dir property.
You can also define a property as empty by leaving it blank after the equals sign (e.g. db.password= )

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Carol Murphy
village idiot

Joined: Mar 15, 2001
Posts: 1202
Thanks, Marilyn!
Defining all the missing properties with just an equals sign worked.....
At least for now.
The build was successful. Had to go back to work today, so my time is at a premium again. Will look at this tomorrow when I'm fresh.
I agree. Here's the link:
subject: JDBC tuning up
It's not a secret anymore!