Skip to main content

About EJB lite and Portable JNDI Name

3 replies [Last post]
codeprince
Offline
Joined: 2007-05-10
Points: 0

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mvatkina
Offline
Joined: 2005-04-04
Points: 0

The JNDI names are logged in the server.log. I don't know why the
'list-jndi-names' command doesn't display them though.

-marina

On 8/23/13 1:06 AM, Tang Yong wrote:
> Hi Team,
>
> I have a question about "EJB lite and Portable JNDI Name".
>
> After I deployed firstcup-war.war[1] into GlassFish 4, while I used the
> following command to try to find Portable JNDI Name for the ejb from
> firstcup-war, result is as following:
>
>> asadmin list-jndi-entries
> ejb: com.sun.enterprise.naming.impl.TransientContext
> jdbc: com.sun.enterprise.naming.impl.TransientContext
> java:global: com.sun.enterprise.naming.impl.TransientContext
> com.sun.enterprise.container.common.spi.util.InjectionManager:
> com.sun.enterprise.container.common.impl.util.InjectionManagerImpl
> concurrent: com.sun.enterprise.naming.impl.TransientContext
> UserTransaction:
> com.sun.enterprise.transaction.startup.TransactionLifecycleService$2
> jms: com.sun.enterprise.naming.impl.TransientContext
> Command list-jndi-entries executed successfully.
>
> I can not find any Portable JNDI Name for the ejb. Notice that the ejb
> is packaged into firstcup-war in ejb lite way.
>
> So, whether once using EJB lite, Portable JNDI Name for the ejb will be
> not created?
>
> [1]: https://java.net/projects/firstcup
>
> Thanks
> Tang
>

codeprince
Offline
Joined: 2007-05-10
Points: 0

codeprince
Offline
Joined: 2007-05-10
Points: 0