Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: New to Glas...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 3664 of 3876
Post > Topic >>

Re: New to Glassfish with PostgreSQL

by csharpdotcom <cmsharp01@[EMAIL PROTECTED] > Feb 22, 2008 at 11:41 AM

On 22 Feb, 14:48, Lew <l...@[EMAIL PROTECTED]
> wrote:
> csharpdotcom wrote:
> > I configured the server as given in the book, and specified the JNDI
> > name as "jdbc/mydb", and compiled the code provided, created a war
> > file and deployed it. Online I found a file called
> > "postgresql-8.3dev-601.jdbc4.jar.zip", copied it to my "/glassfish/
> > domains/domain1/lib/ext/" folder, as instructed and started the server
>
> I just checked the PG JDBC web site download page
> <http://jdbc.postgresql.org/download.html>
> and find no '.zip' files, only '.jar' files.  The only zipped (actually,
> GZIPped) file I see is the source distribution; presumably you only
downloaded
> the binary distribution.
>
> In any event, make sure that it is a JAR file in your path.  You might
use a
> ZIP program to view the contents to make sure that it is a proper JAR
file
> that you downloaded.
>
> --
> Lew

Thanks, well in fact I had downloaded the zipped file mentioned above
and unzipped it.  Anyway, I've replaced it with
postgresql-8.3-603.jdbc4.jar from the link you gave, and put it in my
glassfish/domains/domain1/lib/ext/ directory, but I still don't know
how to go from there and get the first example in chapter 10 of Geary
and Horstmann "Core JavaServer Faces" to work.  There is some
configuration I'm just not familiar with, as I'm new to this.
Incidentally I'm running Ubunto Linux.

Christopher
 




 5 Posts in Topic:
New to Glassfish with PostgreSQL
csharpdotcom <cmsharp0  2008-02-22 03:27:12 
Re: New to Glassfish with PostgreSQL
Lew <lew@[EMAIL PROTEC  2008-02-22 08:48:41 
Re: New to Glassfish with PostgreSQL
csharpdotcom <cmsharp0  2008-02-22 11:41:10 
Re: New to Glassfish with PostgreSQL
Lew <lew@[EMAIL PROTEC  2008-02-22 18:42:31 
Re: New to Glassfish with PostgreSQL
Silvio Bierman <sbierm  2008-02-23 09:22:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 23:36:27 CST 2008.