Score:0

Tomcat looking for the classpath in the wrong place

in flag

I have installed tomcat 9 on CentOS 7, location is /opt/tomcat. It works. But when I wanted to shut it down and to start it again when I used shutdown.sh in my /opt/tomcat/bin folder, I got the error:

Cannot find /usr/local/tomcat/bin/setclasspath.sh

There is no tomcat folder there. when I use echo $CATALINA_HOME it points to the same /usr/local/tomcat. I've read somewhere that I should change CATALINA_HOME variable in my .bash_profile, should I do that? I can't find that file anywhere.

Do I need to set the environment variable of CATALINA_HOME and how I can do that in Centos?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.