Unix Technical Forum

Error creating connection using postgres

This is a discussion on Error creating connection using postgres within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> Hi, Iam trying to create a XA connection pool using postgres driver (postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2008, 02:03 PM
Sanjay Thomas
 
Posts: n/a
Default Error creating connection using postgres


Hi,

Iam trying to create a XA connection pool using postgres driver
(postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin
Console.



I have provided the following info in the JDBC config



Driver Class Name: org.postgresql.xa.PGXADataSource.
JDBC URL: jdbcostgresql://192.168.192.112:5432/sample1
UserName: postgres
Password: Postgres


When I click Test Driver Configuration. Iam getting the following error
"FATAL: database "null" does not exist"

if i change the Driver Class Name to "org.postgresql.Driver", it is
working fine. But as iam trying to create XA datasource i need to use
the XA Driver class name.

Can someone tell me how to resolve this issue?

The postgres version iam using is 8.3.1



Regards,

Sanjay



This email message and its attachments may contain CONFIDENTIAL ANDPRIVILEGED INFORMATION intended for the sole use of the addressee(s). Ifyou have received it in error, please contact the sender by return email,notify your system manager and destroy the original message and any copiesthereof. Any review, use, disclosure or distribution is unlawful. Pleasecheck this email and any attachments for the presence of viruses. TheCompany accepts no liability for any damage caused by any virustransmitted by this email. The views or opinions presented in this e-mailare solely those of the author and do not necessarily represent those ofthe company.
The Company reserves the right to monitor, review and store the content ofall messages sent to or from this e-mail address.

www.aztecsoft.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com