58
WebObjects Applications and Frameworks
To migrate WebObjects:
1Copy saved applications and frameworks to:
Â/Library/WebObjects/
Â/System/Library/WebObjects/
2Add the following line to the new httpd.conf file:
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
3WebObjects application projects need to be manually updated to use the version of the Java Virtual Machine (VM) included with version 10.4.
Open the project in Xcode. In the Expert View for the main target’s settings, change the property value for “JAVA_VM” to “java”.
Note: JavaMonitor and wotaskd (WebObjects Task Daemon) services are now managed by launchd and can be accessed through the Server Admin application. If the server you’re migrating from has the startup item /System/Library/StartupItems/WebObjects, you don’t need to copy it to the new server. It’s disabled by default and isn’t necessary for autostarting WebObjects services with Mac OS X Server v10.4. See the web technologies administration guide for more information.
Tomcat Data
Restore Tomcat servlets to /Library/Tomcat/webapps/.
Place any SOAP services you want to migrate in /Library/Tomcat/webapps/axis/.
Mac OS X Server version 10.4 includes a version of Axis that may be newer or older than the version you’ve been using.
IP Firewall Configuration
To migrate the IP firewall configuration:
1Restore the firewallconfig file.
2Open Server Admin and make sure that firewall service isn’t running.
3Open NetInfo Manager, located in /Applications/Utilities.
4Authenticate and go to /config.
5Choose Directory > New SubDirectory to create a record in /config.
6Change the name of the new record from “newdirectory” to “IPFilters” by selecting the name property’s value and editing it.
7In the Terminal application, run the following command from the directory in which the firewallconfig file resides:
sudo niload
8Type the 50_ipfwconfigmigrator command:
sudo /System/Library/ServerSetup/MigrationExtras/50_ipfwconfigmigrator
Chapter 5 Migrating From Mac OS X Server Version 10.2