modify db jndi.
support JDK 1.7 for default openjdk.
rename