Hi!

I'm trying to build and deploy a small entity bean with OpenEJB. Now there
is some trouble receiving a DataSource. What I did so far: I configured the
data source in openejb.xml (as Connector and Recource), added a resource-ref
to ejb-jar.xml, and tried to fetch it via JNDI. I varied this very often,
searching through the list and web for hints, with no success. If I browse
the context, I find my beans but no data source object or any other
resource.

How do I get my data source into the context?

I have no persistence.xml, since I don't use CMP. Is that correct, or what
must it contain for BMP?

I have no openejb-jar.xml either. It is neccessary? Session beans works
fine. What to put there?

Thank you for your help!
Alexander

Reply via email to