• 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: Deploying on Development System
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deploying on Development System


  • Subject: Re: Deploying on Development System
  • From: Daniel Eggert <email@hidden>
  • Date: Mon, 19 Sep 2005 19:51:17 +0200

On Sep 19, 2005, at 6:45 PM, Chuck Hill wrote:

On Sep 19, 2005, at 8:48 AM, Daniel Eggert wrote:


Thanks for the quick answer.

On Sep 19, 2005, at 5:24 PM, Seejo Pylappan wrote:

Couple of things.

1) Why are you manually starting wotaskd? It should already be running.



wotaskd is not started on 10.4 client. So I started it manually.


Don't do it like that. Edit /System/Library/StartupItems/ WebObjects/WebObjects

so the relevant section looks like
                ####
                # This set of invocations will launch wotaskd and
                # (optionally) Monitor as root

"$WOSERVICE" -appPath "$WOTASKD" >/var/log/ webobjects.log 2>&1 &

You should not need to do much else. If you are running from Xcode, there is no need to set it up in JavaMonitor. The URL will be like

http://localhost/cgi-bin/WebObjects/Aurora/-50000



Chuck



[snip]


Thanks. I see. And I thought Apple was going for launchd(8). Anyhow, things still do not work.


I fixed /System/Library/StartupItems/WebObjects/WebObjects

/usr/bin/su appserver -c "$WOSERVICE -appPath $WOTASKD" >/var/ log/webobjects.log 2>&1 &
/usr/bin/su appserver -c "$WOSERVICE -appPath $WOJAVAMONITOR" - WOPort 56789 -WOAutoOpenInBrowser NO >> /var/log/webobjects.log 2>&1 &


additionally had to set the shell of the appserver user to something valid (/bin/sh). I have wotaskd upand running:

javawoservice.sh: `wotaskd' is starting up ...
[2005-09-19 19:35:42 CEST] <main> Multicast Response Disabled
[2005-09-19 19:35:42 CEST] <Thread-0> Created UDP socket; listening for requests...
[2005-09-19 19:35:42 CEST] <main> The URL for webserver connect is:
http://Daniels-iMac.local/cgi-bin/WebObjects/wotaskd.woa/-1085
The URL for direct connect is:
http://Daniels-iMac.local:1085/cgi-bin/WebObjects/wotaskd.woa
[2005-09-19 19:35:42 CEST] <main> null
[2005-09-19 19:35:42 CEST] <main> Waiting for requests...
iting for requests...


Still, while <http://locahost:1085/cgi-bin/WebObjects/wotaskd.woa> _does_ works, <http://localhost/cgi-bin/WebObjects/wotaskd.woa/-1085> returns only:
The requested application was not found on this server.


Here's a telnet transscript:

% daniel% telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /cgi-bin/WebObjects/wotaskd.woa/-1085
<html><body><strong>The requested application was not found on this server.</strong></body></html>
Connection closed by foreign host.


Looks like the adaptor does something it should not...? Which part did I miss?

/Daniel

_______________________________________________
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:
    • Re: Deploying on Development System
      • From: Chuck Hill <email@hidden>
References: 
 >Deploying on Development System (From: Daniel Eggert <email@hidden>)
 >Re: Deploying on Development System (From: Seejo Pylappan <email@hidden>)
 >Re: Deploying on Development System (From: Daniel Eggert <email@hidden>)
 >Re: Deploying on Development System (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Having WO respond to direct URLs
  • Next by Date: Re: Passing an EOGenericRecord Refrence in a Direct Action
  • Previous by thread: Re: Deploying on Development System
  • Next by thread: Re: Deploying on Development System
  • Index(es):
    • Date
    • Thread