From: Roland Häder Date: Fri, 7 Jul 2017 23:53:37 +0000 (+0200) Subject: updated INSTALL.txt with new JNDI name for mail session + added maybe missing JMS... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4316957eb473ba57f2d14ff79cabe3f303fc13c;p=pizzaservice.git updated INSTALL.txt with new JNDI name for mail session + added maybe missing JMS queue Signed-off-by: Roland Häder --- 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