• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: starting 10.5 server (was can't retrieve cookies)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: starting 10.5 server (was can't retrieve cookies)


  • Subject: Re: starting 10.5 server (was can't retrieve cookies)
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Thu, 10 Jan 2008 15:58:31 -0800

From: Art Isbell <email@hidden>
On Jan 9, 2008, at 1:24 PM, Baiss Eric Magnusson wrote:

Jumping in, since I have been unsuccessful with my Leopard server
for 6 weeks now, I have no statement in my httpd.conf:

<ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/ WebServer/CGI-Executables/$1">

It exactly matches the ScriptAliasMatch value in /etc/apache2/
httpd.conf on my Leopard client. This same file also includes the following:
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf


Analyzing <httpd.conf>, the Include line is there. This is a clean install of Leopard Server.

I found the <ScriptAliasMatch> line on the 10.5 client used in our dBug WO 5.4 Eclipse meeting, BTW: I would like to thank all the developers working on this transition, all of the computers at the meeting were able to install WO 5.4, Eclipse, WOLips, etc. and get "Hello World" running in a debug environment.

On Leopard Server, I added the <ScriptAliasMatch> (alias_module is being loaded) to <httpd.conf>, at the end, right before the <Include ...apache.conf>, but with no noticeable change in the test results.

This line was also on 10.5 client but not the Server, I have now added the line, but like with the ScriptAliasMatch addition there was no noted difference.
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so


I have been trying the following, which I've now done about 30 times: (hopefully not too disturbing to clients logged in, they've been notified)
Existing 10.4 server is on 227 with 5 running WO 5.3 apps.
Change existing server IP to 228 and shut it down.
Switch IP cabling.
Boot new 10.5 server, its IP is 227, Monitor is not turned on in Server Admin, but WebObjects is set to Start.
Boot old 10.4 server, enter JavaMonitor, delete old Host 227 and add new Host 228, it accepts that Host and I can start WO applications, which I do.
Test a site, look at the Logs, <system.log> and <webobjects.log>, and more (see below).
Shut down 10.5 server, switch cables back.
Change 10.4 server IP to 227.
Delete Host 228 and add Host 227, Restart 10.4 server, restart all the sites.


<sudo lsof -i tcp:1085> yields:
java 41 _appserver 8u IPv6 0x3d05664 0t0 TCP *:webobjects (LISTEN)
java 41 _appserver 10u IPv6 0x3d0519c 0t0 TCP wet227.drizzle.com:webobjects->wet227.drizzle.com:49166 (ESTABLISHED)
java 70 _appserver 10u IPv6 0x3d05b2c 0t0 TCP wet227.drizzle.com:49166->wet227.drizzle.com:webobjects (ESTABLISHED)


If I Stop WebObjects in Server Admin and do <lsof> no processes show.

The <webobjects.log> on the 10.5 server with 5.4 shows (and why this is I don't know)
<main> Unable to establish a connection to port 1085 on this host. Perhaps this port is already in use by another WebObjects application instance.
com.webobjects.wotaskd[ <main> A fatal exception occurred: <WOApplication>: Cannot be initialized.
<main> com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:<WOApplication>: Cannot be initialized.
com.webobjects.wotaskd[1763] at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:912)
com.webobjects.wotaskd[1763] at Application.<init>(Application.java: 112)


In the 10.5 configuration when I try to get to a site the DNS reconciliation is correct but when:
<meta http-equiv=refresh content="1; URL=http://www.someSite.org/cgi- bin/WebObjects/WOappx">
I get:
The requested URL /cgi-bin/WebObjects/WOappx was not found on this server.
This same error occurs if I try either URL of WOappx in JavaMonitor on the 10.4 server.


Does <wotaskd> even need to run on the 10.5 server, if the WO apps are running on another computer in the subnet?

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • wotaskd starting on 10.5 server, some progress
      • From: Baiss Eric Magnusson <email@hidden>
  • Prev by Date: Re: New podcasts and iTunes
  • Next by Date: Re: New podcasts and iTunes
  • Previous by thread: Re: New podcasts and iTunes
  • Next by thread: wotaskd starting on 10.5 server, some progress
  • Index(es):
    • Date
    • Thread