If you want to define an environment variable in your context base on documentation you shod define them as below
<Context ...>
...
<Environment name="maxExemptions" value="10"
type="java.lang.Integer" override="false"/>
...
</Context>
Also use them as below:
((Context)new InitialContext().lookup("java:comp/env")).lookup("maxExemptions")
You should get 10
as output.