Apple Mac OS X Network Card User Manual


 
Chapter 6 Migrating From Mac OS X Server Version 10.1 71
AFP Configuration
To migrate the AFP configuration:
1 Restore the afpconfig file.
2 Open Server Admin and make sure that AFP isn’t running.
3 Open NetInfo Manager, located in /Applications/Utilities.
4 Authenticate and go to /config.
5 Choose Directory > New SubDirectory to create a record in /config.
6 Change the name of the new record from “newdirectory” to “AppleFileServer” by
selecting the name property’s value and editing it.
7 In the Terminal application, run the following command from the directory in which
the afpconfig file resides:
sudo niload -r /config/AppleFileServer . < afpconfig
8 Type the 51_afpconfigmigrator command:
sudo /System/Library/ServerSetup/MigrationExtras/51_afpconfigmigrator
9 In Server Admin, start AFP service.
WebObjects Applications and Frameworks
To migrate WebObjects:
1 Copy saved applications and frameworks to:
 /Library/WebObjects/
 /System/Library/WebObjects/
2 Add the following line to the new httpd.conf file:
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
3 Earlier versions of WebObjects stored Apache-specific information in the file
webobjects.conf, located in /System/Library/WebObjects/Adaptors/Apache/. If
necessary to restore your settings, copy information out of this file into apache.conf.
4 WebObjects application projects need to be manually updated to use the version of
the Java Virtual Machine (VM) included with version 10.4.
If you’re using WebObjects 5, open the project in Xcode. In the Expert View for the
main target’s settings, change the property value for “JAVA_VM” to “java”.
If you’re using WebObjects 4.5, you’ll need to update the source code of your
applications to use Java instead of Objective-C. See the Java Converter documentation
on the WebObjects 5 Developer disc for more information.