HP DCE/9000 Application Development Tools for HP-UX 11i Release Note Version 1.8 HP 9000 Systems Manufacturing Part Number: B3193-90023 E0301 United States © Copyright 1983-2000. Hewlett-Packard Company. All rights reserved.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material. Warranty.
©copyright 1980, 1984, 1986 Novell, Inc. ©copyright 1986-1992 Sun Microsystems, Inc. ©copyright 1985-86, 1988 Massachusetts Institute of Technology. ©copyright 1989-93 The Open Software Foundation, Inc. ©copyright 1986 Digital Equipment Corporation. ©copyright 1990 Motorola, Inc. ©copyright 1990, 1991, 1992 Cornell University ©copyright 1989-1991 The University of Maryland ©copyright 1988 Carnegie Mellon University Trademark Notices.
1 HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note This release note contains information for Version 1.8 of HP DCE/9000 Application Development Tools for HP-UX 11i. Announcement The following information is for version 1.8 of the HP DCE/9000 product.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note What’s in This Version What’s in This Version The HP DCE Version 1.8 Application Development Tools for HP-UX 11i help users to develop HP DCE 1.8 applications. NOTE The previous version of the Release Notes are available in the following directory: /opt/dce/newconfig/RelNotes. Application Development Tools Product Options The HP DCE Version 1.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note What’s in This Version DCE-CDS-Server.CDSS-ENG-A-MAN include: ✓ HP DCE-CDS-Server Manpages DCE-SEC-Server.SECS-ENG-A-MAN include: ✓ Manpages for DCE Security Server Software NOTE Although Tracing, Logging and Error Reporting facilities of the previous versions are still available in this version of HP-DCE-C Tools, HP recommends that you use the new Messaging and Serviceability Interfaces.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note What’s in This Version NOTE The 64 Bit DCE applications may need to include “/usr/include /dce/dce64.h”. The site “http://www.software.hp.com/STK” contains 64 bit porting guidelines, 64 bit compiler and linker changes needed to port the applications to 64 bit. The advantages of moving to 64 bit can be found under “http://www.software.hp.com/STK/hpuxoverview.html#64-bit”.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note What’s in This Version • This document describes the Application Development Tools as described in the section Application Development Tools Product Options. • Planning and Configuring HP DCE 1.8 (B3190-90074), which describes the HP changes and additions to OSF 1.2.1; it also describes installing and configuring HP DCE 1.8 and how to migrate from previous releases of HP DCE to HP DCE 1.8. This document describes both HP DCE 1.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Known Problems and Workarounds Known Problems and Workarounds This section describes known problems and workarounds in the HP DCE version 1.8 Application Development Tools for HP-UX 11i. • SR - No 8606-165933 Secd does not log trace for sec component via dcecp command • SR - No 8606-169328 cdsd returns wrong ACL to dcecp DCE-Core Tools As of DCE 1.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Compatibility Information and Installation Requirements Compatibility Information and Installation Requirements The section provides a brief overview of the installation process for the HP DCE Version 1.8. Application Development Tools for HP-UX 11i and the software prerequisites and disk space requirements that must be met before you can install the software.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Compatibility Information and Installation Requirements • HP C Compiler (Version A.11.0) • The DCE-C-Tools Programming Libraries fileset, DCE-TOOLS-LIB NOTE 12 The HP DDE debugger is highly recommended for multithreaded debugging support.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Patches and Fixes in This Version Patches and Fixes in This Version The following fixes are included in this version: Table 1-1. Fixes SR Number Known Problem SR-No 8606-114757 The pthread_setasynccancel man page needs to be updated to mention cancellation points.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Patches and Fixes in This Version Features to be Obsoleted in the future releases of DCE The list of DCE features/tools/libraries that are to be obsoleted are given below: NOTE The following obsoleted DCE features/tools/libraries will not be supported in the future releases. • /bin/sec_clientd • /bin/cdsclerk • /bin/nidl_to_idl • /bin/idl++ • /hptools/bin/i2dl • /bin/dcm/ and related deliverables • /lib/libbb.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Software Availability in Native Languages Software Availability in Native Languages The HP DCE 1.8 Application Development Tools for HP-UX 11i are currently available in English only.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 Developing DCE Applications with HP DCE/9000 This chapter provides information about developing, building, and debugging DCE applications with HP DCE/9000.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 • Source code that is built into applications that use the CDS, RPC, or security APIs must include . This is necessary because the DCE RPC runtime library creates a small number of private threads, on both the client and server sides of an application. • The DCE header files should be included as .
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 Applications. • To debug an HP DCE threads application with DDE, use the -dce_thread option. By default, DDE assumes that the application is single- or kernel-threaded. The debug and dde commands have been extended to take the -dce_thread option. For example:debug -dce_thread averagedde -dce_thread average See Section 3.2.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 • DCE CMA exceptions should never be allowed to propagate into a C++ scope. Allowing this to happen could result in destructors failing to be executed. This can lead to memory leaks and unexpected behavior. For example, suppose some C++ code makes a call to a C function. Within this C function, a CMA exception can be raised.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 information. Performance trade-offs in CDS's usage of memory, disk, cache, the network, and time-outs are optimized to this very specialized purpose. The generality of the application programming interfaces to CDS masks the specificity of this purpose, and gives CDS the appearance of a general-purpose database system.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 timestamp should be between 0 to 5000 ms (milliseconds). Typically 2000 ms is used in most cases. RPC_RESTRICTED_PORTS Environment Variable The capability to restrict the assignment of endpoints to those in a user-specified set was added to RPC in OSF DCE 1.0.3.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 • If the client specified DCE secret key authentication and the server specified no authentication, then the runtime will reject the call, and it will never reach the manager routine. • If both client and server specified DCE secret key authentication, then authentication will be carried out by the RPC runtime transparently.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 export RPC_SUPPORTED_NETADDRS=ip:10.3.2.1 will force any servers started in the current shell to support only the addresses associated with the name myhost and the network address 10.3.2.1. Calling exec() from a DCE Application Care must be used when calling exec() from a DCE application.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 • On the server side, the only supported behavior is for a server thread to fork and exec, with no use of RPC in the child of the fork until after the exec. File Locking The HP DCE Threads fcntl() wrapper does not provide for thread-synchronous file locking. The entire process will block when a call to fcntl() specifies F_SETLKW and the file is currently locked by another process.
HP DCE/9000 Version 1.8 Application Development Tools for HP-UX 11i Release Note Developing DCE Applications with HP DCE/9000 Because the semop() wrapper adds the IPC_NOWAIT option before performing the semop() system call, the value of semncnt and semzcnt should not be trusted when using semop() to perform semaphore operations. signal() Use of the signal() system call is not supported by HP DCE Threads, as it can interfere with signal handlers that are installed by Threads.