need to test if directory exists before running glassfish domain create