Introduction
This user manual is to help you maintain, update and use the relevant application easily and quickly. You’ll find detailed screenshots, explanations and instructions on how to manage it.
Version 1.0.0.Draft
Installation
Prerequisites
- Debian is a free operating system (OS) for your computer. Download Debian
- Java Platform is to develop and deploy Java applications on desktops and servers. Download Java SDK
- GlassFish is the Open Source Java EE Reference Implementation. Download GlassFish 5.0 - Full Platform and Download Administration Guide
- MySQL is the most popular open source database. Download MySQL
- MySQL Connector/J is the official JDBC driver for MySQL. Download MySQL Connector/J
Install
Debian operating system is pre-installed. To update and upgrade it
|
|
To install Java
|
|
To download and install Glassfish application server
|
|
To install MySQL
|
|
To download and install MySQL Connector/J
|
|
To install the application
|
|
Setup
Set server time as GMT for the UK. Check out World Clock / Converter
To change time zone, run
|
|
To change locale
|
|
Uncomment tr_TR.UTF-8 UTF-8
line, and run below to activate locale
|
|
Create MySQL database and user
|
|
Create MySQL tables if initial sql file is ready
|
|
Drop MySQL tables if database is not empty
|
|
Edit domain.xml
to change port and application context root
|
|
Find http-listener-1
and change the value from 8080 to 80
|
|
Find context-root
and change the value to “/aset” or “/”
|
|
You can now start Glassfish
|
|
Define resources to Glassfish using asadmin
tool
-
Create a JDBC resource with the specified JNDI name
$ asadmin> help create-jdbc-resource
for help1 2
$ asadmin> create-jdbc-resource --connectionpoolid aset_pool --enabled=true jdbc/aset Command create-jdbc-resource executed successfully.
-
Register a JDBC connection pool
$ asadmin> help create-jdbc-connection-pool
for help1 2 3 4
$ asadmin> create-jdbc-connection-pool --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlXADataSource --restype javax.sql.XADataSource --property portNumber=3306:password=P@ssword1:user=aset:serverName=localhost:databaseName=aset:connectionAttributes=\;create\\=true aset_pool Command create-jdbc-connection-pool executed successfully.
Add the named authentication realm to Glassfish using asadmin
tool
$ asadmin> help create-auth-realm
for help
|
|
Support
Supporting Languages
Currently we support two languages. Default one is English GB. For further languages support please contact with us.
- English GB (default)
- Türkçe TR
- Español ES
- Français FR
- Pусский RU
Technologies
Below are core technologies that we use for this project.
- Operating System: Debian, CentOS
- Development Platform: Java Enterprise Edition
- User Interface Framework: Java Server Faces
- Deployment Server: Oracle Glassfish
- Database Compatibility: MySQL, MariaDB
- Reporting Engine: JasperReports
Reports
TBD
Issues
We use Atlassian Bitbucket as our issue tracker, at: