[GLASSFISH-20407] GlassFish "client without the ACC" mode incorrectly returns a value for java:comp/InAppClientContainer Created: 25/Apr/13  Updated: 28/Apr/13  Resolved: 28/Apr/13

Status: Resolved
Project: glassfish
Component/s: naming
Affects Version/s: 4.0_b86_RC2
Fix Version/s: 4.0_b87_RC3

Type: Bug Priority: Major
Reporter: Nigel Deakin Assignee: guojun.shan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This issue relates to the GlassFish Java SE client, as documented in
http://docs.oracle.com/cd/E18930_01/html/821-2418/gkusn.html#scrolltoc

If my application creates an InitialContext and does a JNDI lookup of java:comp/InAppClientContainer then I get a value of false.

This is incorrect. There should only be a value bound at this location if the application is running in a Java EE container. However this is not a Java EE container. It's (obviously) not a web or EJB container, and the product documentation describes this as "without the ACC" and so this is not an application client container either. So by returning a value at this location GlassFish is returning misleading information, since clients cannot use it to find out which container they are running in.



 Comments   
Comment by guojun.shan [ 27/Apr/13 ]

it seems this is a clarification for GLASSFISH-19052.

Comment by guojun.shan [ 28/Apr/13 ]

fixed At revision: 61695

Generated at Sat Aug 27 07:54:46 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.