Can you get the output of the following:
$ cat /etc/default/tomcat7 | grep -i java_opts $ debconf-show tomcat7
Can you get the output of the following:
$ cat /etc/default/ tomcat7 | grep -i java_opts
$ debconf-show tomcat7