-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Caldarale, Charles R wrote: >> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] >> Subject: Re: classpath and public_html directories >> >>> Seriously messing with the CLASSPATH environment >>> variable will cause loads of headaches. Best to >>> just not mess with it and let tomcat ignore it. >> That's fine - I haven't touched it! :) > > But other program installations may have (e.g., QuickTime on Windows > sets it globally). It should be removed before attempting to run > Tomcat.
Lucky I'm running Debian! :) Doesn't tomcat set the classpath itself using the bin/setclasspath.sh script? > >> Also, one thing that puzzles me, is that this works fine in the tomcat >> installation webapp dir at /usr/local/tomcat/webapps/appname >> >> But not under public_html in a user's directory. > > Permissions problem? I don't think so, they have the same group/other permissions as the files under /usr/local/tomcat/webapps/appname > > When you deploy in /home/user_name/public_html/app_name, you must have > set up a conf/Catalina/[host]/appname.xml file; what does that look > like? I haven't got a file like this. However, I did modify conf/server.xml to contain: <Host ...> <!-- reload servlets when .class files change --> <DefaultContext reloadable="true" /> <Listener className="org.apache.catalina.startup.UserConfig" directoryName="public_html" homeBase="/home" userClass="org.apache.catalina.startup.PasswdUserDatabase"/> </Host> - From what I read, I thought that this would be enough to get tomcat server webapps from /home/*/public_html/appname. But no joy! :( It appears to me that tomcat knows about those jar files put under tomcat_home/webapps/appname/WEB-INF/lib but not those relative to a WEB-INF directory like /home/*/public_html/appname/WEB-INF/lib Cheers Nath -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGeTvuczuW2jkwy2gRAn5/AKC8y5z/wjPnI61Clg663QniR7uAjACcD8Jj h+yusgc9jnm7jfBrj4HI8J0= =m9ZB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]