The JNDI names are logged in the server.log. I don't know why the
'list-jndi-names' command doesn't display them though.
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 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
> concurrent: com.sun.enterprise.naming.impl.TransientContext
> 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?
> : https://java.net/projects/firstcup
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.