Re: Postgres
Re: Postgres
- Subject: Re: Postgres
- From: Philip Mötteli <email@hidden>
- Date: Wed, 29 Oct 2003 09:57:16 +0100
Hello
Am 29.10.2003 um 09:16 schrieb Ulrich Kvster:
it seems that the postgres jdbc driver is missing. Place a postgres
jdbc driver in /LibraryJava/Extensions.
Am 29.10.2003 um 09:27 schrieb Giorgio Valoti:
Your setup seems OK, it should just work... Are you sure that you have
placed the jar in the right place? You should put in, say,
~/Library/Java/Extensions not just ~/Library/Java
I have a jar file from postgres, called 'postgresql.jar'. When I load
that file in the JavaBrowser, I can see 'org.postgresql.Driver'. This
file, in order to be sure, I copied it already to
/Users/moetteli/Library/Java
/Library/Java
/System/Library/Java
and now, thanks to your proposition, into
/Library/Java/Extensions
/Users/moetteli/Library/Java/Extensions
But still EOModler says: "Connection Failure: JDBCPlugIn".
This message isn't very helpful and in the console isn't anything more
either.
(Postgres is still up and running and I can manipulate it from Webmin's
Postgres module.)
Thanks
Phil
I have Postgres freshly with Fink installed on Panther and try to use
Postgres with EOModeler.
I just don't get it. I downloaded and compiled
"PostgresqlPlugInBundle_1.2.gtar" and "PostgresqlPlugIn_1.2.gtar" from
<http://hexdreams.com/>. I put the EOMplugin into
"/Developer/EOMBundles/PostgresqlPlugIn.EOMplugin" and the framework
"/Library/Frameworks/PostgresqlPlugIn.framework".
I have copied the "postgres.jar" at every possible location of the
CLASSPATH and I have verfied, that postgres is up and running by
accessing it from Webmin and creating a DB.
Now, when I want to create a new EOModel in EOModeler, I have the JDBC
form to fill out:
Username: postgres
Password:
URL: jdbc:postgresql://127.0.0.1/template1
Driver:
PlugIn:
It doesn't matter, what I fill in for Driver or PlugIn: The name, the
name with its path and suffix, nothing at all. Depending on what I
fill
in, I have one of the following error messages:
"JDBC connection failed for driver
:'/Library/Frameworks/PostgresqlPlugIn.framework'. 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/moetteli/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"
or "No suitable driver" or
"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/moetteli/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"
What do I have to fill in or what do I have add somewhere, so that it
works?
Thanks!
Phil
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Postgres (From: Philip Mötteli <email@hidden>) |
| >Re: Postgres (From: Ulrich Köster <email@hidden>) |