TITLE
    WebObjects 4.0.1: DirectToWeb Assistant Error Workaround
Article ID:
Created:
Modified:
70068
5/24/99
5/25/99

TOPIC

    There is a known problem with DirectToWeb in the Mac OS X Server version of WebObjects 4.0.1. This document discusses how to recognize this problem and provides a workaround that corrects it. This problem does not affect the Windows NT, Solaris or HP-UX versions of WebObjects 4.0.1.

    The WebObjects Current Patch List, TIL article 70037 , contains information on all available patches and workarounds for all versions of WebObjects. Please read this document if you're not sure which patches you need on your system.


DISCUSSION

    Q: I am using DirectToWeb on Mac OS X Server with WebObjects 4.0.1. When I try to use the Assistant to generate a page, the following exception message will appear:

    [DTWTemplate writeAndAddToProjectComponentNamed:]: selector not recognized


    A: This is a known bug with DirectToWeb, Apple reference number 2315706. To avoid this bug, you will need to download and install an updated version of one of the Mac OS X Server library files. To install the updated library:

    1. Download the Mac OS X Server version of the patch from Apple's FTP site at ftp.info.apple.com. The file is located at:

    /Apple_Support_Area/Apple_Software_Updates/MultiCountry/Enterprise/webobjects/

    patches/4.0.1/libDTWGeneration.A.dylib.tar

    2. Uncompress the file. The filename should be libDTWGeneration.A.dylib

    3. Use su to log in as the root user

    4. Change to the /usr/lib/java directory

    5. Back up the current libDTWGeneration.A.dylib file

    6. Replace the current libDTWGeneration.A.dylib file with the file you just downloaded

    You can now use the Assistant to generate new web pages.


Document Information
Product Area: WebObjects
Category: WebObjects 4
Sub Category: Patches

Copyright © 2000 Apple Computer, Inc. All rights reserved.