APA-Module Components
Web Client
A29247-X2-X-8-7670
55
Grant Java rights on the local computer using the 'java.policy' file
For safety reasons vitual machines (VM), which are required e.g. by java applets in a web
browser, have very restricted rights on the local computer. You have to grant rights to the
java VM in order to access the local filesystem via the PJM in the Web. You can grant these
rights using the file 'java.policy' in the home directory:
Win9x:
<Systemdrive>:\windows\profiles\<username>
bzw.
WinNT 4:
<Systemdrive>:\winnt\profiles\<useneame>
bzw.
Win 2000:
<Systemdrive>:\documents and settings\<Username>
Minimal rights necessary for the server are documented in the following example of a ja-
va.policy file:
-----------------------------------------------------------------------------------------------------------------------
grant codeBase "http://160.120.20.112/explorer/codebase/pjm.jar" {
permission java.lang.RuntimePermission "modifyThread";
permission java.lang.RuntimePermission "shutdownHooks";
};
grant codeBase "http://160.120.20.112/explorer/codebase/ppBase.jar" {
permission java.lang.RuntimePermission "shutdownHooks";
};
grant codeBase "http://160.120.20.112/explorer/ppExplorer.jar" {
permission java.lang.RuntimePermission "shutdownHooks";
};
-----------------------------------------------------------------------------------------------------------------------
The IP address 160.120.20.112 has to be replaced by the address of the server. If this con-
tents is placed as 'java.policy' in the home directory of the user, all browser processes have
to be stopped. The new rules are only accepted after a restart.
Another possibility to grant these rights is to use the program 'policytools', which is a free
tool provided by Sun Microsystems™. The use of this tool is not described here.
For safety reasons it is not recommended to grant access rights to the local file system via
the 'java.policy' file.
Java Runtime System
The Java Runtime Environment 1.3.1 is required for the Web PJM. It is offered for installa-
tion after the first start of the Web PJM.
Содержание PRISMAproduction
Страница 1: ...Oc Oc User Guide Oc PRISMAproduction Server V3 02 APA Module...
Страница 4: ...A29247 X2 X 8 7670...
Страница 5: ...Index...
Страница 6: ...A29247 X2 X 8 7670...
Страница 116: ...Messages PRISMAproduction Explorer 104 A29247 X3 X 6 7670 An answered question looks like this...
Страница 148: ...Directory Viewer PRISMAproduction Explorer 136 A29247 X3 X 6 7670...
Страница 224: ...TicketRules Configuration 212 A29247 X6 X 6 7670...
Страница 235: ...PRISMAproduction Network Functions PRISMA SNMP Interface A29247 X2 X 8 7670 223...
Страница 316: ...PJM in Command Line Mode Print Job Manager 304 A29247 X3 X 6 7670...
Страница 336: ...PRISMA Command Line Tools Command Line Interface 324 A29247 X2 X 8 7670...
Страница 340: ...Linedata 328 A29247 X2 X 8 7670...