> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] > Subject: Re: classpath and public_html directories > > Doesn't tomcat set the classpath itself using the bin/setclasspath.sh > script?
Yes, but depending on the version of Tomcat it will either ignore or extend CLASSPATH, so you want to make sure the variable is null before running the scripts. > homeBase="/home" > userClass="org.apache.catalina.startup.PasswdUserDatabase"/> I haven't tried it, but the doc implies you need: userClass="org.apache.catalina.startup.HomesUserDatabase" when specifying a homeBase attribute; the PasswdUserDatabase class looks only in the /etc/passwd file identify the users. > It appears to me that tomcat knows about those jar files put und > tomcat_home/webapps/appname/WEB-INF/lib but not those relative to a > WEB-INF directory like /home/*/public_html/appname/WEB-INF/lib Correct - you normally need an appname.xml file in conf/Catalina/[host] to tell Tomcat where the app is located. The contents of said file should be something like this: <Context docBase="/home/[user]/public_html/appname" /> The UserConfig Listener creates these <Context> elements internally, avoiding the need to build one maually for every user. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]