I am trying to read an environment variable in our application running on WAS6.0. While the same configuration runs fine on WAS6.1 it is unable to recognize the same env variable with the former. Here is the code :

<bean class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>

<bean class="MyFile">
<constructor-arg type="java.lang.String" value="${cps.env}"/>
</bean>


I know this doesnot works with Sun JDK1.4, but we are pointing to WAS6 JDK only.

Kindly help.