Consultor Eletrônico



Kbase 18860: Apptivity Java Distribution Manager on AS400 V4R2M0 JDK1.1.4
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/05/1999
Apptivity Java Distribution Manager on AS400 V4R2M0 JDK1.1.4

DRAFT COPY - Currently under review and edit.

Creation Date: 23-May-1999

Modified Date:

This document applies to: Apptivity

Version and Release Number: 3.01


Summary:


Apptivity Java Distribution Manager on AS400 V4R2M0 JDK 1.1.4

Step by step details:


Apptivity 3.x is currently (23. May 1999) not released yet for
AS400 and that is why also no documentation exists at this time.
That article may assists customer needs to test already
their application on the JVM for AS400 to get faster success.

The system console command on the AS400 machine
to check if the JDK is installed is:

GO LICPGM
10

and look there for an entry like

5769JV1 *COMPATIBLE AS/400 Developer Kit for Java

on the IBM Web side under:

http://publib.boulder.ibm.com/pubs/html/as400/java/rzaha.htm

precise info exists for the case JDK is not installed yet.

Client Access for Windows95/NT opens the door to the AS400
machine and it is a breeze to copy complete directories
containing java class files using the Windows Explorer over
Network Neighborhood->Entire Network->Client Access Network
to the AS400 under a directory created with the
Integrated File System tool short called IFS tool.

The following AS400 console and IFS tool commands are
for that purpose usefully:

addlible ifstools adds the IFS tools to the library list.

mkdir create a directory

cd change to a different working directory

dspcurdir display the current working directory

dsplnk get display information about the directories and classes


mov move complete directory objects to a different directory


The fastest, easiest and safest way to get Apptivity 3.x
Distribution Manager class files installed to the AS400 machine
is similar to an installation on a UNIX box described in
the Readme under Apptivity30/Server/Unix by using the
Java jar utility to unjar 301Runtime.jar on the client machine

(command: jar xvf filename)

and copying the that way built directory structure
with the Windows Explorer below the with the IFS tool
created directory from where you want start the
Apptivity Java Distribution Manager.
Additional to ensure a better compatibility with the JVM unzip
Apptivity's JDK 1.1.6 java/lib/classes.zip with Winzip and copy
that directory structure as well below the start directory of the
Distribution Manager where it's properties file created on the
client with the name dmanager.properties has to reside
as well that an directory structure on the AS400 machine
with the dsplnk console command like the
below example appears.

Directory . . . . : /rwe/app

Type options, press Enter.
5=Next level 8=Display attributes

Opt Object link Type
com DIR
dmanager.propertie > STMF
java DIR
javax DIR
jdbc DIR
netscape DIR
org DIR
progress DIR
sun DIR
sunw DIR
Gallery DIR
Ie DIR


Also make sure the Ie.Iona.OrbixWeb.SSL package directory
contains the SSL classes from the Apptivity redistSSL
app30.zip if the Server-NFE version is installed.
While on several Unix systems, Netware5, Windows95
or Windows NT the JVM of the JDK 1.1.6 doesn't take
care of any class references in an import statement of
a class as long as it is not used while execution
the AS400 JDK 1.1.4 Interpreter doesn't tolerate such
inaccuracy and will exit with a

ClassNotfoundException
Progress.apptivity.server.iiop.ow.abORB
if it doesn't find the referenced classes in that case ssl
also if they are not used at all,
which makes AS400 the platform of choice for checking the
accuracy of a java application.

Example for the contents of the dmanager.properties file:

apptivity.dmanager.host=priorat

Replace priorat through the host name of your AS400.

After that the only thing still to do is to set the CLASSPATH environm
ent variable to the current Distribution Manager starting and working
directory (.)
with the console command:

wrkenvvar

Opt Name Value

1 CLASSPATH '.'


And start the Apptivity Java Distribution Manager
with that syntax:

JAVA CLASS('progress.apptivity.dmanager.DistributionManager')
OPTIMIZE(40)

The above description is based on tests made with
Apptivity 3.01 build 159 appearing the Distribution Manager
working fine on AS400 V4R2M0 and the installed JDK 1.1.4
5769JV1 *COMPATIBLE AS/400 Developer Kit for Java .

References To Written Documentation or Other
KnowledgeBase Documents:

Apptivity Deployment Guide
Apptivity 3.01 Online Documentation
http://publib.boulder.ibm.com/pubs/html/as400/java/rzaha.htm


DISCLAIMER


The origins of this information may be internal or
external to Progress Software Corporation. Progress
Software Corporation makes all reasonable efforts
to verify this information. However, the
information provided in this document is for your
information only.
Progress Software Corporation makes no explicit or
implied claims to the validity of this information.


Any trademarks referenced in this document are the
property of their respective owners. Consult your
product manuals for complete trademark information.


Copyright 1999 Progress Software Corporation, Inc.

All Rights Reserved.