Problem

How do I change JacORB properties, for example to increase verbosity?

Solution

  • JacORB properties are defined in the .jacorb_properties file.
  • The default .jacorb_properties= file in ACS is in $ACSDATA/config
  • Look at this file for the available properties anf for a short description.
  • Look at the jacORB documentation for more details
  • You can put a local copy of this file in your home directory.
  • If you start ACS java applications through acsStartJava of using a script that uses it,
    • you can override any property by setting it in the JAVA_OPTIONS environment variable.
      For example, to set to 3 the verbosity level of JacORB when starting a container:
      JAVA_OPTIONS="-Djacorb.log.default.verbosity=3" acsStartContainer -java pippo
    • if you use directly acsStartJava of the wrapper script passes down to it the command line parameters you can also set directly it on the command line using the -D command line parameter:
      acsStartJava -Djacorb.log.default.verbosity=3 myJavaClass
  • Update: since ACS 7.0, jacorb verbosity should normally be controlled via CDB log level settings. The jacorb logs are filtered and added to the ACS log stream. jacorb.log.default.verbosity becomes the first stage in this filtering chain.