Re: New to Glassfish with PostgreSQL



On 22 Feb, 14:48, Lew <l...@xxxxxxxxxxxxx> 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
.



Relevant Pages

  • Re: [ANN] Where is M13?
    ... > file that opens fine but has no application in it, ... As stated on the download page, ... Sounds like your browser is automatically expanding the jar file when it ... What OS and browser are you using? ...
    (sci.astro.amateur)
  • Re: Jar file download (and I use spammy signatures)
    ... > me that a JAR file is being downloaded with a rapidly progressing ... I quickly close the window. ... status bar noting the applet download. ... "certain public sites" so my supposition cannot be verified. ...
    (microsoft.public.win2000.general)
  • How to install jar files on SE700?
    ... With Nokia I've always been able to upload the jar file to webspace and then ... download the jar file to the phone via GPRS and then use it. ...
    (uk.telecom.mobile)
  • Downloading a file in Linux
    ... I use the following function to download a jar file from my website: ... URL url = new URL; ... URLConnection urlC = url.openConnection; ...
    (comp.lang.java.programmer)
  • Re: [ANN] Where is M13?
    ... > Bill Tschumy wrote: ... >> That's a curious question. ... As stated on the download page, ... Don't unzip the jar file. ...
    (sci.astro.amateur)