You need to specify at least one XA datasource (transactional) in your
datasources.xml file.
If you've done that, Orion will automatically use the default XA datasource
when it creates the deployment descriptor orion-ejb-jar.xml (a mild
annoyance as I often want to change it BEFORE orion creates tables - but
alas the deployment tools are coming - I know Magnus already has a lot to do
;)). After it has deployed properly, go in there and you can change the
<datasource> tag to whatever datasource you want. Unless you delete the file
(hrrrmmm ;)) it should keep that datasource updated when you redeploy each
time.
Hope this helps,
Mike
__
| | Director - The BookmarkBox P/L
| | http://www.bookmarkbox.com <http://www.bookmarkbox.com/>
|/\| Manage and share your bookmarks online!
Do you enjoy our service? Why not tell your friends about us?
http://www.bookmarkbox.com/email.cfm
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
> Sent: Saturday, 25 December 1999 4:54
> To: Orion-Interest
> Subject: How do I tell my Container Managed entity bean which data
> source touse?
>
>
> I must be missing something. I am not sure how to tell my
> container managed
> entity bean which pooled data source to use. I have created the entity
> bean, and I have created the pooled data source. When I start
> orion 0.8.2,
> I get the following error message:
>
> Auto-deploying file:/E:/work/site/lib/... Error compiling
> file:/E:/work/site/lib/:
> Error finding a suitable DataSource: No default XADataSource and no source
> specified
>
> Some help would be greatly appreciated.
>
> Thanks.
> -AP_
>
>
>