When I try to connect to Postgresql /7.2.3/ from EOModeler /Webobjects
5.1.4/ I am getting the following message:
Connection Failure
JDBC connection failed for driver :'org.postgresql.Driver'. Driver not
found in Java Runtime! Please verify your CLASSPATH environment
variable. The current CLASSPATH for your application is :
/Developer/Applications/EOModeler.app/Contents/Resources/Java/
eomodeler.zip:/Users/janos/Library/Java:/Library/Java:/System/Library/
Java:/Network/Library/Java:/System/Library/Frameworks/JavaVM.framework/
Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/
Classes/ui.jar:/Developer/Applications/EOModeler.app/Contents/
Resources/Java/eomodeler.zip
I compiled postgresql with the --with-java option. I am using the
following parameters when I try to connect:
user: postgres
password: postgres
URL: jdbc:postgresql:test
If I specify the driver as org.postgresql.Driver, the error message is
the same. In the console I can see the message:
Initializing PostgresqlPlugin
I downloaded the PosgresqlPluginBundle from softrack, compiled it and
placed the product into the /Developer/EOMBundles directory. I also
copied postgresql.jar into the /Library/java folder, so it is in the
CLASSPATH for EOModeler.
What should I do different ?
János
P.S. postgresql is running :) From top:
17261 postgres 0.0% 0:00.00 1 8 17 84K 1.61M 228K
13.4M
17260 postgres 0.0% 0:00.01 1 8 18 32K 1.61M 156K
14.4M
17259 postgres 0.0% 0:00.81 1 10 17 40K 1.61M 760K
13.4M