<quickserver>
	<name>EchoServer v 1.2</name>
	<port>4123</port>
	<bind-address>0.0.0.0</bind-address>
	<client-command-handler>echoserver.EchoCommandHandler</client-command-handler>
	<authenticator>echoserver.EchoServerQuickAuthenticator</authenticator>
	<timeout>4</timeout>
	<timeout-msg>-ERR Timeout</timeout-msg>
	<max-auth-try>5</max-auth-try>
	<max-auth-try-msg>-ERR Max Auth Try Reached</max-auth-try-msg>
	<max-connection>-1</max-connection>
	<max-connection-msg>Server Busy\nMax Connection Reached</max-connection-msg>
	<console-logging-level>INFO</console-logging-level>
	<console-logging-formatter>org.quickserver.util.logging.SimpleConsoleFormatter</console-logging-formatter>
	<object-pool>
		<max-active>-1</max-active>
		<max-idle>25</max-idle>
	</object-pool>
	<communication-logging>
		<enable>true</enable>
	</communication-logging>
	<db-object-pool>
		<database-connection-set>
			<database-connection>
				<id>TestDB1</id>
				<driver>sun.jdbc.odbc.JdbcOdbcDriver</driver>
				<url>jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\\QuickServer\\examples\\db\\echoAuth.mdb</url>
				<username></username>
				<password></password>
			</database-connection>
		</database-connection-set>
		<db-pool-util>echoserver.DBPoolUtil</db-pool-util>
	</db-object-pool>
	<access-constraint>
		<ip-filter>
			<enable>false</enable>
			<allow-access>false</allow-access>
			<ip-collection>
				<client-ip-address>127.0.0.1</client-ip-address>
				<!--<client-ip-address>192.168.1.100</client-ip-address> -->
			</ip-collection>
		</ip-filter>
	</access-constraint>
	<qsadmin-server>
		<name>QSAdminServer v 1.2</name>
		<port>4124</port>
		<bind-address>127.0.0.1</bind-address>
		<client-command-handler>org.quickserver.net.qsadmin.CommandHandler</client-command-handler>
		<authenticator>org.quickserver.net.qsadmin.Authenticator</authenticator>
		<timeout>4</timeout>
		<timeout-msg>-ERR Timeout</timeout-msg>
		<max-auth-try>5</max-auth-try>
		<max-auth-try-msg>-ERR Max Auth Try Reached</max-auth-try-msg>
		<max-connection>1</max-connection>
		<max-connection-msg>-ERR Server Busy. Max Connection Reached</max-connection-msg>
		<console-logging-level>INFO</console-logging-level>
		<object-pool>
			<max-active>-1</max-active>
			<max-idle>15</max-idle>
		</object-pool>
		<communication-logging>
			<enable>false</enable>
		</communication-logging>
		<command-shell>
			<enable>true</enable>
			<prompt-name>QSAdmin</prompt-name>
		</command-shell>
		<access-constraint>
			<ip-filter>
				<enable>false</enable>
				<allow-access>true</allow-access>
				<ip-collection>
					<client-ip-address>127.0.0.1</client-ip-address>
				</ip-collection>
			</ip-filter>
		</access-constraint>
		<secure>
			<enable>false</enable>
			<load>false</load>
			<protocol>TLS</protocol>
			<client-auth-enable>false</client-auth-enable>
			<secure-store>
				<type>JKS</type>
				<algorithm>SunX509</algorithm>
				<provider>SUN</provider>
			</secure-store>
		</secure>
	</qsadmin-server>
	<application-configuration>
	<!--
		<property>
			<property-name>ServerHook-ObjectCleaner-Time-Minute</property-name>
			<property-value>5</property-value>
		</property>
		<property>
			<property-name>APP_PARAM1</property-name>
			<property-value>test value</property-value>
		</property>
		<property>
			<property-name>APP_PARAM2</property-name>
			<property-value>test value2</property-value>
		</property>
	-->
	</application-configuration>
	<application-jar-path>../dist/EchoServer.jar</application-jar-path>
	<server-hooks>
		<!--
		<class-name>org.quickserver.net.server.ObjectCleaner</class-name>
		-->
	</server-hooks>
	<init-server-hooks>
		<class-name>echoserver.SetupLoggingHook</class-name>
	</init-server-hooks>
	<secure>
		<enable>false</enable>
		<load>false</load>
		<protocol>SSLv3</protocol>
		<client-auth-enable>false</client-auth-enable> 
		<secure-store>
			<type>JKS</type>
			<algorithm>SunX509</algorithm>
			<provider>SUN</provider>
			<key-store-info>
				<store-file>user1.keystore</store-file>
				<store-password>user1spass</store-password>
				<key-password>user1kpass</key-password>
			</key-store-info>
		</secure-store>
	</secure>
</quickserver>

