2015-09-24 15:07 GMT+03:00 Manuel Parra <manupa...@gmail.com>: > Hello I'm trying to deploy .war application from the public_html folder at > user homes. > > I've added directive to server.xml : > > <Listener className="org.apache.catalina.startup.UserConfig" > directoryName="public_html" > userClass="org.apache.catalina.startup.PasswdUserDatabase"/> > > And I try : > > http://localhost:8080/~usertest/app > > And it return : > > 404 error > > Then I try : > > http://localhost:8080/~usertest/app.war > > It download app.war but it doesn't serve the app. > > User home contains folder : > > public_html/app.war > > So, what is the problem? > > I'm using tomcat 7 >
There is no such feature. 1. The UserConfig listener creates one web application per user. http://localhost:8080/~usertest/ is the one and the only web application for usertest user. 2. Note that the user running Tomcat usually does not have write access to other user's directory. So it cannot unpack a war file owned by another user into that user's directory, even if someone were going to implement such a feature. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org