uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

Appendix I.2 Settings for using the character code conversion UOC

This section describes the settings required for using character code conversion UOC.

Organization of this subsection
(1) Definition of property (self-defined file)
(2) Settings for using jar file of the character code conversion UOC

(1) Definition of property (self-defined file)

The character code conversion UOC can divide the character code conversion processes by acquiring the custom reception or self-defined file. Always specify name of self-defined file as "csc_owncodeconvert.properties".

Specify the self-defined file in format such as "<key value>= <specified value>".

Specify any value as the key value and specified value.

(2) Settings for using jar file of the character code conversion UOC

Following settings are required for using the character code conversion UOC created in development environment, in the execution environment.

(a) Adding a class path

Procedure for adding a class path in option definition file (usrconf.cfg) for J2EE server, is as follows:

  1. Select Logical server environment settings from the management portal.
  2. From Server view, select [Logical J2EE server]-[J2EE server]-[<Logical server name>].
  3. Specify a class path in Extension parameter of Container tab.
    Specify the class path in following format:
    add.class.path=<path of jar file>
    <Path of jar file>
    Specify jar file of character code conversion UOC, in absolute path.
(b) Registering a jar file

Procedure for registering a class name in user property file (usrconf.properties) for J2EE server is as follows:

  1. Select Logical server environment settings] from the management portal.
  2. From the Server View, select [Logical J2EE server]-[J2EE server]-[<Logical server name>].
  3. Specify class name (including package name) in the [Properties] of [JVM] tab.
    Specify class name (including package name) in the following format.
    csc.dt.ownCodeConverter.className=<class name of character code conversion UOC>
    <Class name of character code conversion UOC>
    Specify class of character code conversion UOC with the fully qualified name.