artlife3 / dazed-confused-vagrant-vm

MIT License
3 stars 0 forks source link

Change Tomcat process user to vagrant #30

Closed artlife3 closed 7 years ago

artlife3 commented 7 years ago
  1. sudo chown -R vagrant:vagrant /opt
  2. /etc/init.d/tomcat8
    - TOMCAT_USER=tomcat
    + TOMCAT_USER=vagrant
  3. Add Symlink setting server.xml
    <Context path="/" reloadable="false" docBase="app" allowLinking="true">

$CATALINA_HOME/conf/context.xml の Under

<Resources className="org.apache.catalina.webresources.StandardRoot" allowLinking="true"/>