users@glassfish.java.net

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

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Mon, 05 Sep 2011 09:35:31 +0530

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
>
>