root/trunk/etc/ice.config
| Revision 3040, 3.7 kB (checked in by jmoore, 2 months ago) |
|---|
| Line | |
|---|---|
| 1 | # |
| 2 | # OmeroBlitz example configuration file |
| 3 | # ------------------------------------- |
| 4 | # |
| 5 | # Configuration files are usable by all clients to modify |
| 6 | # connection information for connecting to an OMERO.blitz |
| 7 | # server by editing the environment parameter: ICE_CONFIG |
| 8 | # |
| 9 | # Rather than editing this file, it is also possible |
| 10 | # to use a multiple file argument to Ice.Config, e.g.: |
| 11 | # |
| 12 | # export ICE_CONFIG=etc/ice.config,etc/private.config |
| 13 | # |
| 14 | # where later configuration files take precedence. Finally, |
| 15 | # some clients may also support passing options over the |
| 16 | # command-line: |
| 17 | # |
| 18 | # ./myClient --Ice.Config=etc/private.config --omero.pass=secret |
| 19 | # |
| 20 | # depending on whether or not the client passes command-line |
| 21 | # arguments to the omero.client constructor. |
| 22 | # |
| 23 | # So in general, a configuration file is unnecessary since |
| 24 | # all required parameters can be provided via omero.client |
| 25 | # methods: |
| 26 | # |
| 27 | # omero.client c = new omero.client("localhost", myPort) |
| 28 | # c.createSession(user, password) |
| 29 | # |
| 30 | # but can be useful none the less. |
| 31 | |
| 32 | |
| 33 | # Properties, examples, and explanations |
| 34 | # -------------------------------------- |
| 35 | |
| 36 | # Ice.Default.Router is the main property for connecting to |
| 37 | # a server. By default, omero uses a template value and |
| 38 | # replaces @omero.host@ and @omero.port@ with the given |
| 39 | # values. If a non-template string is provided, it will |
| 40 | # be used directly. |
| 41 | |
| 42 | ## Ice.Default.Router=OMERO.Glacier2/router:tcp -p @omero.port@ -h @omero.host@ (default) |
| 43 | ## Ice.Default.Router=OMERO.Glacier2/router:tcp -p 10000 -h host.example.com |
| 44 | |
| 45 | # Instead of defining the entire Ice.Default.Router property, |
| 46 | # it is also an option to specify just omero.host which will |
| 47 | # be inserted into a template Ice.Default.Router |
| 48 | |
| 49 | omero.host=localhost |
| 50 | |
| 51 | # If your blitz server runs on a non-standard port (not 4063) |
| 52 | # then omero.port can also be set. |
| 53 | |
| 54 | ## omero.port=4063 (default) |
| 55 | ## omero.port=14063 |
| 56 | |
| 57 | # Login information can also be provided via configuration |
| 58 | # files, though storing passwords in config files can be |
| 59 | # dangerous. |
| 60 | |
| 61 | omero.user=user |
| 62 | omero.pass=SUPER_SECRET |
| 63 | |
| 64 | # All "omero.ClientCallback.*" properties configure the |
| 65 | # object adapter in each omero.client instance used for |
| 66 | # server callbacks. By default, the callback is |
| 67 | # configured with just "tcp" so that the Ice runtime |
| 68 | # can choose a port. Any property beginning with |
| 69 | # "omero.ClientCallback" which the Ice runtime does |
| 70 | # not understand will issue a warning. |
| 71 | |
| 72 | ## omero.ClientCallback.Endpoints=tcp -h localhost |
| 73 | ## omero.ClientCallback.Endpoints=tcp -p 10000 |
| 74 | ## omero.ClientCallback.ThreadPool.Size=5 |
| 75 | ## omero.ClientCallback.ThreadPool.SizeMax=25 |
| 76 | |
| 77 | # Other properties: Any prefix preferenced with "omero" |
| 78 | # will be parsed by the omero.client objects in all available |
| 79 | # languages. |
| 80 | # |
| 81 | # For example, the following is used in the test cases for |
| 82 | # creating a root login. |
| 83 | |
| 84 | omero.rootpass=ome |
| 85 | |
| 86 | |
| 87 | # By setting omero.dump to any non-empty property, all |
| 88 | # the settings for the current communicator will be printed |
| 89 | # on creation. Careful: This prints your password. |
| 90 | |
| 91 | ## omero.dump=1 |
| 92 | |
| 93 | # |
| 94 | # Other Ice properties |
| 95 | # |
| 96 | |
| 97 | # Determines the maximum size of any single message which |
| 98 | # can be recieved from or sent to OMERO.blitz. This value |
| 99 | # can be lowered to prevent memory exhaustion, but if an |
| 100 | # overly large message is sent to the client, then an |
| 101 | # exception will be thrown. If the client tries to send |
| 102 | # too much information in one call to the server, the |
| 103 | # server's setting for MessageSizeMax will determine |
| 104 | # whether or not an exception is thrown. |
| 105 | |
| 106 | ## Ice.MessageSizeMax=8192 |
| 107 | |
| 108 | # Garbage collection times (in secs) C++ only |
| 109 | |
| 110 | ## Ice.GC.Interval=60 |
| 111 | |
| 112 | # Logging: The Ice runtime has a number of logging statements |
| 113 | # from trace to warning levels. See the appendix of the online |
| 114 | # documentation for more choices. |
| 115 | |
| 116 | ## Ice.Warn.Connections=0 |
| 117 | ## Ice.Trace.GC=0 |
Note: See TracBrowser
for help on using the browser.
