tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harding, David" <>
Subject Getting tomcat to serve documents from directories outside of $TOMCAT_HOME
Date Mon, 25 Sep 2000 15:23:52 GMT
i have installed and setup tomcat 3.1 and have all of the examples and one
of my own servlets working.

but when i try to take one of my own servlets (HelloWorld) and deploy it to
a user's home directory i get a ClassNotFoundError in the tomcat log.


added contexts:
    /dharding   /home/dharding/webapp

i deploy this HelloWorld to /home/dharding/webapp and get the above
mentioned error (but tomcat is looking in the right place since i can put
html documents in that location and browse to them with no
just will not load servlets).

any ideas?  i am new to tomcat so i think i am missing something obvious,
but i do not want to have to become root to have a user deploy a webapp
(want the users to all have a /home/usernamehere/webappthat has a context
loaded in tomcat so each user can publish their own webapps, i read that
this can be done with multiple tomcats but woudl rather avoid that...kind of
like apache serving /home/usernamehere/public_html for

thanks in advance

   david j harding

View raw message