Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

I needed to install the WebObjects deployment environment on a CentOS 5.2 64 bit box, and by combining tidbits of information from the mailing lists and the wiki, I was able to have a working environment. This is how I did it :

Install Sun Java JDK

1. You need to install a Java SDK. DON'T use the Java stuff from GNU, use a JDK from Sun instead. In my case, I installed JDK 1.5.0_16 from a RPM I got from I also created two symbolink links :


Code Block

Install WebObjects

2. Get the WebObjects installer from mDimension's Web site :


Code Block
[appserver@ ~]$ $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
[appserver@ ~]$ $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor -WOPort 56789 &


5. Last step : compiling and installing the Apache module


.. default install location is then /etc/httpd

HTTP Adaptor

You can also find pre-built binaries of the module at If no pre-built binaries exist for your platform, follow those instructions:


Code Block
[root@ Adaptors]# make CC=gcc
[root@ Adaptors]# cd Apache2.2/
[root@ Apache2.2]# apxs -i -a -n WebObjects
[root@ Apache2.2]# cp -rp /opt/Local/Library/WebServer/Documents/WebObjects /usr/local/apache/htdocs
[root@ Apache2.2]# cp apache.conf /usr/local/apache/conf/extra/webobjects.conf

Apache Configuration

Instead of copying the WebObjects directory, you can use a alias to point to the folder inside NEXT_ROOT. In your Apache configuration, add something like :


Code Block
/usr/local/apache/bin/apachectl -M

Auto Start WOTaskd and WOMonitor

One last thing, you need a init script to start wotaskd and Monitor at boot time. This is the one I wrote :


Code Block
sudo update-rc.d webobjects defaults


If SELinux is enabled on your system, wotaskd won't run because of SELinux policies. You need to run :

Code Block
sudo setsebool -P httpd_can_network_connect=1

Additional Resources

Jonathon Rentzsch WOPlat Project 'WOInstaller + Wonder Web Server Adaptor + OS Support Files'