----- Original Message ----- From: "Cristian Bullokles" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Saturday, May 17, 2008 10:09 PM
Subject: Deploying Servlets in users directory


Hello all,

I'm using tomcat 6.016 and have configured userconfig in server.xml to
look in user's public_html subdir for jsps etc.
Jsp files works fine in user directories but servlets do not.

Cristian I actual dont understand what it is exactly that you did configure?
"userconfig in server.xml" not sure what that is?

I imagine that you got some kind of upload scheme going and you want TC do see it.

I think what you looking for is the DocBase stuff which is set in the context.
That way you can make TC see webapps outside of the TC setup.

The docbase is set in
conf/catalina/loacalhost/webappname.xml

But this is what you do... one way.... maybe others have got a better plan.

WebApp (whole structure is dumped to a location, upload, or FTP or whatever)
The Dumpee ;) also deposits a file called
context.xml
inside is something like
<Context docBase="/the/dump/folder" path="/Ignored"/>

Then In a browser they do this
http://localhost:8080/manager/deploy?config=file://the/dump/folder/context.xml&path=/TheWebAppName

They need admin rights for that
And magic... that webapp is now deployed and online

TC is cool hey ;)

Does anyone have tomcat working with servlets in user's
public_html subdirectories?

Thanks
Cristian

---------------------------------------------------------------------
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]

Reply via email to