Simple lookup test : Max exemptions value : 15 Resource link test : Link value : 30 list() on /comp/env Context : Binding : minExemptions: java.lang.Integer Binding : maxExemptions: java.lang.Integer Binding : mail: org.apache.naming.NamingContext Binding : jdbc: org.apache.naming.NamingContext Binding : ejb: org.apache.naming.NamingContext Binding : name3: java.lang.Integer Binding : linkToGlobalResource: java.lang.Integer Binding : foo: org.apache.naming.NamingContext listBindings() on /comp/env Context : Binding : minExemptions: java.lang.Integer:1 Binding : maxExemptions: java.lang.Integer:15 Binding : mail: org.apache.naming.NamingContext:org.apache.naming.NamingContext@ae8a695 Binding : jdbc: org.apache.naming.NamingContext:org.apache.naming.NamingContext@1d185bef Binding : ejb: org.apache.naming.NamingContext:org.apache.naming.NamingContext@60f2b943 Binding : name3: java.lang.Integer:1 Binding : linkToGlobalResource: java.lang.Integer:30 Binding : foo: org.apache.naming.NamingContext:org.apache.naming.NamingContext@4d2eb0aa