WebObjects Gears Logo

WOinstall

This command moves your WebObjects application the right place, sets permissions, and ownership.

Note: Before using this command make sure you review it, use it at your own risk.

When this command is run it:
  • creates a log directory,
  • makes a backup of a previously installed WebObjects application,
  • installs the application into /Library/WebObjects/Applications,
  • installs the web components from within the WO application to /Library/WebServer/Documents/WebObjects, and
  • sets permissions and owner

Usage

Using this command is very simple.

Copy your WebObjects application to a given folder on your deployment server, you can call it WOinstall. Copy the woinstall command to this folder as well.

Open Terminal.app or get to a command shell on your deployment server. Switch into the WOinstall directory. Run the following command:

% ./woinstall MyGreatWOApp.woa

The % is the command line prompt and should not be typed in. If you use a different shell it may look different.
Also, MyGreatWOApp.woa is the name of your WebObjects application.

The command will proceed to install your application, copy the web resources to your web site and give all files the proper permissions.

Requirements

The WOinstall command is written with the assumption that it will run on a Mac OS X Server. Theoretically, this command will run on other UNIX-like operating systems as long as some path names are changed:

APPPATH="/Library/WebObjects/Applications"
WEBPATH="/Library/WebServer/Documents/WebObjects"
WEBRSRC="Contents/WebServerResources"

To change the owner and group that the command will apply to the WebObjects application change the following code:

WOUSER="appserver"
WOGROUP="appserveradm"
Log directory

The log directory gets created but JavaMonitor must sill be used to tell your WebObjects application where to write the log files.
The path to the log file is easily changed:

LOGPATH="`echo /var/log/$WOAP | sed 's/\.woa$//g'`"

Notice

By using this command you agree to the following terms:

Use this software 'as is.' In no event shall the author be liable for any damages whatsoever arising out of the use of or inability to use this software. There are no warranties, either expressed or implied, regarding the functionality of the WOinstall command.

Redistribution in any way, including, but not limited to CD-ROM, removable media or over the Internet, of the software is not permitted without the prior written permission from Klaus I. Berkling.

My current employer, past employers, or any internet service providers are in no way responsible for this software.

"WOinstall" Copyright © 2006-2007 Klaus Berkling, All rights reserved.

Download here:

Please donate: