fix tomcat & websphere issue