OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

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

1.3.1 Installation

Organization of this subsection
(1) Provided medium and format
(2) Installation target of the class library file
(3) Specifying the file access authority

(1) Provided medium and format

To support multiple platforms, TP1/Client/J is provided as a Joliet-format CD-ROM. To install the product on a non-PC machine, you must first install it on a PC and then install it on the target machine using a method such as a file transfer in the binary mode.

Because the TP1/Client/J files are stored in long-file-name format, the OS on the target PC must support this file name format.

The TP1/Client/J files are stored in the two directories described below.

Table 1-1 TP1/Client/J files and storage directories

Storage directory TP1/Client/J file Description
LIB TP1Client.jar Stores the class libraries of TP1/Client/J in jar format.
SAMPLES AppletSample.html Stores sample source codes for applets, applications, and servlets that use TP1/Client/J.
AppletSample.java
ApplicationSample.java
betran.ini
ServletSample.java

(2) Installation target of the class library file

This section describes the installation target of the class library file.

For developing and executing a Java applet
Save the TP1Client.jar file in a desired directory and specify it with the applet HTML tag.

For executing a Java application
To use JDK, save the TP1Client.jar file in a desired directory and specify the CLASSPATH environment variable.

For executing a Java servlet
Save the TP1Client.jar file according to the specifications of the Java servlet to be used.

(3) Specifying the file access authority

The following table shows the files that are accessed by TP1/Client/J and the required access authorities.

Table 1-2 Files used by TP1/Client/J and the required access authorities

File type Access type Storage location
TP1/Client/J class library Read Any location.
TP1/Client/J environment definition Read Any location.
UAP trace file Write Directory specified in the dcuaptracepath operand of the TP1/Client/J environment definition or in the path argument of the setUapTraceMode method.
Data trace file Write Directory specified in the dcdatatracepath operand of the TP1/Client/J environment definition or in the path argument of the setDataTraceMode method.
Method trace file Write Directory specified in the dcmethodtracepath operand of the TP1/Client/J environment definition or in the path argument of the setMethodTraceMode method.
Error trace file Write Directory specified in the dcerrtracepath operand of the TP1/Client/J environment definition or in the path argument of the setErrorTraceMode method.
Debug trace file Write TP1clientJ directory under the home directory of the user executing the Java VM.

To apply the security manager to the Java VM on which a client program using TP1/Client/J is running, specify appropriate permissions for the security policy file so that the TP1/Client/J class library can access these files. In the case of Java servlets and EJB, some application server products with these containers may be using the security manager by default for security purposes. Check the specifications of the application server you are using and specify appropriate permissions.