Closed cmdcolin closed 9 years ago
I just checked this with tomcat 8 and I didn't get this. Does the same web-app installation work on Tomcat 7?
I'm just wondering if JBrowse wasn't install properly or was removed.
I cleared web browser cache, recompiled the war file, and then deployed the same war to both tomcat7 and tomcat8, and it only errors out on tomcat8. it doesn't appear to be due to missing jbrowse either (it is in the webapps directory as usual)
tomcat 8 specs (doesn't work)
Server Information Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Hostname IP Address Apache Tomcat/8.0.20 1.7.0_51-b13 Oracle Corporation Mac OS X 10.9.5 x86_64 Colins-MacBook-Pro.local 192.168.2.6
tomcat 7 specs (does work)
Server Information Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Hostname IP Address Apache Tomcat/7.0.61 1.7.0_51-b13 Oracle Corporation Mac OS X 10.9.5 x86_64 Colins-MacBook-Pro.local 192.168.2.6
What happens if you do realpath in other directories or for ".", for example. I'm wondering if its returning null (and is thus ambiguous), because the servlet context path is some-how mangled.
I pushed a fix. The part that i said about this being deprecated might be false (i.e. it is ok when it is part of the servletcontext)
I get this error on page load with tomcat8
I think getRealPath is deprecated in it's usage in Jbrowsedataservlet, e.g.