.h2.server.properties

1,449 views
Skip to first unread message

Rami

unread,
May 5, 2011, 3:21:35 PM5/5/11
to h2-da...@googlegroups.com
What settings can be made in file .h2.server.properties?
Do these settings override the commandline parameters given
to org.h2.tools.Server or the other way around?

- rami

Thomas Mueller

unread,
May 9, 2011, 1:07:10 PM5/9/11
to h2-database
Hi,

> What settings can be made in file .h2.server.properties?
> Do these settings override the commandline parameters given
> to org.h2.tools.Server or the other way around?

The documentation at
http://h2database.com/html/tutorial.html#console_settings is not
clear, I will extend it:

Supported settings are:

webAllowOthers: allow other computers to connect.
webPort: ahe port of the H2 Console
webSSL: use encrypted (HTTPS) connections.
In addition to those settings, the properties of the last recently
used connection are listed in the form
<number>=<name>|<driver>|<url>|<user> using the escape character \.
Example: 1=Generic H2 (Embedded)|org.h2.Driver|jdbc\:h2\:~/test|sa

Regards,
Thomas

Reply all
Reply to author
Forward
0 new messages