I am having problems setting deployment up on a client's new Linux
system.
( Note that my customer already has 2 Windows systems running WO apps
under JavaMonitor, and wants to keep the new Linux server running a
WebObjects UI they are used to; hence we are not going for a Tomcat
deployment).
Currently we are getting a segmentation fault on all http requests.
The server is a Dell system running RedHat Enterprise Linux Server
release 5.1 (Tikanga), 32bit. The installed version of Apache is
2.2.3. Everything on the system is installed stock from RPMs apart
from WebObjects and the JDK (Java 1.5).
WebObjects apps have been tested to work sans-Apache. We're running
JavaMonitor.woa from the command line, and connecting to it with no
problems. I have also successfully started wotaskd from the command
line. My WO app is configured to start in Monitor, starts fine, and
it's log output shows it to be waiting for requests. Currently I am
running everything as root (not for long-term deployment, but I just
want to get things working without permissions being an issue).
Compiling the Apache WO adaptor from the Project Wonder sources was
failing with errors involving apr, until a small change was made to
apr-i386.h (replaced "typedef off64_t apr_off_t;" with "typedef
ssize_t apr_off_t;". (This was suggested on the WO-deploy list by
Kevin Ren back in January.) This also has the effect of leaving 2
typedef ssize-t definitions inapr-1386.h - I don't know if that may
be an issue?
I followed Aurelien Minet's suggestions (April 9th, this list) on
changes to the makefiles. We also followed what seemed relevant on
the wiki for FreeBSD / Linux deployment.
This persuaded mod_WebObjects.so to build without errors, though
still with some warnings. However, when it is LoadModule'd in to
apache all http requests cause a segfault. Apache itself starts up
fine. This includes simple requests to non-WO 'text only' displays.
If the request is being made to a WO app and Adaptor logging has been
enabled (with /tmp/logWebObjects), it prints "Debug: <WebObjects
Apache Module> new translate: (null)"
I assume that our problem may be a brokenly built adaptor, but I'm
not sure where to start on fixing it, or persuading a working version
to build. Sadly I am not a Linux expert.
All suggestions gratefully received.
Liz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]