Apple Mac OS X manual WebObjects Applications and Frameworks

Page 58

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 -r /config/IPFilters . < firewallconfig

8Type the 50_ipfwconfigmigrator command:

sudo /System/Library/ServerSetup/MigrationExtras/50_ipfwconfigmigrator

Chapter 5 Migrating From Mac OS X Server Version 10.2

Image 58
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP IndexAbout This Guide What’s in This GuideUsing This Guide Using Onscreen HelpMac OS X Server Suite This guide Tells you how toGetting Documentation Updates Getting Additional InformationServers From Which You Can Upgrade or Migrate Before You BeginMigrating From a Pre-Version 10.4 Server to Version Migrating Users and Groups Migrating From Windows NTUID Here is a list of the predefined group accounts Before You Begin Version Understanding What Can Be ReusedUpgrading an Open Directory Master and Its Replicas To upgrade the master and its replicasStep-by-Step Instructions Update your server to version Perform an upgrade installation to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version WebObjects Make Adjustments as needed after initial server setupTo update a WebObjects project Secure Sockets Layer SSL CertificatesNetBoot Images To upgrade a group recordDirectory Services GroupsWeb Service Print ServiceOpen Directory Upgrade Log Macintosh ManagerVersion Step-by-Step Instructions Upgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup Groups Print Service Upgrading Mac OS X Server Version Before You Begin Understanding What You Can Migrate To reestablish the master and its replicasTo set up See Tools You Can UseGroup info User export file To export users and groups Export users and groupsCreate archive files MySQL Data Web Configuration DataWeb Content Mail DatabaseWebObjects Applications and Frameworks FTP Configuration FilesWebmail Data Tomcat DataUser Data IP FirewallQuickTime Streaming Server Files and Folders Copy archive files to the new server To transfer tar files or disk images using FTPSet up the home directory infrastructure To prepare the server to store home directoriesTo import users and groups using Workgroup Manager Import users and groups and other dataTo migrate the web configuration Relocate saved data filesTo migrate the mail database AFP Configuration To migrate WebObjectsIP Firewall Configuration To migrate the IP firewall configurationDhcp Settings DNS ConfigurationTo migrate the DNS configuration To migrate the Dhcp configurationTest the new server Set up share points and privilegesTo create a share point and set privileges To test the new serverVersion Tools You Can Use Infrastructure Export users and groups Web Configuration Data Nidump -r /config/AppleFileServer . afpconfig Dhcp Import users and groups and other data Relocate saved data files Web Content To migrate the AFP configuration WebObjects Applications and Frameworks Server Admin, start firewall service Test the new server Version Tools You Can Use Export user Export users and groups AFP DNS Copy archive files to the new server Import exported users and groups and other data Relocate saved data files Mail Database AFP Configuration Tomcat Data User Data Migrating From Mac OS X Server Version AFP and NFS services File services administration guide Tools You Can Use Workgroup Manager or dsimport tool Export user and group information To export user and group informationCreate archive files To transfer tar files using FTP Import users and groups and other data Relocate saved data files QuickTime Streaming Server Files and Folders Migrating From Mac OS X Server Version Migrating From AppleShare IP Migrating From AppleShare IP Create Internet aliases for users Meichen,mei Mei chen Users Export user and group information if necessary Provide Internet Aliases if necessaryTo export user information from Asip Mount the Asip server on Mac OS X Server To mount the Asip serverTo copy this file Copy the Users & Groups Data FileTo use the AppleShare IP Migration utility To import users and groups using Workgroup Manager Copy data to the new server To have users copy mail Migrate mailTo migrate the Asip mail database Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements