do you have a sample reproducing it?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/22 Fawzib Rojas <[email protected]>

> Ok, i renamed them to "java:global/jdbc/MSIM", again works in webapp, not
> in EJB. I'll try both "java:openejb/Resource/" and "openejb:Resource/"
> I just wanted to have a standard name usable between different
> implementations and using the "openejb" ones defeat the purpose.
>
>
> On 5/22/2013 8:55 AM, Romain Manni-Bucau wrote:
>
>> these resources are in java:openejb/Resource/<name> or
>> openejb:Resource/<name> (same place)
>>
>> IIRC you can name it explicitely java:global/... to force a global naming
>>
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau 
>> <https://twitter.com/**rmannibucau<https://twitter.com/rmannibucau>
>> >*
>> *Blog: 
>> **http://rmannibucau.**wordpress.com/*<http://rmannibucau.wordpress.com/*>
>> <http://**rmannibucau.wordpress.com/ <http://rmannibucau.wordpress.com/>>
>> *LinkedIn: 
>> **http://fr.linkedin.com/in/**rmannibucau*<http://fr.linkedin.com/in/rmannibucau*>
>> *Github: https://github.com/**rmannibucau*<https://github.com/rmannibucau*>
>>
>>
>>
>> 2013/5/22 Fawzib Rojas <[email protected]>
>>
>>  I'm sure you're trying to help, but that tells me nothing.  :(
>>>
>>> Are you saying I should put "comp/env/<name>" in the id so the EJB can
>>> see
>>> them?
>>> Are you saying I'm looking in the wrong place?
>>> I've tried ctx.lookup() for "jdbc/MSIM","java:/comp/env/**
>>> jdbc/MSIM","java:global/jdbc/****MSIM",
>>> "java:app/jdbc/MSIM","java:****module/jdbc/MSIM".
>>>
>>> If not, what do I have to do to make the EJB see the resources?
>>>
>>>
>>> On 5/21/2013 4:41 PM, Romain Manni-Bucau wrote:
>>>
>>>
>

Reply via email to