From f4316957eb473ba57f2d14ff79cabe3f303fc13c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 8 Jul 2017 01:53:37 +0200 Subject: [PATCH] updated INSTALL.txt with new JNDI name for mail session + added maybe missing JMS queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- INSTALL.txt | 48 +++++++++++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 74bb8f4..78fdd65 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -7,7 +7,7 @@ Installation instructions: 2) Setup a JDBC pool. I took the simple driver: -Pool name: ShopPool +Pool name: PizzaServicesPool Resource type: java.sql.Driver Driver: MySQL Driver class: org.mariadb.jdbc.Driver @@ -18,29 +18,43 @@ password: your_password 3) Setup a JDBC resource: -JNDI name: jdbc/shop -Pool name: ShopPool +JNDI name: jdbc/pizzaservice +Pool name: PizzaServicesPool -4) Setup a JMS connection factory: +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. -JNDI name: jms/shopConnectionFactory +5) Setup a JMS connection factory: + +JNDI name: jms/pizzaservice-queue-factory Resource type: javax.jms.QueueConnectionFactory -5) Setup a JMS destination resource: +6) Setup JMS message queue: -JNDI name: jms/shopCheckoutQueue -Physical destination name: checkout +JNDI name: jms/pizzaservice-email-queue +Physical destination name: pizzaservice-send-email Resource type: javax.jms.Queue -You should be done now. And always try to give informative descriptions, not -just only "shop" or "factory". +7) Setup Java Mail session: -Of course, you need to build and deploy the EAR/WAR files. ;-) +JNDI name: pizzaservice/smtpSession +Mail host: +Default user: +Default sender address: noreply@your-domain.example -6) 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). +Optional, but more secure/sometimes required advanced properties: - 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. +mail.smtp.password : +mail.smtp.port : +mail.smtp.auth : true + +8) Setup JMS message queue + +JNDI name: jms/pizzaservice-user-activity-log +Physical destination name: pizzaserviceUserActivityLog +Resource type: javax.jms.Queue -- 2.39.5