HP TP Web Connector V5.0

Release Notes - January 2006

© Copyright 2006 Hewlett-Packard Development Company, L.P.

This document provides the release notes for the HP TP Desktop Connector Version 5.0 product. These release notes describe known problems with this product, and include hints and suggestions to help you use this product.  

Contents

Preface

Kit Updates

Associated Documentation

Installation Notes

Problems Fixed

Problems Fixed in Version 5.0

Problems Fixed in Version 4.5A

Problems Fixed in Previous Kits and ECO Releases

Known Problems

Restrictions

General Information

General Notes

Programming C Clients

Programming Automation Clients

Programming Java Clients

Controlling Client Connections

Using the ACMS Gateway Adapter

Using the HP TP Web Connector Gateway for ACMS

Using the TPware Management Utility

Using the Client Build Utility

Samples

Troubleshooting Tips

Registering and Unregistering Automation DLLs

Interpreting Runtime Error Codes

Location of Runtime Error Code Information

Interpreting Automation Errors

Running Oracle Web Request Broker

Preface

Kit Updates

For notifications on future updates or changes to the HP TP Desktop Connector product kits, refer to the following website:

http://h71000.www7.hp.com/commercial/tpwebconnector.

Associated Documentation

In addition to these release notes, also refer to the following TP Web Connector documents:

Online Guides:

Online help:

Installation Notes

The following sections describe installation notes. If the release note reflects a problem logged in the Problem Tracking and Reporting System (PTR), then the PTR number is listed in the description.

Note: For more information on pre-requisites and installation instructions, refer to the README file.

Problems Fixed

Problems Fixed in Version 5.0

There are no problems fixed in this release.

Problems Fixed in Version 4.5A

Following are the problems fixed in this release:

Problems Fixed in Previous Kits and ECO Releases

The following problems were fixed in releases prior to Release 1.2A:

Known Problems

Following are the known Problems with this release:

Restrictions

There is no new restriction in this release.

General Information

General Notes

The following general notes apply to this release:

Programming C Clients

In a user program, if einfo.h is included before windows.h and a message header file is then included, compilation errors occur. (PTR 64-4-4)

Workaround: Include windows.h before einfo.h.

Programming Automation Clients

The following notes apply to Automation clients:

For example, the following is invalid syntax for Automation adapter:

 
   TYPE MOVE_REC1 IS RECORD
      FLD_1 IS INTEGER;
      FLD_2 IS OCTET;
      FLD_3 IS RECORD
            FLD3_1 TEXT SIZE 7;
            FLD3_2 INTEGER;
      END RECORD;
   END RECORD;
   TYPE MOVE_REC2 IS RECORD
      FLD_1 TEXT SIZE 8;
      FLD_2 DECIMAL STRING SIZE 3;
      FLD_3 IS RECORD
            FLD3_1 TEXT SIZE 7;
            FLD3_2 INTEGER;
      END RECORD;
   END RECORD;

The following is valid X/Open syntax for Automation adapter:

   TYPE USER_TYPE IS RECORD
      FLD3_1 TEXT SIZE 7;
      FLD3_2 INTEGER;
   END RECORD;
 
  TYPE MOVE_REC1 IS RECORD
     FLD_1 INTEGER;
     FLD_2 OCTET;
     FLD_3 USER_TYPE;
  END RECORD;
  TYPE MOVE_REC2 IS RECORD
     FLD_1 TEXT SIZE 8;
     FLD_2 DECIMAL STRING SIZE 3;
     FLD_3 USER_TYPE;
 END RECORD;

Programming Java Clients

The following notes apply to Java clients:

For example, the following code is invalid syntax for Java adapter:

   TYPE MOVE_REC1 IS RECORD
      FLD_1 IS INTEGER;
      FLD_2 IS OCTET;
      FLD_3 IS RECORD
   	    FLD3_1 TEXT SIZE 7;
            FLD3_2 INTEGER;
     END RECORD;
   END RECORD;
   TYPE MOVE_REC2 IS RECORD
      FLD_1 TEXT SIZE 8;
      FLD_2 DECIMAL STRING SIZE 3;
      FLD_3 IS RECORD
            FLD3_1 TEXT SIZE 7;
            FLD3_2 INTEGER;
      END RECORD;
  END RECORD;

The following is valid X/Open syntax for Java adapter:

   TYPE USER_TYPE IS RECORD
      FLD3_1 TEXT SIZE 7;
      FLD3_2 INTEGER;
   END RECORD;
   TYPE MOVE_REC1 IS RECORD
      FLD_1 INTEGER;
      FLD_2 OCTET;
      FLD_3 USER_TYPE;
   END RECORD;
   TYPE MOVE_REC2 IS RECORD
      FLD_1 TEXT SIZE 8;
      FLD_2 DECIMAL STRING SIZE 3;
      FLD_3 USER_TYPE;
   END RECORD;

Controlling Client Connections

When a client uses the ACMS Gateway adapter the connection established by the client is cached. By default, the connection is cached for up to 20 minutes of inactivity. If after 20 minutes the client has not used the connection, the connection will timeout due to inactivity. This value can be modified by entering a value in the Windows registry by using the registry editor. The registry value that needs to be added is located in the path:

HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\TPware\Cache Settings

The value that needs to be added is Binding Timeout the value represents the lifetime in minutes of the connection following a period of inactivity. If the value is set to zero the connection is never removed due to inactivity. To set the Binding Timeout value, do the following:

  1. In the registry editor, highlight "Cache Settings".
  2. Go to the Edit drop down tab and select "add value".
  3. For the value name, enter Binding Timeout (note space in name).
  4. For the datatype, select DWORD click on OK and enter a value.
  5. Restart the client in order for the change to take affect.

Using the ACMS Gateway Adapter

The following notes apply to the ACMS Gateway adapter:

Using the HP TP Web Connector Gateway for ACMS

The release notes for the TP Web Connector Gateway for ACMS component (Version 5.0) are contained in a separate document within the TP Web Connector Gateway for ACMS installation procedure and are installed in the following OpenVMS system directory:

   SYS$HELP:ACMSDA050.RELEASE_NOTES - text version

Using the TPware Management Utility

The following note applies to the TPware Management Utility:

Using the Client Build Utility

The following notes apply to the Client Build Utility:

Samples

The following notes apply to the samples provided in the kit:

Troubleshooting Tips

Registering and Unregistering Automation DLLs

There are certain times when the user must unregister and re-register an Automation server. If you are adding or removing methods, changing the number or type of arguments, or changing the fields in a record associated with an argument, you should unregister the existing Automation DLL using the regsvr32 -u command before you build the new DLL. Failure to issue the unregister command using the exact same DLL that was used when registering can cause the following problems:

If you forgot to unregister before you built the new DLL and receive errors when unregistering, then select to continue if prompted. Next re-register the new DLL. If the Automation DLL registers successfully the new Automation interface should be available. If not try unregistering and registering again.

If you don't re-register an Automation DLL and have changed any of the information mentioned above, then the Automation server will not work correctly because the registered Automation interface will be out of sync with the Automation interface in the DLL.

If you receive the following error messages when registering or unregistering an Automation DLL, then check that the STDL_SYS_DIR environment variable is defined and in the current path. If you did not reboot after installing the kit you should do so.

Interpreting Runtime Error Codes

Location of Runtime Error Code Information

Other than Automation errors as described below, the TP Web Connector returns error information in einfo.ecode. These error codes and their descriptions can be found in the following files:

   <installed-kit>\stdl\include\stdlrt_msg.h
   <installed-kit>\stdl\include\acmsda_client_messages.txt

The stdlrt_msg.h file contains error codes for TPware runtime exceptions. The range of these errors is 01 to 255 (0x01 to 0xFF).

The acmsda_client_messages.txt text files, found in the TPWARE\stdl\include directory, document client error codes. The range of these errors is -3000 to -3199 (0xFFFFF448 to 0xFFFFF381).

Please examine these files to evaluate and respond to client and/or gateway errors as logged in the ACMS Software Error log (SWLUP). Also see SYS$HELP:ACMSDA$GATEWAY_ MESSAGES.TXT on the TP Web Connector Gateway system for ACMS (on OpenVMS) for evaluating gateway error information.

Interpreting Automation Errors

Runtime Automation error values are returned using a 32- bit number known as a result handle (i.e. HRESULT). The structure of a HRESULT value is defined by Microsoft. Automation errors returned by the TP Web Connector start at 214774989 (0x80041001). These values can be translated to error codes found in stdlrt_msg.h using the following formula:

    STDL error code = <Automation-error-code-value> - 0x80041000

Running Oracle Web Request Broker

When running the Oracle Web Request Broker samples, the error "The requested access method is not allowed for that object" is returned if the virtual path to the web cartridge does not match the requested path. (Note that the virtual path for web cartridges is case sensitive.)


© Copyright 2006 Hewlett-Packard Development Company, L.P.

Confidential computer software. Valid license from HP required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S.Government under vendor’s standard commercial license.

The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additonal warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

Microsoft and Windows are US registered trademarks of Microsoft Corporation.

Java is a US trademark of Sun Microsystems, Inc.

Printed in the US