Hi all,
I already posted an earlier mail to the Wonder list regarding this,
so sorry if you get this twice.
I used the latest Wonder source and patched along til I finally was
able to build an adaptor for Apache 2.2 (2.2.4_2). The FreeBSD is a
generic amd64 6.2-RELEASE-p4. I compiled apache22 with
"WITH_SSL_MODULES".
The adaptor worked fine for HTTP, but once HTTPS comes into play it
fails. My search for hints led me to Quinton's excellent ports -
which of course would have saved me hours if I found them before...
Alas, rebuilding with his ports results in a adaptor that exhibits
the same problem as my handmade version.
Any access via SSL is resulting in "No instance available". The
WebObjects.log output for a request via SSL looks like this:
Debug: <WebObjects Apache Module> new translate: /cgi-bin/WebObjects/
MyApp.woa/
Info: <WebObjects Apache Module> new request: /cgi-bin/WebObjects/
MyApp.woa/
Debug: App Name: MyApp.woa/ (9)
Debug: We have ssl
Error: invalid certificate length: 0
Info: V4 URL: /cgi-bin/WebObjects/MyApp.woa/
Info: Selected new app instance at index 2
Debug: Composed URL to '/cgi-bin/WebObjects/MyApp.woa/2'
Info: New request is GET /cgi-bin/WebObjects/MyApp.woa/2 HTTP/1.1
Info: Sending request to instance number 2, port 2004
Info: Trying to contact MyApp:2 on (2004)
Info: attempting to connect to 10.10.10 on port 2004
Info: MyApp:2 on (2004) connected [pooled: No]
Error: sendBuffers(): send error: Invalid argument
Error: error sending request
Error: Failed to send request
Info: Marking instance 2 dead
Warn: Marking 10.10.10:2 unresponsive
Debug: connectionAttempts = 1, retries = 10
Info: Reading configuration from http://localhost:1085/WebObjects/
wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: Attempting failover to new instance at index 1
Debug: Composed URL to '/cgi-bin/WebObjects/MyApp.woa/1'
Info: New request is GET /cgi-bin/WebObjects/MyApp.woa/1 HTTP/1.1
Info: Sending request to instance number 1, port 2003
Info: Trying to contact MyApp:1 on (2003)
Info: attempting to connect to 10.10.10 on port 2003
Info: MyApp:1 on (2003) connected [pooled: No]
Error: sendBuffers(): send error: Invalid argument
Error: error sending request
Error: Failed to send request
Info: Marking instance 1 dead
Warn: Marking 10.10.10:1 unresponsive
Debug: connectionAttempts = 2, retries = 10
Debug: ac_readConfiguration(): skipped reading config
Info: tr_selectInstance(): scheduler failed to select instance.
Info: No new instance located for failover
Error: Request handling error: No instance available
As you can see, there's an "Error: invalid certificate length: 0"
message showing. I looked at the source and figure that this fails at
a point where it tries to retrieve an SSL cert that may be provided
by the requesting client? My C-skills are non-existant, so I'm really
stumped here.
Does anybody have a working setup of apache22 on FreeBSD/amd64 with SSL?
cheers,
Fabian
_______________________________________________
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]