Hi,
You first add your driver to your jboss.properties, then declare your
datasource in jboss.conf, and finally define it in jboss.jcml.
Once you've done that, you can use your datasource... but you need to
specify it into your deployment descriptor !
You'll need to add a configuration manager specifying to use JAWS as the
container entity manager (and tell the container to use it for your bean),
and add a jaws.xml in your archive where you define that JAWS must use the
datasource you define in jBoss configuration files instead of the Default
DS.
Hope it helps,
Pascal Davoust.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of vimal kansal
Sent: Monday, December 04, 2000 7:41 PM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] BMP - How to setup database resource
Hi,
I am trying to deploy a BMP entity bean in jboss2.0.
But it appears that it always tries to goto
HypersonicSQL database, despite the fact that I have
tried to set it up to go against Oracle 8i. Can
somebody tell me what are the steps I need to follow
to set up the datasource correctly (I have tried
everything available in manual). Although I am able to
deploy a CMP bean correctlt to go against Oracle 8i.
TIA
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]