Environment variables are typically set for services on SmartOS in the SMF manifest rather than /etc/default or similar solutions.  This block updates the SMF manifest and reimports it to make sure the correct environment is supplied to the tomcat service.