Pete Helgren (on the Tomcat List) wrote:
Longshot....something in .profile of the user the Tomcat instance is
running under?


Neither the "tomcat7" nor "tomcat8" users have .profile files.

This is interesting. I got rid of the Tomcat 8.5 catalina.out files on both boxes (the one where everything works right, and the one where 8.5 is getting 7's root context) and restarted them, and I got this at the tops of both catalina.out files:

WARNING [main] . . . Problem with directory [/var/lib/tomcat8/common/classes], 
exists: [false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory [/var/lib/tomcat8/common], exists: 
[false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory 
[/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], 
canRead: [false]
WARNING [main] . . . Problem with directory [/usr/share/tomcat8/common], 
exists: [false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory [/var/lib/tomcat8/server/classes], 
exists: [false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory [/var/lib/tomcat8/server], exists: 
[false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory 
[/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], 
canRead: [false]
WARNING [main] . . . Problem with directory [/usr/share/tomcat8/server], 
exists: [false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory [/var/lib/tomcat8/shared/classes], 
exists: [false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory [/var/lib/tomcat8/shared], exists: 
[false], isDirectory: [false], canRead: [false]
WARNING [main] . . . Problem with directory 
[/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], 
canRead: [false]
WARNING [main] . . . Problem with directory [/usr/share/tomcat8/shared], 
exists: [false], isDirectory: [false], canRead: [false]

On both boxes, according to catalina.out, CATALINA_BASE is /var/lib/tomcat8 and CATALINA_HOME is /usr/share/tomcat8.

Then I get a bunch of stack traces. I'll omit the stack traces themselves for the sake of brevity, and give just the error messages:
 java.io.FileNotFoundException: /usr/share/java/el-api-3.0.jar (No such file or 
directory)
 java.io.FileNotFoundException: /usr/share/java/jsp-api-2.3.jar (No such file 
or directory)
 java.io.FileNotFoundException: /usr/share/java/el-api-3.0.jar (No such file or 
directory)
 java.io.FileNotFoundException: /usr/share/java/jsp-api-2.3.jar (No such file 
or directory)
 java.io.FileNotFoundException: /usr/share/java/el-api-3.0.jar (No such file or 
directory)
 java.io.FileNotFoundException: /usr/share/java/jsp-api-2.3.jar (No such file 
or directory)
and so forth, alternating back and forth between those two jar files several times.

I'm still stumped. None of the configuration or log files I've looked in so far appear to have any references to anything in tomcat7.

--
JHHL


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to