Antville Help
Donnerstag, 17. April 2003

I can’t get MySQL to work???

Hi,

I read through everything posted here and at project.antville.org. MySQL support seems to be an easy task but I can’t get it to work. I keep getting the error:

Error in application 'antville': Error retrieving Node: java.sql.SQLException: Datasource is not defined: antville.

I did exactly what the guides say. I created the mysql tables (I didn’t even change the password for the antville account) and I changed the apps/antville/db.properties to contain:

antville.url=jdbc:mysql://localhost:3306/antville antville.driver=org.gjt.mm.mysql.Driver antville.user=antville antville.password=antville

I’m running a freshly installed version of Red hat 9.0 (I had RH8 before, same problem) and I have these modifications in my hop.sh file:

JAVA_HOME=/usr/java/j2re1.4.1_02/ JAVA_OPTIONS="-Djava.awt.headless=true" AJP13_PORT=8009

It seems to me that it can’t connect to mysql. I though maybe the script connects remotely so I even got mysql to work from a remote location. I can connect to the antville db from another machine and access all the tables etc. using a mysql client.

I even install mod_jk and got that working with my wierd version of apache 2.0 which didn't like the pre-compiled mod_jk!

Does anyone have any suggestions on how I can track down the problem?

Thanks for any help you can give me.

-Stefan

Sie sind nicht angemeldet