Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-25 Thread Aurélien Terrestris
As said by Konstantin, the listener doesn't do what you are trying to achieve (I tested on my side, it doesn't work). You can do virtual hosting, but this means that you need either one different host name or port for each user. I think it is easier to deal with ports, and then you can hide them

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-25 Thread Manuel Parra
Thanks, yes, I was looking for other solutions. Thanks again ! On Fri, Sep 25, 2015 at 1:54 PM, Aurélien Terrestris wrote: > As said by Konstantin, the listener doesn't do what you are trying to > achieve (I tested on my side, it doesn't work). > > You can do virtual

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Konstantin Kolinko
2015-09-24 15:07 GMT+03:00 Manuel Parra : > Hello I'm trying to deploy .war application from the public_html folder at > user homes. > > I've added directive to server.xml : > > directoryName="public_html" > userClass="org.apache.catalina.startup.PasswdUserDatabase"/> > > And

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread ManuParra
But, each user have public_html folder at home folder, so where I configure what is the war to execute in public_html ? For instance, in: http://localhost:8080/~usertest/ Where in filesystem I have: /home/usertest/public_html/app.war , what is the configuration in Tomcat for

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Aurélien Terrestris
Hi, first, you should check that the Host is configured with autoDeploy="true" 2015-09-24 14:07 GMT+02:00 Manuel Parra : > Hello I'm trying to deploy .war application from the public_html folder at > user homes. > > I've added directive to server.xml : > >

Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Hello I'm trying to deploy .war application from the public_html folder at user homes. I've added directive to server.xml : 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

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Yes. This is my Configuration for the hosts in server.xml: ... Then at user's homes I have: /home/usertest/public_html/app.war But in http://localhost:8080/~usertest/ --> HTTP Status 404 - /~usertest/ Thanks in advance. On Thu, Sep 24, 2015 at 3:41 PM, Aurélien Terrestris

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Well Im using localhost and myserver.com as a server from I connect (URL). May be this a problem with HOST in server.xml? Regards. On Thu, Sep 24, 2015 at 6:02 PM, Manuel Parra wrote: > Yes. > This is my Configuration for the hosts in server.xml: > > "true"> > > ... > >

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Do you recommend one HOST for each user with especifically appBase ? Thanks. On Thu, Sep 24, 2015 at 6:18 PM, Manuel Parra wrote: > Well Im using localhost and myserver.com as a server from I connect (URL). > May be this a problem with HOST in server.xml? > > Regards. > >