using jbuilder 6 and resin

From: Alex Sharaz <A.Sharaz@xxx.ac.uk>
Date: Wed Sep 18 2002 - 02:42:34 PDT

probably a simple question

I'm writing some java beans using jbuilder 6 which need to access a resin
db pool. On the real server, the <resource-ref> ... </resource-ref>
defintions are
in resin.conf.
I've configured jbuilder to use resin as the default web server when using
"Web Run" and that seems to work fine... at least some basic borland
examples work.

however, I do need to define my database pool somewhere.

I can't put it in the resin.conf associated with the project because that
is generated every time you perform a "Web Run" ... unless I can change the
defaults it uses... whereever they are

If I double click on the web.xml deployment descriptor and enter the WebApp
DD editor I can select "Resource Manager Connection Factory References" and
add a resource reference but unfortunately it doesn't seem to allow me to
add "init-param" values to the reference.

If I use the "source" pane associated with the above I can add the init
parameters but
they get removed whenever I do a "Web Run"

What do I have to do to define my dbpool is it just a case of putting it
into another deployment descriptor file?

TIA
Alex

Sent using Mulberry 3.01a
Received on Wed 18 Sep 2002 02:42:34 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:15 PDT