users@glassfish.java.net

Re: How to remove osgi war version from the JNDI Lookup?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 06 Sep 2011 15:45:50 -0700

Did you try to set it in the ejb-jar.xml?

-marina

Sahoo wrote:
> I don't think deployment is using module-name from web.xml to
> construct the global JNDI name. Pl. file a bug against deployment.
>
> Can't you use sun-web.xml to bind the EJBs with your own JNDI name?
>
> Sahoo
> On Sunday 04 September 2011 07:28 PM, forums_at_java.net wrote:
>> Hi,
>>
>> Thanks for your answer. I defined "module-name" in web.xml, however
>> the jndi
>> name still built from Bundle-Name and Bundle-Version, like this:
>> "java:global/mywar_1.0.0.SNAPSHOT".
>>
>> <module-name>my-web</module-name>
>>
>>
>>
>> --
>>
>> [Message sent by forum member 'okna2000']
>>
>> View Post: http://forums.java.net/node/840006
>>
>>
>