Title: running entity bean example
 
 
The jdbc/odbc driver should be fine.  The error is a little misleading: the third <data-source> entry in orion/data-sources.xml points to the XADataSource, which is required to run the EJB CMP service (despite the comment for that block).  The term XADatasource is an internal Orion name for a transactional datasource, and in this instance it just an alias for the jdbc/DefaultDS, per its <source-location> tag.  Orion is complaining that it needs a transactional datasource for CMP, and no XADatasource is defined.  I think you can just uncomment the rest of the file and make sure the generic fields are correctly replaced for your environment, though it's been a while since I ran this.
 
Byron
-----Original Message-----
From: Khan Kamran <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Tuesday, February 01, 2000 3:53 AM
Subject: running entity bean example

Hi All ,

I  need a help . I am new to EJB. I have completed a session bean tutorial given on Orion site.

Now I want to run a entity bean that is provided in demo directory.

I have uncommented first entry in my data-source.xml file an ran the and usermanager entry from ejb.xml file .

When I ran my server again it is giving

Error finding a suitable DataSource: No default XADataSource and no source specified.

Actually I have oracle(installed on remote server) and Access database installed on my local m/c. I want to use either of these databases.

So for this may I need specific jdbc driver or I can use the jdbc odbc driver provided by sun.

How I configure things to run any entity bean example.

Thanks
Kamran

Reply via email to