You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Luis Fernando Planella Gonzalez <lf...@gmail.com> on 2008/08/20 19:52:36 UTC

[Newbie] DataSource configuration under Tomcat

Hi all!
I'm struggling for 2 whole days with OpenEJB embedded in Tomcat, and I'm
missing something VERY basic:
How can I setup a DataSource for my application?
I've seen the <Resource> in many pages, but it's for the openejb.conf
file, and it does not exist on the embedded OpenEJB.
I've tried to write a service-jar.xml in my classpath, but (not
surprisingly) it's not magically read.
Please, I need help in this one...

Re: [Newbie] DataSource configuration under Tomcat

Posted by Karan Malhi <ka...@gmail.com>.
Sorry about your experience. This should have been in the docs and will make
sure it gets added in the right place. In case you have questions like these
in future, please feel encouraged to immediately post them to the list. We
should be able to save you some time :)

Thanks a lot for the feedback.

On Wed, Aug 20, 2008 at 2:00 PM, Luis Fernando Planella Gonzalez <
lfpg.dev@gmail.com> wrote:

> I found it.
> The conf is in <tomcat_root>/conf/openejb.xml
> This should definitely be added in the docs...
>
> Luis Fernando Planella Gonzalez
> lfpg.dev@gmail.com
>
>
>
> Luis Fernando Planella Gonzalez escreveu:
>  > Hi all!
> > I'm struggling for 2 whole days with OpenEJB embedded in Tomcat, and I'm
> > missing something VERY basic:
> > How can I setup a DataSource for my application?
> > I've seen the <Resource> in many pages, but it's for the openejb.conf
> > file, and it does not exist on the embedded OpenEJB.
> > I've tried to write a service-jar.xml in my classpath, but (not
> > surprisingly) it's not magically read.
> > Please, I need help in this one...
> >
> >
>



-- 
Karan Singh Malhi

Re: [Newbie] DataSource configuration under Tomcat

Posted by Luis Fernando Planella Gonzalez <lf...@gmail.com>.
I found it.
The conf is in <tomcat_root>/conf/openejb.xml
This should definitely be added in the docs...

Luis Fernando Planella Gonzalez
lfpg.dev@gmail.com



Luis Fernando Planella Gonzalez escreveu:
> Hi all!
> I'm struggling for 2 whole days with OpenEJB embedded in Tomcat, and I'm
> missing something VERY basic:
> How can I setup a DataSource for my application?
> I've seen the <Resource> in many pages, but it's for the openejb.conf
> file, and it does not exist on the embedded OpenEJB.
> I've tried to write a service-jar.xml in my classpath, but (not
> surprisingly) it's not magically read.
> Please, I need help in this one...
>
>