Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186589

Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

From "James H. H. Lampert" <jamesl@touchtonecorp.com>
Newsgroups linux.debian.user
Subject Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT
Date 2017-09-07 23:40 +0200
Message-ID <uncGJ-5J7-5@gated-at.bofh.it> (permalink)
References <un9zc-3GP-17@gated-at.bofh.it> <uncGJ-5J7-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5  is going to /var/lib/tomcat7/webapps/ROOT "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-07 20:20 +0200
  Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat  8.5 is going to /var/lib/tomcat7/webapps/ROOT "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-07 23:40 +0200
    Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT deloptes <deloptes@gmail.com> - 2017-09-08 01:10 +0200
  More, Re: This is weird (cross-posted to Tomcat and Debian Lists):  Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-08 01:20 +0200
    Re: More, Re: This is weird (cross-posted to Tomcat and Debian  Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT David Wright <deblis@lionunicorn.co.uk> - 2017-09-08 01:50 +0200
    Actually, it was STUPID, not weird (cross-posted to Tomcat and Debian  Lists): my BROWSER CACHES never got flushed! "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-08 18:00 +0200
  Still more, Re: This is weird (cross-posted to Tomcat and Debian  Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-08 01:40 +0200

csiph-web