2016-07-28 14:59 GMT+02:00 paulhr <[email protected]>:

> Am I correct in assuming that if the conf/tomee.xml file has a datasource
> defined that a WAR should see the datasource?  Or do I need to another
> artifact or configuration somewhere else?
>
>
yep it works


> I am trying to install JForums.  I have defined the DataSource but the
> pre-Install check complains that is can not see the DataSource.
>
> The JForums install wants the full name for the datasource starting with
> "java:/"  I have given it
> "java:comp/env/jdbc/usqueForumsDS" but I get the below error.
> Name [jdbc/usqueForumsDS] is not bound in this Context.  Unable to find
> [jdbc].
>
>
openejb:Resource/jdbc/usqueForumsDS should be accessible

you can also use java:global/xxxxx as id to use a global name.

comp/env would likely need a resource ref definition in web.xml


>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Getting-JForums-install-to-see-a-MariaDB-datasource-tp4679530.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to