We use CodeSource codeSource = Common.class.getProtectionDomain().getCodeSource(); this code is to get the path where jar is running. In tomacat 8.0.0 i am getting the path up to jar location like "jar:file:/C:/apache-tomcat-7.0.27/webapps/synergy/WEB-INF/lib/ISFaxAPIConnector.jar", but in 8.0.12 ,I ma getting different path location that is up to class location like "jar:file:/C:/apache-tomcat-7.0.27/webapps/synergy/WEB-INF/lib/ISFaxAPIConnector.jar!/com/ensim/escm/plugin/apiconnector/isfax/common/Common.class" . So can you please clarify, what is reason behind this? It is creating a blocking issue to find a file using this path.
Test with the current 8.0.15. *** This bug has been marked as a duplicate of bug 57038 ***