summaryrefslogtreecommitdiff
path: root/java/demo/Database/library/config.server
blob: b8a0555d6619dcf3c54ceb457c5407787b37d916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# Configure the server endpoints.
#
SessionFactory.Endpoints=tcp -h localhost -p 10000:ssl -h localhost -p 10001

# JDBC configuration.
JDBC.Username=USER
JDBC.Password=PASSWORD

#
# For mysql use the following configuration.
#
JDBC.Url=jdbc:mysql://localhost/library
JDBC.DriverClassName=com.mysql.jdbc.Driver

#
# For MariaDB use the following configuration.
#
#JDBC.Url=jdbc:mariadb://localhost/library
#JDBC.DriverClassName=org.mariadb.jdbc.Driver

# The number of connections in the JDBC connection pool. This number
# should be at least as big as the number of the threads in the server
# thread pool.
JDBC.NumConnections=5

# Number of threads in the server-side dispatch thread pool.
Ice.ThreadPool.Server.Size=5

#
# How long to keep sessions alive with no activity. Its best to use
# the same value as config.glacier2.
#
SessionTimeout=30

#
# Warn about connection exceptions
#
Ice.Warn.Connections=1

#
# Network Tracing
#
# 0 = no network tracing
# 1 = trace connection establishment and closure
# 2 = like 1, but more detailed
# 3 = like 2, but also trace data transfer
#
#Ice.Trace.Network=1

#
# Protocol Tracing
#
# 0 = no protocol tracing
# 1 = trace protocol messages
#
#Ice.Trace.Protocol=1

#
# Security Tracing
#
# 0 = no security tracing
# 1 = trace messages
#
#IceSSL.Trace.Security=1

#
# SSL Configuration
#
Ice.Plugin.IceSSL=IceSSL.PluginFactory
IceSSL.VerifyPeer=0
IceSSL.DefaultDir=../../../../certs
IceSSL.Keystore=server.jks
IceSSL.Password=password