summaryrefslogtreecommitdiff
path: root/java/demo/Database/library/config.server
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Database/library/config.server')
-rw-r--r--java/demo/Database/library/config.server40
1 files changed, 40 insertions, 0 deletions
diff --git a/java/demo/Database/library/config.server b/java/demo/Database/library/config.server
new file mode 100644
index 00000000000..4cbefb70ffc
--- /dev/null
+++ b/java/demo/Database/library/config.server
@@ -0,0 +1,40 @@
+#
+# Configure the server endpoints.
+#
+SessionFactory.Endpoints=default -p 10000
+
+# JDBC configuration.
+JDBC.Username=matthew
+JDBC.Password=foo
+JDBC.Url=jdbc:mysql://localhost/library
+
+# 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=1
+
+#
+# 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