Installing WebObjects 5 on Linux

I installed WebObjects 5.0 successfully on debian 2.2 (testing).

Here's what I did:
* download jdk 1.3.1 from sun and put it in /usr/local
  -- available from

* install webobjects after renaming the files 
  (they were mounted as all lowercase for me) using

* set up my NEXT_ROOT and PATH environment variables in my .profile
   -- export NEXT_ROOT=/var/Apple
   -- export PATH=${PATH}:/usr/local/jdk1.3.1/bin 
   (this is bash syntax; for tcsh, try setenv NEXT_ROOT /var/Appple, etc.)

* compile the apache adaptor
  -- we want to change the default OS to HPUX
>># Define the OS.
>>ifeq "" "${OS}"

  -- and change the adaptors built for HPUX
  -- make sure to set the correct path for apxs
>>ifeq "HPUX" "$(OS)"
>>APXS = /usr/bin/apxs

  -- change CGI/Makefile to eliminate the annoying warning messages
     during compile
>>#ifeq "HPUX" "$(OS)"
>>#CFLAGS += -nopdolib

* install the module like so
	apxs -i -n WebObjects

* add this line to httpd.conf:
    Include /var/Apple/Library/WebObjects/Adaptors/Apache/apache.conf 
  -- change the LoadModule line to /usr/lib/apache/1.3/ 
     (it may be different for RedHat, SuSE, etc.)

* start up wotaskd:
    /var/Apple/Library/WebObjects/Executables/WOServices start

* start up JavaMonitor:
  /var/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor &

I had to install a few weird debian packages (using apt-get instal XXX). These included:
* libdb3-dev (to compile the apache adaptor)
* libstdc++2.9-glibc2.1_2.91.66 (for java)
* apache-dev (to get apxs)

Leave a comment

Your email address will not be published. Required fields are marked *