On 20 apr 2009, at 09:18, Johan Henselmans wrote:
I just tried to install a D2W WebObjects5.4.3 app with all
Frameworks included on a FreeBSD server, trying to get this thing
running under SSL. (apache2.2-14. )Not nice.
The moment I try to connect to https://server/apps/WebObjects/Application
, it seems the Application gets killed. In the logging I get this
message:
pr 20 07:32:50 PSTennis[2015] WARN NSLog - <WOWorkerThread id=3
socket=Socket[addr=/127.0.0.1,port=58052,localport=2015]> Exception
while sending response: java.net.SocketException: Broken pipe
I tried to do the settings as Miguel has described in his fighting
with Parallels ( which he won, I lose most of the time) as:
SSLOptions -FakeBasicAuth -ExportCertData -StrictRequire -StdEnvVars
That did not help either.
So I tried to compile the latest adaptor source code on FreeBSD from
Wonder:
the result:
************************************************************************
[r...@gull /usr/local/src/Adaptors]# gmake Apache2.2
cd Apache2.2 ; gmake
gmake[1]: Entering directory `/usr/local/src/Adaptors/Apache2.2'
c -S CC=cc -Wc,"-O2 -I` -q INCLUDEDIR` -I../Adaptor -
DSINGLE_THREADED_ADAPTOR -DFREEBSD -DFORKING_WEBSERVER -DAPACHE " -
Wl,"" mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/
Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/
WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../
Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../
Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/
loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/
random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/
roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/
strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/
wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/
xmlctokenizer.c ../Adaptor/xmlparse.c
-q: not found
c: not found
gmake[1]: [mod_WebObjects.so] Error 127 (ignored)
cp .libs/mod_WebObjects.so . #extra copy to put mod_WebObjects.so
in traditional location
cp: .libs/mod_WebObjects.so: No such file or directory
gmake[1]: *** [mod_WebObjects.so] Error 1
gmake[1]: Leaving directory `/usr/local/src/Adaptors/Apache2.2'
gmake: *** [Apache2.2] Error 2
*************************************************************************
Any suggestions?
to answer part of my own question:
It seems that although "FreeBSD" is defined in make.config for the
variable ${OS}, printenv actually passes "FREEBSD". So changing
FreeBSD in make.config to FREEBSD solved the problem of compiling
mod_webobjects.so.
After changing FreeBSD into FREEBSD in make.config, the
mod_webobjects.so compiled, but still no SSL.
There seems to be a setting
ENABLE_SSL_SUPPORT= -DAPACHE_SECURITY_ENABLED
which according to the technotel might compile SSL support, so I added
that to make.config. Although I got a mod_webobjects.so that seemed to
be different, I still did get the error that started this story:
May 05 22:09:56 PSTennis[2015] WARN NSLog - <WOWorkerThread id=11
socket=Socket[addr=/127.0.0.1,port=65163,localport=2015]> Exception
while sending response: java.net.SocketException: Broken pipe
Halfway there...
Regards,
Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/johan%40netsense.nl
This email sent to [email protected]
Regards,
Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]