centos - Why my Tomcat has no catalina.sh? -


basic info:

  • os: centos 7.0 x64
  • tomcat version: 7.0.54 (installed using yum)

it begins wanna debug checking catalina.out. there nothing in file except 1 line:

tomcat-7.0.54 rpm installed

i got tips catalina.sh has setting logging. found tomcat has no file. in folder bin there 3 files:bootstrap.jar tomcat-juli.jar catalina-tasks.xml

before start tomcat systemctl start tomcat, haven't notice problem.

is reasonable ? should if wanna edit setting logging or others startup?

this may

ref how install tomcat 7 on centos 7

log location /usr/share/tomcat/logs

the rpm command below show files are.

rpm -ql tomcat |more 

the systemctl command given detailed list of service

systemctl status tomcat.service  -l 

ref tomcat logging server.xml

to additionally log information requests going web application, "valves" can configured in server.xml file, described in detail here. example, inside tag:

for more information on valves in server.xml ref tomcat-7.0 valve

hope helps


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -