Sorry for my confusing terminology. I'll try to explain better. I'm using Tomcat 6.0.16 and as as Jhonny said, I want to have multiple WebApplications for each user in my server. Each user could call applications using the browser in that way: http://myserver:8080/user1/WebApp1 http://myserver:8080/user1/WebApp2 http://myserver:8080/user2/OtherWebApp1 http://myserver:8080/user2/OtherWebApp2 .
I've deployed one application in my folder using the manager using this sentence: http://myserver:8080/manager/deploy?path=/WebApp1&war=file:/home/user1/webapps/WebApp1.war and this work fine, but, when i tried to deploy using the path including username in the "path" it fails: http://myserver:8080/manager/deploy?path=/user1/WebApp1&war=file:/home/user1/webapps/WebApp1.war The returned error is: FAIL - Failed to deploy application at context path /usuario1/hello Any idea? I need to declare one context for each application? Regards Cristian On Wed, May 21, 2008 at 8:18 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- From: "Cristian Bullokles" > <[EMAIL PROTECTED]> > > Cristian, I think you confusing terminolgy, so the guru's have no idea what > you saying ;) > > I need help here people! > > I think you mean /User/WebApp yes? > > If so TC is a little strange in the area, an I'm not sure how to do the sub > context. > > Its "think" one has to name the context file as user#context.xml and > path=/webappsubcontext > ... or something > > The real problem is that subcontexts use up context space... so something > like /this/feels/good > Take /this > So maybe consider prepending the user name like /USER1-OrigWebAppName > Which the deployer will probably like. > > I leave it for the gurus to discuss more... but show them what you actually > doing, not just what you want... then if the terminology is screwed up, > they'll get the idea anyway ;) > > Good Luck ;) > > > > >> I'd like to deploy a war file using /user/myServlet as path, but when >> I tried I've received that error: >> >> FAIL - Failed to deploy application at context path /user/MyServlet. >> >> Id like to have an user with different servlets deployed and use them >> in that way: >> >> >> http://localhost:8080/user1/MyServlet >> http://localhost:8080/user1/MyServlet1 >> http://localhost:8080/user1/MyServlet2 >> etc. >> one of this servlets will be axis2 and we want to use it in that way: >> >> http://localhost:8080/user1/axis2 >> >> Regards >> Cristian > > --------------------------------------------------------------------------- > HARBOR: http://coolharbor.100free.com/index.htm > The most powerful application server on earth. > The only real POJO Application Server. > --------------------------------------------------------------------------- > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]