1 Installation instructions:
2 ==========================
4 1) Create an empty database and setup proper permissions and user account. You
5 should create a separate database and user for each project you are going to
6 run on it for maximum security.
8 2) Setup a JDBC pool. I took the simple driver:
11 Resource type: java.sql.Driver
13 Driver class: org.mariadb.jdbc.Driver
15 URL: jdbc:mysql://localhost/your_database
17 password: your_password
19 3) Setup a JDBC resource:
24 4) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you
25 need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password
26 encryption working. Please setup sufficient access rights (CHMOD 0644 is
29 If you forgot this file to copy and you have copied it now, please restart
30 the Glassfish server so the JAR can be found and loaded.
32 5) Setup a JMS connection factory:
34 JNDI name: jms/jjobs-queue-factory
35 Resource type: javax.jms.QueueConnectionFactory
37 6) Setup JMS message queue:
39 JNDI name: jms/jjobs-email-queue
40 Physical destination name: jjobsSendEmail
41 Resource type: javax.jms.Queue
43 7) Setup Java Mail session:
45 JNDI name: jjobsSmtpSession
46 Mail host: <your-smtp-host>
47 Default user: <your-smtp-login-name>
48 Default sender address: noreply@your-domain.example
50 Optional, but more secure/sometimes required advanced properties:
52 mail.smtp.password : <email password>
53 mail.smtp.port : <email port>
56 8) Setup JMS message queue
58 JNDI name: jms/jjobs-user-activity-log
59 Physical destination name: jjobsUserActivityLog
60 Resource type: javax.jms.Queue
62 9) In WAR project, copy local_xx_XX.properties-dist to local_de_DE.properties
63 and local_en_US.properties. If for example your application uses
64 product_categories from jproduct-core, you may want to add your custom i18n
65 strings to the local properties files as this doesn't cause any later merge
66 conflicts as they are ignored by default.