Skip site navigation (1) Skip section navigation (2)

jdbc connection from Eomodeler to postgresql 7.2.3

From: János Löbb <janos(dot)lobb(at)yale(dot)edu>
To: pgsql-novice(at)postgresql(dot)org
Subject: jdbc connection from Eomodeler to postgresql 7.2.3
Date: 2002-10-15 22:33:09
Message-ID: 14DBF052-E08E-11D6-96C8-000A27DD8970@janos.mail.yale.edu (view raw or flat)
Thread:
Lists: pgsql-novice
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



Responses

pgsql-novice by date

Next:From: Mel JameroDate: 2002-10-16 02:25:29
Subject: displaying records from X to Y
Previous:From: Thad HumphriesDate: 2002-10-15 20:59:29
Subject: where are the error codes?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group