Send Webobjects-deploy mailing list submissions to
webobjects-deploy@lists.apple.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/webobjects-deploy
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Webobjects-deploy digest..."
Today's Topics:
1. Re: WO5.4 app deployed on Tiger: SSL Problem (Andr? Mitra)
2. Re: Wonder's JavaMonitor, is it ready for prime time ?
(Gavin Eadie)
3. DNS Setup? [Was: Weird kCFErrorDomainCFNetwork error] (Rams)
4. Re: Wonder's JavaMonitor, is it ready for prime time ?
(Anjo Krank)
----------------------------------------------------------------------
Message: 1
Date: Mon, 28 Jul 2008 10:07:19 -0400
From: Andr? Mitra <[EMAIL PROTECTED]>
Subject: Re: WO5.4 app deployed on Tiger: SSL Problem
To: Webobjects-deploy@lists.apple.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="windows-1252"
Try removing the :443 from the URL in the redirect...
The point at which problems occur is the redirect from the
application's url (http://gamp.murdoch.edu.au/cgi-bin/WebObjects/CASE.woa
) to the SSL based login page. The browser reports:
Safari cant open the page
https://gamp.murdoch.edu.au:433/cgi-bin/WebObjects/Cafe.woa/wa/Login/startLogin
because it could not connect to the server gamp.murdoch.edu.au.
_______________________________________________
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/andre%40geometria.net
This email sent to [EMAIL PROTECTED]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20080728/0d3b5b11/attachment.html
------------------------------
Message: 2
Date: Mon, 28 Jul 2008 10:55:13 -0400
From: Gavin Eadie <[EMAIL PROTECTED]>
Subject: Re: Wonder's JavaMonitor, is it ready for prime time ?
To: Gavin Eadie <[EMAIL PROTECTED]>
Cc: webobjects-deploy@lists.apple.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
On Jul 28, 2008, at 9:46 AM, Gavin Eadie wrote:
I changed the config to have the host called "gavins-mobile.local"
and changed the "URL to Adaptor" host the same way, and I'm able to
access my application through Apache now.
... that was probably because some Apple created structure was
persisting, since it soon stopped after switching back to Wonder. On
the other hand, when I added Anjo's suggestion below, it started
working again.
Fix was to add in wotaskd Properties:
er.extensions.ERXMessageEncoding.Enabled=false
Re-build and run. Should work.
Yes!! That's better. Now I can get to it from Apache, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20080728/c8b5538d/attachment.html
------------------------------
Message: 3
Date: Mon, 28 Jul 2008 14:44:02 -0400
From: Rams <[EMAIL PROTECTED]>
Subject: DNS Setup? [Was: Weird kCFErrorDomainCFNetwork error]
To: Webobjects-deploy@lists.apple.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
On Jul 25, 2008, at 2:58 PM, Lachlan Deck wrote:
On 26/07/2008, at 4:39 AM, Rams wrote:
I searched the list and found no reference to this error, so I'm
guessing it's an unusual problem... I'm still having trouble with
my HTTP adaptor on OS X client after two weeks of pounding my head
against the wall, and I thought I would ask here before I accept
defeat and go spend $500 on OS X Server.
I'm getting this kCFErrorDomainCFNetwork in Safari on page loads
even though the server logs indicate that the operation went fine.
So I tried in Firefox, and it renders a blank page. Viewing source
on that blank page produces my page source, it just doesn't render
in the browser??? I think I've ruled out my app as a source of the
problem since a) it never happens in direct connect, and b) it
happens with the WOAdaptorInfo page too. My only guess is the
adaptor is somehow broken, or my edits in my httpd.conf file is
somehow fouling up apache, if that's possible. Does any of this
error sound familiar to anyone?
My suggestion: follow previous advice before spending the doe. i.e.,
go back to stock httpd.conf (reinstall if necessary) and don't worry
about mod-rewrite *until* you get it working. It works fine on my,
and many other's, non-server system.
with regards,
--
Lachlan Deck
Ok, I have three edits that diverge from my stock httpd.conf file.
They are all necessary for basic operation and are as follows.
*****************httpd.conf edits
1) To prevent 403 forbidden errors, I have
<Directory />
Options FollowSymLinks
AllowOverride None
# Order deny,allow
# Deny from all
</Directory>
2) To prevent urls with a host name of "Mini.local" instead of
"my.domain.com" generated by
public String feedUrl() {
return context().directActionURLForActionNamed("default", null);
}
In my ERXRSSPage component, I have:
ServerName my.domain.com:80
3) To redirect the visitor's browser to my app, inside of <IfModule
alias_module> I have:
Redirect permanent /index.html http://my.domain.com/cgi-bin/WebObjects/myapp.woa
*****************Symptoms of the problem
Once I get it set up and it is working, it seems to work fine until I
reboot the machine. Once the machine is rebooted, more often than
not, the application fails... I get either a
"No Instance Available" pages
"The application could not be found of this server" pages
or the KCFErrorDomainCFNetwork error in the browser
*****************Workaround
It seems I've found one reliable way to restore functionality to the
app... The process is to
Delete the app in monitor
Delete log files
Restore httpd.conf to it's original, pristine, untouched state with a
backup I originally made before starting to edit it.
Reboot the mini
Make the three edits mentioned above to httpd.conf
Reboot the mini
touch /Library/WebObjects/Log/WebObjects.log
chmod ugo+w /Library/WebObjects/Log/WebObjects.log
sudo chown _appserver:_appserveradm /Library/WebObjects/Logs/
WebObjects.log
touch /tmp/logWebObjects
Add the app to monitor. Set the path to the app, set the WOStats
password, view details, add three instances.
At this point, it will run just fine... until the next reboot.
Sometimes I can reboot without issue. Most of the time, it fails, so
I have to repeat this process. It's tedious, but so far, it works.
*****************Diagnosis?
Looking at the edits, I wonder if perhaps there is something wrong
with my DNS setup. This sounds quite similar to a problem documented
on this list four years ago by Jonathan Rochkind.
http://lists.apple.com/archives/webobjects-deploy/2004/Mar/msg00025.html
Currently, my DNS setup is as follows...
Since I'm using OS X client, I have my domain record being managed by
my domain registrar. *.mydomain.com and mydomain.com go to my static
ip address. At that IP address, I have a Airport Express forwarding
port 80 traffic to my server at a fixed 10.0.1.x address. On my
server, I set the DNS in Directory Services instead of using a hosts
file since dscl is billed as a replacement for /etc/hosts among other
things...
sudo dscl localhost -create /Local/Default/Hosts/www.mydomain.com
IPAddress 127.0.0.1
I recall trying with my 10.0.1.x address assigned by my NAT (airport
express), but setting the host wouldn't work in Monitor unless I used
the loopback address... anyway, what are the odds that this DNS setup
is the root of my issues? Do I need to set up a DNS server to use
monitor and wotaskd?
rg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2413 bytes
Desc: not available
Url :
http://lists.apple.com/mailman/private/webobjects-deploy/attachments/20080728/d6376d44/smime.bin
------------------------------
Message: 4
Date: Mon, 28 Jul 2008 20:57:09 +0200
From: Anjo Krank <[EMAIL PROTECTED]>
Subject: Re: Wonder's JavaMonitor, is it ready for prime time ?
To: Gavin Eadie <[EMAIL PROTECTED]>
Cc: webobjects-deploy@lists.apple.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Am 28.07.2008 um 16:55 schrieb Gavin Eadie:
On Jul 28, 2008, at 9:46 AM, Gavin Eadie wrote:
I changed the config to have the host called "gavins-mobile.local"
and changed the "URL to Adaptor" host the same way, and I'm able to
access my application through Apache now.
... that was probably because some Apple created structure was
persisting, since it soon stopped after switching back to Wonder.
On the other hand, when I added Anjo's suggestion below, it started
working again.
Which, incidentally is why stuff worked for me... I fixed all the
pageWithName() stuff so that the config is actualy read. Please update
and try again. Also fixed is uploading the keys in the migration tab.
Cheers, Anjo
------------------------------
_______________________________________________
Webobjects-deploy mailing list
Webobjects-deploy@lists.apple.com
http://lists.apple.com/mailman/listinfo/webobjects-deploy
End of Webobjects-deploy Digest, Vol 5, Issue 100
*************************************************