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

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

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


This issue relates to the GlassFish Java SE client, as documented in

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.

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 Wed Feb 22 01:07:31 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.