Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Post Install Guide

   

Rebuild the Executable WODefaultApp

On Solaris, the Enterprise Objects Framework cannot automatically load your database's client library and its adaptor, as it can on other platforms. Because of this, you must rebuild the WODefaultApp executable, which is installed with WebObjects and is used to run purely scripted applications. If you don't rebuild this executable, any purely scripted applications you run with WODefaultApp won't be able to access a database.

If you answered "y" to all questions you were asked during installation, the WODefaultApp executable has already been rebuilt by the installation process. If you answered "n" to the question about building WODefaultApp or you have installed new client libraries afterwards, you should rebuild WODefaultApp before testing your installation.

To rebuild WODefaultApp , run the RebuildWODefaultApp script located in $NEXT_ROOT/Developer/Examples/WebObjects/Source/WODefaultApp .

Each time you create a new project, you'll need to set it up so that it statically links the database's client library and adaptor. To do so, add the appropriate adaptor framework to the FRAMEWORKS makefile variable definition, and uncomment this line in the Makefile.preamble :

include $(MAKEFILEDIR)/pdo-eoadaptor-linking.make


© 1999 Apple Computer, Inc. – (Last Updated 19 Oct 99)