minor change to community creation error message & to some documentation

This commit is contained in:
Eric J. Bowersox 2001-11-25 20:54:05 +00:00
parent a7b07292dd
commit 8358e5645e
2 changed files with 29 additions and 3 deletions

View File

@ -1,2 +1,22 @@
When you download the MySQL JDBC driver, put the "mysql.jar" file in this
directory. Also put the Apache Jakarta LOG4J "log4j.jar" file here.
LIBRARY REQUIREMENTS FOR VENICE
===============================
N.B.: Any later versions of the libraries given here should work OK as long as they are backward
compatible with the versions specified here.
Library Version File Name(s) Install To
-------------------------------------------------------------------------------------------------
Apache LOG4J 1.1.3 log4j.jar Venice "lib" subdirectory
Java Activation Framework 1.0.1 activation.jar JRE "ext" subdirectory
Java Advanced Imaging API 1.1.1 jai_core.jar, jai_codec.jar, JRE "ext" subdirectory
mlibwrapper_jai.jar
Java API for XML Parsing 1.1 jaxp.jar, crimson.jar, xalan.jar JRE "ext" subdirectory
JavaMail 1.2 imap.jar, mailapi.jar, mail.jar, JRE "ext" subdirectory
pop3.jar, smtp.jar
Java Secure Socket Extensions 1.0.2 jcert.jar, jnet.jar, jsse.jar JRE "ext" subdirectory
MySQL JDBC Driver 2.0.2 mysql.jar Venice "lib" subdirectory
NOTES
=====
JAI 1.1.1: Place the accompanying .so file in /usr/local/lib or some other path suitable for shared
libraries. If it can't be loaded, the JAI calls will still work.

View File

@ -307,7 +307,13 @@ public class CommunityOperations extends VeniceServlet
if (cmd.equals("C"))
{ // "C" = Create New Community
if (!(user.canCreateCommunity()))
return new ErrorBox("Community Error","You are not permitted to create communities.","top");
{ // EJB 11/25/2001 - give a different error message if they're not logged in
if (user.isLoggedIn())
return new ErrorBox("Community Error","You are not permitted to create communities.","top");
else
return new ErrorBox("Community Error","You must be logged in to create a new community.","top");
} // end if
// load the "Create Communities" dialog
CreateCommunityDialog dlg = makeCreateCommunityDialog();