Connection problems with PostgreSQL

Bob Langford <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Organization Silicon Masters Consulting, Inc.
Message-ID <[email protected]>
Hi,
   I'm new to Middlegen, just trying to get the sample app to
work with JBoss and Postgres.  I think I've got everything set
up right, but the 'create-tables' task fails because it can't
connect to Postgres.  I get 
   FATAL: Password authentication failed for user "aslak"

Yet, I can connect via the psql command just fine.  Also, if
I change the Postgres config (pg_hba.conf) to use "trust" instead
of "md5", it works fine from middlegen.  That's not going to 
be good enough, though.
I'm using the  URL
   jdbc:postgresql://localhost/airline
username=aslak, password=aslak
in the Middlegen database config file.  

I've turned on maximum Postres server logging, and it doesn't
show what password is actually being received, although it does
say that it received one.

Has anyone gotten this to work?  Or can you suggest any more debugging
steps to try?

I'm using Fedora Core 1, Postgres 7.3.4, Middlegen 2.0-VO, JBoss 3.2.4, 
and Sun JVM 1.4.2_04 

            Thanks!
-- 
Bob Langford,                   Silicon Masters Consulting, Inc.
[email protected]     http://www.silicon-masters.com/
phone:  804-674-1253                          fax:  804-745-7803



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.