modified the resource handler to reenable caching on resources, added javax.activation to the dependecies (required for mimetype check to work)