https://issues.apache.org/bugzilla/show_bug.cgi?id=57206
Bug ID: 57206
Summary: Different result getting in tomcat 8.0.12 and 8.0.0
Product: Tomcat 8
Version: 8.0.12
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
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.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]