From: Roland Haeder Date: Fri, 4 Mar 2016 17:31:03 +0000 (+0100) Subject: added INSTALL.txt X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6eecdde1256ba3d5a37b8ede7352581c809c06c6;p=addressbook.git added INSTALL.txt --- diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..adfd417 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,30 @@ +Installation instructions: +========================== + +0) Create an empty database and setup proper permissions + +1) (Import install/install.sql into your new database) Currently DROP+CREATE + +2) Setup a JDBC pool. I took the simple driver: + +Pool name: AddressbookPool +Resource type: java.sql.Driver +Driver: MySQL +Driver class: com.mysql.jdbc.Driver + +URL: jdbc:mysql://localhost/your_database +user: your_login +password: your_password + +3) Setup a JDBC resource: + +JNDI name: jdbc/addressbook +Pool name: AddressbookPool + +4) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you + need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password + encryption working. Please setup sufficient access rights (CHMOD 0644 is + enough). + + If you forgot this file to copy and you have copied it now, please restart + the Glassfish server so the JAR can be found and loaded.