]> git.mxchange.org Git - pizzaservice-core.git/blob - INSTALL.txt
updated jar(s)
[pizzaservice-core.git] / INSTALL.txt
1 Installation instructions:
2 ==========================
3
4 0) Create an empty database and setup proper permissions
5
6 1) (Import install/install.sql into your new database) Currently DROP+CREATE
7
8 2) Setup a JDBC pool. I took the simple driver:
9
10 Pool name: ShopPool
11 Resource type: java.sql.Driver
12 Driver: MySQL
13 Driver class: org.mariadb.jdbc.Driver
14
15 URL: jdbc:mysql://localhost/your_database
16 user: your_login
17 password: your_password
18
19 3) Setup a JDBC resource:
20
21 JNDI name: jdbc/shop
22 Pool name: ShopPool
23
24 4) Setup a JMS connection factory:
25
26 JNDI name: jms/shopConnectionFactory
27 Resource type: javax.jms.QueueConnectionFactory
28
29 5) Setup a JMS destination resource:
30
31 JNDI name: jms/shopCheckoutQueue
32 Physical destination name: checkout
33 Resource type: javax.jms.Queue
34
35 You should be done now. And always try to give informative descriptions, not
36 just only "shop" or "factory".
37
38 Of course, you need to build and deploy the EAR/WAR files. ;-)
39
40 6) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you
41    need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password
42    encryption working. Please setup sufficient access rights (CHMOD 0644 is
43    enough).
44
45    If you forgot this file to copy and you have copied it now, please restart
46    the Glassfish server so the JAR can be found and loaded.