Re: postgresql + jboss

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: alexis <alexissolanas(at)netscape(dot)net>
Cc: "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql + jboss
Date: 2003-06-17 16:19:13
Message-ID: 20030617171913.A16395@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 17/06/2003 16:23 alexis wrote:
>
> hi everybody,
>
> i'm newbie with postgre, and i don't know hot to connect it to jboss
>
> i have postgre 7.3.2 and jboss 3.0.4 + tomcat 4.0.6
>
> i've been looking for documentation on how to connect the database and
> the j2ee server,
> but i was unable to find anything useful.
>
> can anybody help me ??
>
> thanks in advance ;)

It's been a while since I played with this but I remember getting a test
app to work using JBoss 3.0.0/Tomcat 4.0.3. I've attached the xml config
file I used to define a data source called PostgresAccountsDS connecting
to a db named test_accounts. I placed this, together with the .war file in
server/default/deploy. For the JDBC driver, I simply created a symbolic
link to the its jar file in lib.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

Attachment Content-Type Size
postgres-service.xml text/xml 7.7 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message SZUCS Gábor 2003-06-17 16:22:17 Re: Request for advice: Table design
Previous Message Jean-Luc Lachance 2003-06-17 15:53:05 Re: order of nested loop