From bb8dc8baea835a590fab81059a5917e2af9caf64 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 4 Mar 2016 18:31:00 +0100 Subject: [PATCH] added INSTALL.txt --- INSTALL.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 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. -- 2.39.2