Difference between revisions of "Tomcat 5"

From Briki
Jump to: navigation, search
Line 8: Line 8:
 
# In /usr/share/tomcat5/bin/relink
 
# In /usr/share/tomcat5/bin/relink
 
## Reorder find arguments to put '''-type d''' after mindepth and maxdepth arguments
 
## Reorder find arguments to put '''-type d''' after mindepth and maxdepth arguments
 +
 +
== Fixing ''tomcat-users.xml.new'' error ==
 +
Error is '''javax.naming.NamingException: /usr/share/tomcat5/conf/tomcat-users.xml.new (Permission denied)'''<br>
 +
# '''chown tomcat:tomcat /etc/tomcat5''' (NB. '''/usr/share/tomcat5/conf''' is a symlink to '''/etc/tomcat5''')

Revision as of 16:38, 20 February 2006

Tidying up /etc/init.d/tomcat5 output

  1. In /etc/init.d/tomcat5
    1. Remove if statement around . /etc/init.d/rc.d/functions
    2. Change echo "waiting for processes to exit" to echo -n "."
    3. Add success after start and stop commands
  2. In /usr/bin/dtomcat5
    1. Comment out Using... lines
  3. In /usr/share/tomcat5/bin/relink
    1. Reorder find arguments to put -type d after mindepth and maxdepth arguments

Fixing tomcat-users.xml.new error

Error is javax.naming.NamingException: /usr/share/tomcat5/conf/tomcat-users.xml.new (Permission denied)

  1. chown tomcat:tomcat /etc/tomcat5 (NB. /usr/share/tomcat5/conf is a symlink to /etc/tomcat5)