uCosminexus Application Server, Command Reference Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
cjenvsetup (set up Component Container Administrator)
Format
Function
This command changes the attributes (owner, group, and permissions) of the installation files. This command is for UNIX.
The attributes (owner and group) of the installation directory (/opt/Cosminexus/CC) are set as the Component Container Administrator and the Component Container Administrator group.
The execution information of this command is output to a message log and a text file. For details on the output contents and the output destination of the execution information, see 4.1.4 Precautions related to setting up Component ContainerAdministrator (in UNIX) in the uCosminexus Application Server System Setup and Operation Guide.
Arguments
Return values
- 0:
- The command terminated normally.
- 1:
- The command terminated abnormally.
Notes
- Before you execute the cjenvsetup command, you must change attributes (owner and group) of the installation directory (link destination directory when /opt/Cosminexus/CC is a symbolic link) to the Component Container Administrator and the Component Container Administrator group.
- You do not perform the following operations when the cjenvsetup command is running. If performed, the operations might not function properly.
- Manipulation of a file in the installation directory (/opt/Cosminexus/CC)
- Starting or stopping the server
- When a symbolic link is being used in the installation directory, you do not execute the cjenvsetup command if no file or directory exists for the specified link. Be sure to check that the link destination exists before you execute this command.
- This command does not change the attributes of the directory specified in the ejb.server.log.directory key of usrconf.cfg (option definition file for J2EE servers). Change the attributes of the directory specified in the ejb.server.log.directory key manually.
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.