Here's a little more info on Orion not finding my datasource,
when deploying my container managed entity bean.

In orion-ejb-jar.xml I haven't used <resource-ref-mapping>,
instead I have used <entity-deployment data-source="xxx">.
According to the docs you are able to specify the name of the
datasource there, which is declared in data-sources.xml
(<data-source name="xxx">). This worked in 0.9.4, but it isn't
working in 1.0rc1.

Anyone out there expiriencing the same problem, anyone got
any solution?

/Esa


> > > I have gone from Orion 0.9.4 to 1.0rc1 and in this latest
> > release
> Orion
> > can't find the datasource that I have specified in the > deployment
> descriptor
> > for my container managed entity bean. I have tried adding the >
> datasource
> > to config\data-sources.xml and pointing out this file in >
> config\server.xml,
> > but it doesn't work. I have also tried pointing out the >
> confg\data-sources.xml
> > in the application deployment descriptor, but it doesn't
> work either.
> > > If I don't specify a datasource in in the deployment
> descriptor for
> my
> > container managed entity bean Orion uses the default >
> datasource, but
> it's
> > commented out in the data-sources.xml !!!
> > > Anyone got any ideas on this subject?
> > It seems that the data-sources tag in config\server.xml has >
> disappeared in
> > Orion 1.0rc1 and that it should be specified in the > application
> deployment
> > descriptor !?
> > > /Esa
> > > >
>


Reply via email to