EPC - 739

Date : 5 Jan 2005

Product LANSA Integrator
Version 10.0.6
Pre-Requisite Details OS/400 V4R5 or later for Integrator on iSeries.

EPC722 is a pre-requisite for Integrator on Windows (including desktop applications) however it has been superceded by EPC739 for iSeries.
LANSA Integrator must already have been installed with LANSA V10.0
EPC733 for IIS Plug-in if already using LANSA for the Web on Windows. If EPC733 is not installed JSMDirect and JSMProxy will not work.

Related Products LANSA for iSeries and/or Visual LANSA
Full Distribution In V11.0
Special Notes

(i) These are expedited procedures that assume a sound knowledge of OS/400 and/or Windows.  

(ii) After installing/upgrading LANSA Integrator, you will need to delete all the obsolete jar files manually.  Please refer to the 'Additional Install Notes' section- point 4 in this document for details.

(iii) WARNING: Do you intend to use SOAP?  

This EPC includes major changes to Integrator Studio and to SOAP Services.

a) Integrator Studio

Following installation of this EPC, existing SOAP projects (Agent or Server) will NOT be able to be maintained. A enhanced SOAP agent wizard is included but existing projects are not upward compatible so will need to be re-entered and the JAR files re-generated. There is no SOAP Server Wizard supplied with this EPC, if you have have an existing Integrator SOAP Server Project you should retain a pre-EPC 739 environment.

b) SOAP Agent Service.

After applying EPC739, existing SOAP Agent applications created under earlier versions of LANSA Integrator will NOT work. Refer to previous point concerning Integrator studio. Also, any LANSA functions using this service will require modification and re-compilation.  Please refer to the section 'SOAPAgentService' in the LANSA Integrator Guide for more information.

c) SOAP Server Service

No changes have been made to this service so existing programs will continue to execute. If you have existing programs (LANSA or 3GL) that use an Integrator SOAP Server Service you should retain a pre-EPC 739 environment.

Note: Major enhancements are currently in development for this service. Upon the availability of the new SOAP Server modifications,  all SOAP Server objects, i.e. JAR files and functions, will need to be regenerated and modified respectively.  Refer to previous points concerning Integrator Studio and SOAP Agent Service.  

(d) Please note that Axis 1.2 RC1 does not comply with JDK 5.0 (1.5).  It stops the compiler from compiling WSDL2 Java generated source code.  We recommend using  JAVA Standard Edition (JSE) 1.4.2_06.

(iv) The steps in the Tutorials section shipped in the LANSA Integrator Guide, are not currently synchronized with  the new Integrator Studio.  Please refer to the LANSA Web site for updates on documentation.

(v) When using the ZIP Service, it is important to use the 'CLOSE' command to close the archive before attempting to use it.  

Description

EPC739 contains updates to iSeries and Windows components of LANSA Integrator.

The LANSA Integrator Guide has been updated for this EPC.

View Installation instructions

EPC739 includes these changes:

CCS id.

Description
105378 JSMDirect on Windows reports/logs "Service does not exist in database", but it does exist. 
111423 JSMDirect and JSMProxy are installed to the folder JSMCGI and use the cgi-bin virtual directory rather than cgi-bin-jsmdirect resp. cgi-bin-jsmproxy virtual directories.
112973 CGI program JSMAdmin.exe is now available for Windows. This allows the DC_W29 and DC_W30 files to be updated from Integrator Studio.
114882 HTTPService to keep all HTTP responses not just 200 responses. Also STATUS and STATUS-MESSAGE properties added.
114883 AS2 outbound services support basic authentication
114895 OutboundFileHandler available to send files using HTTP protocol.
114941 Now supports integration with MQ Series on iSeries via builtin functions for LANSA applications. New BIFs are MQ_CONN, MQ_OPEN, MQ_CLOSE, MQ_DISC,
MQ_GET, MQ_PUT and MQ_DEPTH
114972 Find facility available when editing property files
115156 Allow RFI to execute the Java program without setting CA certificate on the client
115287 Studio - IDE connection to trust SSL server
115677 SOAP Agent supports WSDL documents with enumeration elements
115836 Zip error when attempting to zip large file. Source files are read in fixed buffer lengths to accommodate large source files
115901 SSL Enhancements following implementation of java 1.4.2
115997 Allow user-defined separators for separated value data. SVFileService and POP3MailService can read user-defined separated data. Introduce SEPARATOR keyword for SVFileService and POP3MailService.
115998 Add SPACE keyword to InboundNameValueHandler and OutboundNameValueHandler. User can control URL encoding space character escaping, the default is the + sign.
116000 New PDFDocumentService to create complex PDF documents.
116001 New PDFSpoolFileService to create PDF documents from iSeries spool files. This service requires requires the IBM Java Toolbox to be installed.
116413 Change service.properties service names from client suffix to service suffix. For example. ftpclient becomes FTPService.
116415 New SMSService allows SMS messages to be sent using the SMTP or HTTP protocol. The HTTP transport can only send messages to the SMS service provider www.streetdata.com.au.
118009 Support MIME Multipart content on SEND using InboundFileHandler
118010 Integrator Studio and all associated tools have been enhanced. This includes a new directory structure and the introduction of projects and solutions.

Integrator Studio is an integrated desktop application that allows a single point of management for one or more JSM Instances and the resources used by your Integrator applications or projects. Studio allows local management of content and allows this content to be published to and retrieved from the instance server. Integrator Studio also provides a single point of access for the Integrator tools.

118011 The SOAP Wizard has been redesigned. The SOAP Wizard is an application that allows you to use Web Services from the JSM.
You can use it for two main functions:
Offer your own Web Service - expose your own set of operations, with custom parameters and return values, which a third-party client can connect to and use.
Communicate with a third-party Web Service
- allow the JSM to communicate with a SOAP-based Web Service using a WSDL file supplied by that service.

 

EPC739 supersedes EPC737, EPC722, EPC716, EPC695 and EPC665 which included these changes:

CCS id. Description
EPC737 LANSA EDI Direct
109679 Corrections and extensions to Integrator services for EDI included in EPC722
116028 Corrections to sample trace statements in service.properties
   
EPC722  
109686 Add SOAP Wizard, SOAPAgentService and SOAPServerService to call or offer Web Services
111261 You can now change the instance directory security (e.g. by updating properties files) without it affecting the validation of the JSM Instance directory
111592 Incorporate desktop tools into Studio: Visual XML Wizard, XML Editor, XSL Compiler, PKI Editor, WSDL Editor, SOAP Wizard
113708 Studio - improve format of license viewer
114202 Add MimeFileTypeMap using JAF (Java Activation Framework)
114203 Add additional JVM properties - java.awt.headless, java.endorsed.dirs to JVM start
114204 Allow LANSA field values to contained embedded pre-defined entities. Example & > < &#x20
114205 POP3MailService to receive multipart/alternative
114206 SMTPMailService to be able to send body text from a specified file
114207 SQLService to return update row count in #JSMMSG field
114208 InboundFileHandler to return a file as a response. Content-type is obtained from Mime file type map.
114209 InboundNameValue can return a name value response
114210 XMLFileService only to modify xml declaration if one is present
114211 UserAgent - Improve Excel document reading
114267 Endorsed directory jar will be included in jar file optimization
114420 Add support to SMTPService to zip attachments
114421 Add support to FTPService for LIST subcommand to handle long format listings
114493 Change user.home system property to point to jsm instance system directory
This will allow user preferences to be located in the jsm instance directory - SystemDefault.properties
114636 If you are providing a customized User Agent application to your own end users, you may wish to create your own custom help text for the application. These Help files may reside locally (that is, be installed with the User Agent) or they may be available as Web pages.
Refer to the Build your own Help Files section for the Integrator User Agent in the updated Integrator Guide.
114642 Remove the use of NumberFormat class from the locale decimal value parsing logic so large numbers not in returned in exponent format
114656 Add support to UserAgent to substitute backslash character with a yen symbol
114672 A new ZIPService to archive files and directories
114673 User-Agent to auto-detect max column count and pad CSV, TSV and Excel data
114674 Change HTTP outbound RESPONSE keyword to WAIT keyword
114523 Add %%TEXT%% as a substitution variable in AS2 and AS3 services
114610 Add RESPONSE(*ERROR) support to AS2 services to create error receipts
114718 Enhance JSMDirect and JSMProxy CGI programs to handle changes in iSeries V5R2 Apache HTTP server
115162 Working list limit of 9999 entries is removed for 3GL clients
   
EPC716  
111242 Add secure FTP support to FTPService.

It is now possible to connect to an FTP server using a secure control and/or data channel. Refer to the SECURE and PROTECTION keywords of the CONNECT command for the FTPService.

112972 Additional features for the User Agent including:
- Allow User Agent to FTP files to a remote server
- Add user/password dialog prompting for all protocols
- Add basic authentication support for HTTP protocol
- Allow User Agent to trust host when doing an SSL handshake
112976 Add large column and row support to SQLService.

An EXECUTE command with no list argument will allow a large number of columns and rows to be received. The result set can then be read using the new READ command.
For example:
SET PARAMETER(*MAP) SERVICE_LIST(FIELD,COLUMN)
EXECUTE QUERY (SELECT * FROM TABLE)
READ SCROLL(*NO) SERVICE_LIST(COL1,COL2,COL3)
READ SCROLL(*YES) SERVICE_LIST(COL5,COL4,COL6)

112981 Allow <xsl:message> tag to print text to trace file.
112982 Add ACTION keyword to OutboundXMLHandler. This allows the SOAPAction http property to be included in the XML posting.
112983 Add FILENAME support to InboundFileHandler.

The FILENAME keyword allows the InboundFileHandler to select the uploaded files using the name of the file.

112984 POP3MailService exceptions do not close connection. 

If a bad email address is received, the exception is now handled, the connection is kept open and the email can be skipped or deleted.

112985 Add new keyword ONERROR to the SET command of the SQLService. This allows you to handle exceptions during command execution.
   
EPC695  
102330 Maintenance of DC@W29 and DC@W30 is now available using Integrator Studio
108650 HTTPMultiPartDecoder has been updated
109504 Null pointer error when starting the JSM with STRJSM. Licensing error has been corrected.
109686 Add support for SOAP/WSDL/UDDI and ebXML 
109687 Update Integrator syntax for consistency, usability & level of abstraction
110148 Add new service named SVFileService. The SVFileService allows CSV and TSV files to be read and created. The data can be from a local file or using the FTP protocol.
110180 Integrator Guide updated for windows usage
110652 Allow truncation of long alphanumeric fields in Integrator services. 
The optional keyword TRUNCATE has been added to Integrator service commands. This allows the service to truncate data values.
Only data values coming from the service to the function are truncated.
The default value for the TRUNCATE keyword is *NONE.
110790 XML Queue Service was not working after applying epc667. This has been corrected.
110904 Allow BCC to be used without TO in the SMTPMailService
111019 The SOAP jar file (jsmsoap.jar) is now shipped in the Integrator instance jar directory
111198 FTPService enhanced to detect the from path being /QSYS.LIB and to read a DB2 file with EBCDIC encoding converted to ASCII encoding (iSeries).
Example:
PUT FROM (/QSYS.LIB/JSMLIB.LIB/DC@W29.FILE/DC@W29.MBR) TO(dcw29.txt) CONVERT(*YES) RECORD_SIZE(166) RECORD_DELIMTER(*CRLF) FROM_ENCODING(Cp037) TO_ENCODING(ISO8859_1)
111219 Now correctly handles non-English install for RFI & User Agent independent installs.
111354 Introduce Integrator Studio (requires Sun Java v1.4)
Integrator Studio is a desktop application that allows a single point of management of one or more JSM instances. Studio allows projects to be created to manage content and this content to be published to and retrieved from the instance server.

Key Features include:
-Project management
-Instance management
-Database management

Project management allows files to be grouped under a project name:
- One or more instances can be assigned to the selected project, this allows files to be downloaded and uploaded to the instance by using either drag/drop gestures or popup menu selection.
- Some popup menus on file nodes show Retrieve and Publish menu items, these allow sections of a file to be retrieved from the instance file or published to the instance file.
- File drag/drop capability is available

Instance management provides for management of the remote JSM instance server. The JSM instance Web console must be running to access these features:
- File download and upload via drag/drop and popup menu items.
- Popup menu item on tree nodes allows the selection of different managemnt tasks.
Popup menu on the Instance root tree node allows
- Refresh of tree with current server information ( F5 key does the same )
- License check
- Garbage collect
- Active services
- Stop accepting clients
- Shutdown

Popup menu on the system directory node
- Refresh - causes the server to reload service.properties and structure.properties files.

Popup menu on the trace directory node
- Clear - cause the server to clear the trace directory, except the active trace directory

Popup menu on all directory nodes
- Download - downloads a zip archive of files and directories in the selected directory to the download area.

Popup menu on all file nodes
- View and edit capability if permitted
- Download - download the selected file to the download area
- Delete - delete file if permitted ( Delete key does the same )

Drag / Drop
- All files can be dragged down to the PC.
- Files can be dragged from the PC windows file explorer to the instance.

Database management - This requires the CGI program JSMADMIN to be configured
- Edit / delete and insert of records to DC@W29 and DC@30 files.
111421 The OutboundXMLHandler, when using the SEND XSL command to create a fragment, was not returning to allow the addition of more data to the XML message but continued on an HTTP send. This has been corrected.
111936 The User Agent can be configured to autodetect the XML encoding of the received content. This is used to convert the received XML byte content into a Unicode data response string.
111938 The HTTP protocol content-type charset encoding name and the XML declaration encoding name use the IANA character set names.
Integrator uses Java encoding to IANA encoding mappings to correctly encode content and to modify the XML declaration encoding to match the selected byte encoding.
111939 FTP Service can convert file content from one encoding to another
111940 SMTPMailService has the ability to set address display names and attachment names
111941 The HTTPService has new Content Handlers:
- The InboundFileHandler is used to receive content that needs to be saved to a file. 
- The OutboundMultiPartHandler can post name value pair data and file data using the multipart/form-data format.
111944 XMLQueueService can archive content. 
The ARCHIVE command saves the selected source to the archive file using the specified encoding.
111945 Add new service named SOAPDataSourceService. The SOAPDataSourceService allows the creation of data source objects, which can be sent and received as serialized SOAP XML messages.
111946 Add new Desktop Application - WSDL Editor.
The WSDL Editor is a developer tool that creates the WSDL document that will be used by a programmer to develop a client SOAP based application.
111947 Console and Studio listeners no longer accept from all clients by default.
The manager.properties file must be updated to include studio.client.address and console.client.address entries to allow usage of the JSM Console or Integrator Studio.
111948 Add the TRIM keyword to Integrator services at the command level.
The optional keyword TRIM allows the service to trim blanks from data values.
Data values coming from the function to the service and visa versa are trimmed.
The default value for the TRIM keyword is *BOTH.
111949 DIRECT-VERSION keyword is passed with the SERVICE_LOAD for JSMDirect functions. This identifies the JSMDirect version in the HTTP_KEYWORDS.TXT file.
112561 Clear JSM command (iSeries only). 
On iSeries you may use the CLRJSM TRACEDIR(*YES) command to delete the trace files and subdirectories. 
The Clear trace directory option now defaults to a value of *YES.
112562 New JSMADMIN user exit program (iSeries).
A new user exit program JSMADEXT has been added to iSeries.
The JSMADMIN program calls CL program JSMADMEXT when the following life cycle events occur:
- ENTRY Program starts. 
- EXIT Program finishes successfully. 
- ERRnnnn where nnnn is a 4 digit number starting from 2000. Error has occurred, program ending, EXIT event will not be called.
The source code for this exit program is stored in QCLSRC in the JSM library. 
   
EPC665  
105226 FTPService now supports LIST and DELETE commands.
105980 SERVICE_EXCHANGE(*FIELD) allows function field data exchange to occur without a working list argument for services that previously required a working list to be specified
107046 All trace files in the temp directory have been moved to the trace subdirectory, and given a .TXT extension to allow for easier viewing.
107096 The User Agent can be used with Integrator V9.1 by setting the protocol.version in the host file (protocol.version=1). The default value is 2.
107619 Add edit menu to xsl compiler and xml editor to provide cut / copy / paste etc
108430 SMTPMailService supports new keyword CONTENT for the SEND command that can be set to *HTML for sending email body text as HTML.
108723 The COUNTER parameter on a DEF_LIST command was not correctly updated when the list was used with the JSM_COMMAND Built-In Function.
108978 Attachments containing DBCS data can now be successfully received into a working list using the POP3MailService.
109086 JSMProxy correctly returns large text content
109087 Add support for LANSA AS2 Direct. AS2 is a security standard defined by the IETF that allows secure transactions over the internet. New services AS2InboundService, AS2OutboundReceiptService and AS2OutboundService have been added.
109101 The GET command of the POP3MailService can now return a list of the filename of all attachments for a mail message rather than a single attachment.
109106 SMTPMailService now supports the CC and BCC keywords on the SET and SEND commands.
109123 XMLFileService uses a default encoding of UTF-8.
109165 Add XML schema validation to XML services e.g. SERVICE_LOAD SERVICE(HTTPIXMLCLIENT) SCHEMA(*YES)
109174 SMTPMailService attachments only include the file name without the full path name
109177 Timezone can be set in the JSMMGRDTA data area
109245 New versions of Xalan 2.4.1, JavaMail 1.3 and matching Java activation framework.
New SVFileService that allows CSV and TSV files to be read and created.
Improved MultiPart content handling.
New optional keyword, ARCHIVE is used to archive content to a specified path.
New optional keyword, TRIM allows services to trim blanks from data values 
Integrator Studio support including enhancements to jsm.jar, new jsmide.jar and new jsmadmin cgi program.
Refresh of all .properties to include #!<studio-project id=""> marker.
109428 The encoding for the subject, body text, from and to addresses in mail can be specified in the SMTPMailService.properties file.         For example charset=iso-2022-jp
109429 All received data will be padded with SBCS blanks only even if the field is a DBCS capable field.
109507 New service HTTPInboundSVService offers the same capability as a combined HTTPService and InboundSVHandler content handler. It also allows an invalid data record to be handled and returned to the sender.
109509 The User Agent will remove all embedded CR, LF and TAB characters from Excel cell values.
109577 The closing bracket on the query string for a JSMDirect request will no longer be truncated on a Shift JIS Web URL
109642 LANSA Integrator licenses now correctly interprets the # character in the license file. Special characters are also removed from the licence feature codes.
109717 SMTP service can now send the Domain name by adding a  new property entry to SMTPMailService.properties: domain=maildomain or using the new keyword DOMAIN on the SMTPMailService SET command. 
109933 Visual XML Wizard now correctly handles a parent node with an attribute defined for outbound transformations.
109936 LANSA Integrator licenses now correctly support DBCS code pages when reading the license file.
111107 SMIME email messages can now be read using the POP3MailService.
To specify what private key store and certificate to use when decrypting, add the RECIPIENT keyword to the OPEN command.
For example:
OPEN SERVER(server) RECIPIENT(symbolic-name:password) USER(serveruser) PASSWORD(password)
If the messages are plain or only signed you do not need the RECIPIENT.

 

List of affected objects

iSeries and Windows Components:

Object Name Folder Platform
activation.jar LANSA Integrator Instance jar directory - JAF 1.0.2 update All
jsm.jar LANSA Integrator Instance jar directory All
jsmide.jar LANSA Integrator Instance jar directory All
jsmnative.jar LANSA Integrator Instance jar directory All
jsmrfi.jar LANSA Integrator Instance jar directory All
jsmservice.jar LANSA Integrator Instance jar directory All
jsmedimap.jar LANSA Integrator Instance jar directory All
jsmsoap.jar LANSA Integrator Instance jar directory All
jsmutil.jar LANSA Integrator Instance jar directory All
jsmxls.jar LANSA Integrator Instance jar directory - JExcel 2.5.1 All
jsmpdf.jar LANSA Integrator Instance jar directory - iText 1.1 All
jsmmail.jar LANSA Integrator Instance jar directory - JavaMail 1.3.2 All
mail.jar Component
pop3.jar Component
smtp.jar Component
jsmxalan.jar LANSA Integrator Instance jar directory - Xalan 2.4.1 All
xalan.jar Component
xercesImpl.jar Component
xml-apis.jar Component
xsltc.jar Component
jsmaxis.jar LANSA Integrator Instance jar directory - Axis 1.2 All
axis.jar Component
commons-discovery.jar Component
commons-logging.jar Component
jaxrpc.jar Component
saaj.jar Component
wsdl4j.jar Component

 

iSeries only Components:

Object Name Object Type Library
CHGJSMAUT *CMD *JSMLIB
CHGJSMDFT *CMD *JSMLIB
CHGJSMOWN *CMD *JSMLIB
CLRJSM *CMD *JSMLIB
CRTJSMSBS *CMD *JSMLIB
EDTJSMMGR *CMD *JSMLIB
EDTJSMSRV *CMD *JSMLIB
OPTJSM *CMD *JSMLIB
RUNJSM *CMD *JSMLIB
STRJSM *CMD *JSMLIB
WRKJSM *CMD *JSMLIB
BI@P277 *PGM *PGMLIB
BI@P278 *PGM *PGMLIB
BI@P279 *PGM *PGMLIB
BI@P280 *PGM *PGMLIB
BI@P281 *PGM *PGMLIB
BI@P282 *PGM *PGMLIB
BI@P303 *PGM *PGMLIB
CHGJSMAUT *PGM *JSMLIB
CHGJSMDFT *PGM *JSMLIB
CHGJSMOWN *PGM *JSMLIB
CLRJSM *PGM *JSMLIB
CRTJSMSBS *PGM *JSMLIB
EDTJSMMGR *PGM *JSMLIB
EDTJSMSRV *PGM *JSMLIB
JSMADMIN *PGM *JSMLIB
JSMAUTH *PGM *JSMLIB
JSMBUILD *PGM *JSMLIB
JSMCHECK *PGM *JSMLIB
JSMCHGJOB *PGM *JSMLIB
JSMCLEAR *PGM *JSMLIB
JSMDIRECT *PGM *JSMLIB
JSMDQGET *PGM *JSMLIB
JSMDQPUT *PGM *JSMLIB
JSMLINK *PGM *JSMLIB
JSMMQDEPTH *PGM *JSMLIB
JSMMQGET *PGM *JSMLIB
JSMMQPUT *PGM *JSMLIB
JSMOWNER *PGM *JSMLIB
JSMPROXY *PGM *JSMLIB
OPTJSM *PGM *JSMLIB
RUNJSM *PGM *JSMLIB
WRKJSM *PGM *JSMLIB
DCXS882X *SRVPGM *PGMLIB
DCXS883X *SRVPGM *PGMLIB
JSMDTAQ *SRVPGM *JSMLIB
JSMMGRSRV *SRVPGM *JSMLIB
JSMMSGQ *SRVPGM *JSMLIB
JSMUSRSPCE *SRVPGM *JSMLIB
LIBLSSRV *SRVPGM *JSMLIB
JSM *MSGF *JSMLIB
JSMMSGF *MSGF *JSMLIB
JSM *DSPF *JSMLIB
JSMIFS *SAVF IFS Instance objects
JSM *MENU *JSMLIB
DC@F47 *FILE *PGMLIB
DC@F48 *FILE *PGMLIB
QCLSRC *FILE *JSMLIB
QCMDSRC *FILE *JSMLIB
QDDSSRC *FILE *JSMLIB
QRPGLESRC *FILE *JSMLIB

*JSMLIB = LANSA Integrator Program Library, *PGMLIB = LANSA Program Library

Windows only Components:

Object Name Folder Platform
LANSA Integrator Studio \Integrator\Studio  
LANSA Integrator User Agent \Integrator\UserAgent  
LANSA Integrator Remote Function Invocation \Integrator\RFI  
     
LANSA Integrator on Windows \Integrator\JSMInstance  
  \Integrator\JSMCGI  
  \Integrator\JSMAdmin  

Instructions provided for:

Yes LANSA Integrator on iSeries
Yes LANSA Integrator on Windows
No LANSA Integrator on Unix or Linux
Yes iSeries import
Yes Windows import

Instructions to install the EPC 

EPC739 includes software to be installed on an iSeries machine or Windows machine. These instructions describe the installation and use of all delivered items. 

  1. Download EPC739.EXE file from Web site or email.
  2. Unzip (double click) EPC739.EXE. These files will be extracted:

Instructions for installing on iSeries

  1. End the JSM server to be upgraded before installing EPC739.
  2. The upgrade process will not be able to replace files that have the READONLY attribute set on. Ensure the JSM instance jar directory has no readonly files by using the OS/400 command CHGATR e.g. CHGATR OBJ('/jsm/instance/jar') ATR(*READONLY) VALUE(*NO) SUBTREE(*ALL)
  3. Make a backup of the JSM directory from the iSeries. The current JSM directory will also be saved in the backout library DC@EC739.

    Note that the LANSA supplied source files QCLSRC, QCMDSRC, QDDSSRC and QRPGLESRC are replaced by this EPC.

    Note that if you have added or updated any entries in the studio project <studio-project id="20000000-000000" name="lansa"> section of any of the property files these will be removed during the upgrade. It is suggested that you place your own entries in a separate studio project section prior to upgrade.  

  4. EPC739 must be extracted onto a Windows machine then uploaded onto the iSeries server.

For iSeries shared folders:

  1. If your network file system is not supporting iSeries shared folders, use FTP via TCP/IP and perform the following steps:
  1. Use XFLRTOSAVF command to convert the folder to a save file format (LANSA program library must be on your library list) - press F4 for command details. Save file EPC739 will be created by this command.
  2. Sign on as a user profile that is QSECOFR, part of the QSECOFR group, or, has *ALLOBJ and *SECADM special authorities.

NOTE: Check the OS/400 system value QFRCCVNRST. If QFRCCVNRST is set to 0, you must use FRCOBJCVN(*YES) on the RSTOBJ command.

  1. Use the OS/400 RSTOBJ (restore object) command to restore all objects from library DC@EC739 into library QTEMP.

For a save file you will use the following command:
RSTOBJ OBJ(*ALL) SAVLIB(DC@EC739) DEV(*SAVF) SAVF(EPC739) RSTLIB(QTEMP)

  1. Display your current library list. If QTEMP is not shown, then add it to your library list using the ADDLIBLE (add library list entry) command.
  2. Install the EPC using the command:

    LOADEPC739 JSMLIB(<jsmlib>)
    Where <jsmlib> is the name of the LANSA Integrator JSM library. This is often JSMLIB but it may be different on your system.
  3. After entering the library name, press enter. The LANSA Integrator instance path, LANSA object owner and LANSA program library will be displayed. Leave these defaults.
  4. Press enter to continue processing.
  5. Save and then delete the backout library (LANSAEC739) created by the install. The contents of the library may be used to back out this EPC and return your system to its previous state.
  6. To install the EPC on another LANSA system, sign off and then on again before commencing the next installation.

Instructions for installing on Windows (including Integrator Desktop Applications)

  1. End the JSM server to be upgraded before installing EPC739.
  2. Make a backup of the Integrator directory from Windows.
    Note that if you have added or updated any entries in the studio project <studio-project id="20000000-000000" name="lansa"> section of any of the property files these will be removed during the upgrade. It is suggested that you place your own entries in a separate studio project section prior to upgrade.  
  3. Unzip (double click) LI_EPC739.exe to start the upgrade of LANSA Integrator on Windows. 

    The first time LI_EPC739.exe is run it will create a folder called Integrator_PreEPC739 on the same level as the Integrator folder. This will act as a backup of the current Integrator install. Existing objects for previous tools can then be restored to the new Studio structure. Note that if the folder Integrator_PreEPC739 already exists no backup is made. 

    NOTE: Please view the 'Additional Install Notes' section in this document for important post-installation/upgrade checks.

  4. If upgrading an independent User Agent install, uninstall the existing User Agent first. This can be done in one of 2 ways: 
       1. Remove it using Add/Remove programs from the control panel. 
       2. Start the install (see below) and it will automatically prompt you to remove any existing User Agent installations.
    Then unzip (double click) UA_EPC739.exe to start the installation of the User Agent.

    You might want to do a backup of your current independent User Agent install before you start the upgrade process.

  5. If upgrading an independent RFI install, uninstall the existing RFI first. This can be done in one of 2 ways: 
       1. Remove it using Add/Remove programs from the control panel. 
       2. Start the install (see below) and it will automatically prompt you to remove any existing User Agent installations.
    Then unzip (double click) RFI_EPC739.exe to start the installation of RFI.

    You might want to do a backup of your current independent RFI install before you start the upgrade process.

  6. This EPC provides a new documentation file LANSA093.chm. Please be sure that you update all copies of LANSA093.chm on your system or server. For example, if you installed the LANSA documentation (default folder ...\lansadoc\) from the LANSA Encyclopedia CD-ROM, then you should manually copy the updated file to this folder.

Optional Install of Integrator Templates (previously provided with EPC716)

  1. You may optionally import two new templates JSMSKEL and BBJSMCMD and RDML function SET218B. These are provided for use in the updated Integrator tutorials in the shipped Integrator Guide. 
  2. Instructions for installing on iSeries:
    Upload itmpl400 file onto the iSeries server as for point 3. in the Instructions for installing on iSeries.
    Use XFLRTOSAVF command to create a save file.
    Import this save file into the required LANSA system and partition.
  3. Instructions for installing on Windows:
    Unzip itmplwin.zip into a directory
    Import from this directory  into the required Visual LANSA system and partition.

     

Additional Install Notes (not required if EPC695 previously installed)

  1. The STRJSM program should be checked and recompiled as there is now an additional parameter TIMEZONE, which is passed to the RUNJSM program. If using the STRJSM command, the time zone defaults to a value of *DEFAULT. The default time zone is defined in the JSMMGRDTA data area. If the default value is blank then time zone GMT is used. A custom time zone such as GMT+10:00 does not include daylight savings time. The STRJSM command used in any CL source should be checked for the additional parameter.
  2. If User Exit programs JSMADMEXT, JSMDRTEXT, JSMLSAEXT and JSMPXYEXT are used they should be checked and recompiled. Samples are provided in file QCLSRC.
  3. When the JSM instance starts it will process the files in the upgrade directory and then end. Check standard output for upgrade messages. 
    On the iSeries platform the output will be in a spool file in JSM output queue.
    On the Windows platform the output will be in the file STDOUT.TXT in the instance directory.

    An example of the upgrade messages (not complete) :

    Upgrade JSM instance : /jsm/instance
    -
    Upgrade properties file : manager.properties
    Properties file upgraded
    -
    Upgrade properties file : service.properties
    Properties file upgraded
    -
    -
    Upgrade properties file : XMLQueueService.properties
    Properties file upgraded
    -
    Upgrade completed

    Remove upgrade files
    -
    Delete file : /devjsm/instance/upgrade/mailcap.txt
    -
    Delete file : /devjsm/instance/upgrade/integrator-feature.txt
    -
    -
    Delete upgrade directory
    -
    Removal completed

  4. After installing/upgrading LANSA Integrator, you may need to delete all the obsolete jar files manually.   The upgrade will attempt to delete the obsolete jar files itself, however locks on files may prevent these files from being removed. As a result you should verify that the following jar files do not exist in your JAR folder.

mail.jar
mailapi.jar
pop3.jar
smtp.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
saaj.jar
wsdl4j.jar
xalan.jar
xerces.jar
xercesImpl.jar
xml-apis.jar
xsltc.jar
itext.jar
jxl.jar
xlrd.jar
rfiexample.jar

  1. After the upgrade has completed it is important to review the files and make some manual adjustments.

    All the properties files will contain Integrator Studio sections.

    The manager.properties file has also been shipped with a "user-override" section, it is recommended to add your modifications to this
    section.

    #!<studio-project id="20030101-000000" name="user-override">
    #
    tcp.port=4560
    tcp.backlog=20
    tcp.interface=*all
    #
    console.tcp.port=4561
    console.tcp.backlog=5
    console.tcp.interface=*all
    #
    # trace.manager=*yes
    # trace.client.address=*all
    #
    #!</studio-project>

    All the properties files will contain an "unassigned" section. This section contains lines that did not belong to a section.
    Review the unassigned section for possible configuration entries. Normally this section just contains # comments and the whole section can be deleted.

    #!<studio-project id="00000000-000000" name="unassigned">
    #
    # Move these entries to a new or existing studio-project section.
    # Delete this unassigned section.
    #
    #
    #!</studio-project>

    After reviewing the files, start the JSM instance again and the instance will be ready.

  2. PKI Editor
    The PKI Editor is available for use when using the secure mime feature when sending and receiving e-mails using the SMTP mail, POP3 mail and EDI-INT (AS2) services. This is only available if the secure mime jar files are installed. These jar files are not shipped with LANSA Integrator as these files relate to Public Key encryption which must be purchased separately from Phaos Technology Corporation to support secure mime (SMIME). In particular, the software that needs to be purchased is:

    Please refer to the Phaos Technology Corporation Web site for more information.

© 2004 LANSA