ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/corbaservices/build/jacorb.properties
Revision: 1.1
Committed: Fri Feb 21 13:45:47 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Log Message:
Main change is making the use of jacorb.properties transparent to the end
user - something which should have been done with CorbaServices a long time
ago :-) Now a base jacorb.properties is included in the jar files, because
it's searched by the jacorb loading stuff. The only value outside of the
jar file is the naming service location, which can now be found in the
default.properties files.

The server and corbaservices assume that the naming services is running on
localhost on port 8052, which is ok for most normal things. If it's on a
different host the default.properties just needs fixing.

Also added a default.properties style thing to the corbaservices, and fixed
some bugs in the command line argument parsing.

Finally, fixed a bug with the make src target of all the Makefiles.

File Contents

# Content
1 ##
2 ## JacORB configuration options
3 ##
4
5 ########################################
6 # #
7 # Initial references configuration #
8 # #
9 ########################################
10
11 #
12 # URLs where IORs are stored (used in orb.resolve_initial_service())
13 # DO EDIT these! (Only those that you are planning to use,
14 # of course ;-).
15 #
16 # The ORBInitRef references are created on ORB startup time. In the
17 # cases of the services themselves, this may lead to exceptions being
18 # displayed (because the services aren't up yet). These exceptions
19 # are handled properly and cause no harm!
20
21 #ORBInitRef.NameService=corbaloc::160.45.110.41:38693/StandardNS/NameServer%2DPOA/_root
22 #ORBInitRef.NameService=file:/c:/NS_Ref
23 #ORBInitRef.NameService=http://www.x.y.z/~user/NS_Ref
24 #ORBInitRef.TradingService=http://www.x.y.z/~user/TraderRef
25
26
27 ########################################
28 # #
29 # Export of corbaloc IORs #
30 # #
31 ########################################
32
33 # allow for more readable corbaloc URLs by mapping the
34 # actual object key to an arbitrary string the mapping
35 # below would permit clients of a name service to
36 # access it using corbaloc::ipaddress:portnum/NameService
37 # Note: it is NOT necessary to define this property for
38 # the name service here because this is done already in the
39 # code of the ns implementation
40
41 # example:
42 #jacorb.orb.objectKeyMap.NameService=StandardNS/NameServer-POA/_root
43
44 ##################################
45 # #
46 # Appligator support #
47 # #
48 ##################################
49
50 # The appligator acts as a remote proxy for objects behind a firewall.
51 # The appligator is started on a fixed port corresponding
52 # to a hole in the firewall via which the proxy can be accessed.
53 #
54 # Remote clients can access one or more appligators depending on
55 # configuration. The 'jacorb.ProxyServer.URL' is the default
56 # appligator to use. Multiple additional appligators can be
57 # configured for remote subnets using the subnet form of URL
58 # configuration. The subnet for a scoped appligator is calculated
59 # by the logical anding of the network and netmask values.
60 #
61 # Clients are redirected to an appligator via the use of a client
62 # side portable interceptor. This can be installed by configuring
63 # a portable ORB initializer 'org.jacorb.proxy.ProxyClientInitializer'.
64 #
65 # The network and netmask configuration properties can optionally be
66 # used to configure the network for the local client. If this is done
67 # the calls to objects within the local subnet will not be redirected.
68 #
69 # The 'jacorb.ProxyServer.ID' property can be used to configure the
70 # object identity for the appligator IOR. If not set this defaults
71 # to 'Appligator'. For additionaly security it is recommended that
72 # this be set to some other value.
73 #
74 # The 'jacorb.ProxyServer.Name' property is the name by which the
75 # appligator adds itself to the name service (if available) on
76 # startup.
77
78 #jacorb.ProxyServer.Name=Appligator
79 #jacorb.ProxyServer.ID=Appligator
80 #jacorb.ProxyServer.Netmask=255.255.255.0
81 #jacorb.ProxyServer.Network=160.45.110.0
82 #jacorb.ProxyServer.URL=<url>
83 #jacorb.ProxyServer.URL-<network1>-<netmask1>=<url1>
84 #jacorb.ProxyServer.URL-<network2>-<netmask2>=<url2>
85
86 ##################################
87 # #
88 # ORB version number output #
89 # #
90 ##################################
91
92 # if on, the ORB's version number is printed
93 # any time the ORB is initialized
94 jacorb.orb.print_version=off
95
96 ##################################
97 # #
98 # Debug output configuration #
99 # #
100 ##################################
101
102 # use (java) jacorb.util.CAD to generate an apropriate
103 # verbosity level
104 # 0 = off
105 # 1 = important messages and exceptions
106 # 2 = informational messages and exceptions
107 # >= 3 = debug-level output (may confuse the unaware user :-)
108 jacorb.verbosity=1
109
110 # where does output go? Terminal is default
111 #jacorb.logfile=LOGFILEPATH
112
113 # hexdump outgoing messages
114 jacorb.debug.dump_outgoing_messages=off
115
116 # hexdump incoming messages
117 jacorb.debug.dump_incoming_messages=off
118
119
120 ##################################################
121 # #
122 # WARNING: The following properties should #
123 # only be edited by the expert user. They #
124 # can be left untouched in most cases! #
125 # #
126 ##################################################
127
128
129
130 ################################
131 # #
132 # Basic ORB Configuration #
133 # #
134 ################################
135
136 # the GIOP minor version number to use for newly created IORs
137 jacorb.giop_minor_version=2
138
139 # number of retries if connection cannot directly be established
140 jacorb.retries=5
141
142 # how many msecs. do we wait between retries
143 jacorb.retry_interval=500
144
145 # size of network buffers for outgoing messages
146 jacorb.outbuf_size=2048
147
148 # log2 of maximum buffer size managed by the internal
149 # buffer manager.
150 #
151 # This is NOT the maximum buffer size that
152 # can be used, but just the largest size of buffers that
153 # will be kept and managed. This value will be added to
154 # an internal constant of 5, so the real value in bytes
155 # is 2**(5+maxManagedBufSize-1). You only need to increase this
156 # value if you are dealing with LOTS of LARGE data structures.
157 # You may decrease it to make the buffer manager release large
158 # buffers immediately rather than keeping them for later
159 # reuse.
160 jacorb.maxManagedBufSize=18
161
162 # Wait the specified number of msecs for a reply to a request. If
163 # exceeded, a org.omg.CORBA.IMP_LIMIT exception will be thrown
164 #jacorb.client.pending_reply_timeout=0
165
166 # client-side connection idle timeout, set no non-zero to stop
167 # blocking after so many msecs.
168 #
169 # WARNING: This is independent of pending replies, i.e. the connection
170 # can also close, if the timeout is exceeded, but there are unanswered
171 # requests.
172 #jacorb.connection.client_idle_timeout=0
173
174 # max time a server keeps a connection open if nothing happens
175 #
176 # WARNING: This is independent of the requests currently being
177 # processed, i.e. the connection can also close, if the timeout is
178 # exceeded, but there are unanswered requests.
179 #
180 #jacorb.connection.server_timeout=10000
181
182 #jacorb.reference_caching=off
183
184 #
185 # The following property specifies the class which is used for
186 # reference caching. WeakHashtable uses WeakReferences, so entries
187 # get gc'ed if only the Hashtable has a reference to them. This
188 # is useful if you have many references to short-living non-persistent
189 # CORBA objects. It is only available for java 1.2 and above.
190 #
191 # On the other hand the standard Hashtable keeps the references until
192 # they are explicitely deleted by calling _release(). This is useful
193 # for persistent and long-living CORBA objects.
194 #
195 #jacorb.hashtable_class=org.jacorb.util.WeakHashtable
196 #
197 jacorb.hashtable_class=java.util.Hashtable
198
199 # use GIOP 1.2 byte order markers (since CORBA 2.4-5)
200 jacorb.use_bom=off
201
202 # add additional IIOP 1.0 profiles even if we are using IIOP 1.2
203 jacorb.giop.add_1_0_profiles=off
204
205 ###########################################
206 # #
207 # Socket Factories #
208 # #
209 ###########################################
210
211 # A factory design pattern is used for the creation of sockets and server
212 # sockets.
213 # The jacorb.net.socket_factory property can be used to configure
214 # a socket factory that must implement the operations defined in the
215 # interface org.jacorb.orb.factory.SocketFactory.
216 # The jacorb.net.server_socket_factory property can be used to configure a
217 # server socket factory that must implement the operations defined in the
218 # interface org.jacorb.orb.factory.ServerSocketFactory.
219 #
220 #jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory
221 #jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory
222 #
223 # An additional socket factory is supported that allows for the configuration
224 # of maximum and minimum port numbers that can be used. This can be used to
225 # enable firewall traversal via a fixed port range. To use this socket factory
226 # configure the following two properties.
227 #
228 #jacorb.net.socket_factory.port.min
229 #jacorb.net.socket_factory.port.max
230
231 ###########################################
232 # #
233 # BiDirectional GIOP #
234 # #
235 ###########################################
236
237 # uncomment this initializer if you want to use BiDirectional GIOP
238
239 #org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.connection.BiDirConnectionInitializer
240
241
242 ###########################################
243 # #
244 # Proxy address in IOR #
245 # #
246 ###########################################
247
248 #
249 # with these two properties it is possible to
250 # tell the ORB what IP/port IORs should contain,
251 # if the ServerSockets IP/port can't be used
252 # (e.g. for traffic through a firewall).
253 #
254 # WARNING: this is just "dumb" replacing, so you
255 # have to take care of your configuration!
256 #
257
258 #jacorb.ior_proxy_host=1.2.3.4
259 #jacorb.ior_proxy_port=4711
260
261
262 ###########################################
263 # #
264 # The Object Adapter Internet Address #
265 # #
266 ###########################################
267
268 # IP address on multi-homed host (this gets encoded in
269 # object references). NOTE: Adresses like 127.0.0.X
270 # will only be accessible from the same machine!
271 #OAIAddr=1.2.3.4
272 #OAPort=4711
273
274
275 ############################
276 # #
277 # Default Interceptors #
278 # Please leave them in! #
279 # #
280 ############################
281 org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
282
283
284
285 ###############################################
286 # #
287 # Implementation Repository Configuration #
288 # #
289 ###############################################
290 # Switch off to avoid contacting the ImR on every server start-up
291 jacorb.use_imr=off
292
293 # Switch off if you don't want to write the ImR address into server IORs
294 # (ignored if jacorb.use_imr=off)
295 jacorb.use_imr_endpoint=on
296
297 # if set to "on", servers that don't already have an entry on their
298 # first call to the imr, will get automatically registered. Otherwise,
299 # an UnknownServer exception is thrown.
300 jacorb.imr.allow_auto_register=off
301
302 # if set to "on", the imr will try to "ping" every object reference,
303 # that it is going to return. If the reference is not alive, TRANSIENT
304 # is thrown.
305 jacorb.imr.check_object_liveness=off
306
307 #ORBInitRef.ImplementationRepository=http://www.x.y.z/~user/ImR_Ref
308
309 #jacorb.imr.table_file=Z:\table.dat
310 #jacorb.imr.backup_file=z:\backup.dat
311 #jacorb.imr.ior_file=/home/bwana/brose/public_html/ImR_Ref
312 jacorb.imr.timeout=
313 jacorb.imr.no_of_poas=
314 jacorb.imr.no_of_servers=
315 # Start IMR on a fixed port (equivilant to -p option)
316 jacorb.imr.port_number=
317
318 # how many millis should the imr wait, until a connection from an
319 # application client is terminated. Default is 2000.
320 jacorb.imr.connection_timeout=2000
321
322 # the implementation name, should be set to a different
323 # name in the code of persistent servers
324 jacorb.implname=StandardImplName
325
326 #
327 # This is supposed to be a generic startup string for everything
328 # that calls Runtime.exec(). Might be replaced by jaco[.bat].
329 #
330 jacorb.java_exec=java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
331
332
333
334 #########################
335 # #
336 # SSL Configuration #
337 # #
338 #########################
339
340 #
341 # The port number used by SSL, will be dynmically assigned
342 # by default
343 #
344
345 #OASSLPort=4711
346
347 # This interceptor must be set if programs need access to
348 # certificates using the CORBA Security API, SSL works also
349 # without this interceptor
350
351 #org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.SecurityServiceInitializer
352
353
354 # qualified classname of access decision object
355 jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl
356
357 # list of qualified classnames of principal authenticator objects,
358 # separated by commas (no whitespaces!). The first entry (that can
359 # be successfully created) will be available through the
360 # principal_authenticator property.
361 jacorb.security.principal_authenticator=org.jacorb.security.level2.PrincipalAuthenticatorImpl
362
363 # the qualified classname of the ssl socket factory class
364 #jacorb.ssl.socket_factory=org.jacorb.security.ssl.sun_jsse.SSLSocketFactory
365 jacorb.ssl.socket_factory=org.jacorb.security.ssl.iaik.SSLSocketFactory
366
367 # the qualified classname of the ssl server socket factory class
368 #jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.sun_jsse.SSLServerSocketFactory
369 jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.iaik.SSLServerSocketFactory
370
371 # exchange ssl client server roles to enforce client authentication, but
372 # attention: this causes problems with peers that not prepared to handle
373 # this role change
374 jacorb.security.change_ssl_roles=off
375
376 # IIOP/SSL parameters (numbers are hex values, without the leading "0x"):
377 # NoProtection = 1
378 # EstablishTrustInClient = 40
379 # EstablishTrustInTarget = 20
380 # mutual authentication = 60
381 # please see the programming guide for more explanation
382
383 jacorb.security.support_ssl=off
384
385 jacorb.security.ssl.client.supported_options=0
386 jacorb.security.ssl.client.required_options=0
387
388 jacorb.security.ssl.server.supported_options=0
389 jacorb.security.ssl.server.required_options=0
390
391 #
392 # If set, the following two values will be placed in the IOR, if
393 # "corbaloc:ssliop" ssliop.
394 #
395 # If not set, only EstablishTrustInTarget is used for both supported
396 # and required options. EstablishTrustInClient is not set, and the
397 # rest of the Association Options aren't currently used anyway.
398 #jacorb.security.ssl.corbaloc_ssliop.supported_options=0
399 #jacorb.security.ssl.corbaloc_ssliop.required_options=0
400
401 # The name and location of the keystore. This may be absolute or
402 # relative to the home directory.
403 #
404 # NOTE (for Sun JSSE users): The "javax.net.ssl.trustStore[Password]"
405 # properties don't seem to take effect, so you may want to add trusted
406 # certificates to "normal" keystores. In this case, please set the
407 # property "jacorb.security.jsse.trustees_from_ks"is to "on", so trusted
408 # certificates are taken from the keystore instead of a dedicated
409 # truststore.
410 jacorb.security.keystore=
411 jacorb.security.keystore_password=
412
413
414 #
415 # IAIK specific settings
416 #
417
418 # files with public key certs of trusted CAs
419 #
420 # WARNING: If no CA certs are present, the IAIK chain verifier will
421 # accept ALL otherwise valid chains!
422 #
423 jacorb.security.trustees=
424
425 # the name of the default key alias to look up in the keystore
426 jacorb.security.default_user=
427 jacorb.security.default_password=
428
429 # have iaiks ssl classes print debug output to stdout
430 jacorb.security.iaik_debug=off
431
432 #
433 # Sun JSSE specific settings
434 #
435 # Use the keystore to take trusted certs from.
436 jacorb.security.jsse.trustees_from_ks=off
437
438 # A comma-separated (no whitespaces!) list of cipher suite names. See
439 # the JSSE docs on how to obtain the correct cipher suite strings
440 jacorb.security.ssl.server.cipher_suites=
441 jacorb.security.ssl.client.cipher_suites=
442
443 #########################
444 # #
445 # POA Configuration #
446 # #
447 #########################
448
449 # displays a GUI monitoring tool for servers
450 jacorb.poa.monitoring=off
451
452 # thread pool configuration for request processing
453 jacorb.poa.thread_pool_max=20
454 jacorb.poa.thread_pool_min=5
455
456 # if set, request processing threads in thePOA
457 # will run at this priority. If not set or invalid,
458 # MAX_PRIORITY will be used.
459 #jacorb.poa.thread_priority=
460
461 # size of the request queue, clients will receive Corba.TRANSIENT
462 # exceptions if load exceeds this limit
463 jacorb.poa.queue_max=100
464
465
466 ##################################
467 # #
468 # Name Service Configuration #
469 # #
470 ##################################
471
472 # Whether non active references are purged from name service
473 # when list operation is invoked.
474
475 jacorb.naming.purge=on
476
477 # Port on which to run service
478
479 # jacorb.naming.port=
480
481 ########################################
482 # #
483 # Trader configuration, please see #
484 # src/trading/README.PROPERTIES for #
485 # explanation #
486 # #
487 ########################################
488
489 jtrader.util.max_threads=10
490 jtrader.util.min_threads=1
491 jtrader.util.query_timeout=5000
492 jtrader.impl.cache_max=100
493
494 # boolean values, e.g. true / false
495 #jtrader.modifiable_properties=
496 #jtrader.dynamic_properties=
497 #jtrader.proxy_offers=
498
499 jtrader.debug=false
500 jtrader.debug_verbosity=3
501
502 #integer values
503 jtrader.def_search_card=
504 jtrader.max_search_card=
505 jtrader.def_match_card=
506 jtrader.max_match_card=
507 jtrader.def_return_card=
508 jtrader.max_return_card=
509 jtrader.max_list=
510 jtrader.def_hop_count=
511 jtrader.max_hop_count=
512
513 #FollowOptions
514 #always=2
515 #if_no_local=1
516 #local_only=0
517 jtrader.def_follow_policy=
518 jtrader.max_follow_policy=
519 jtrader.max_link_follow_policy=
520
521 # any other custom properties can be added here.
522 # These are available through the API (call
523 # jacorb.orb.Environment.getProperty())