What host name are you using? For a dev machine, this should be localhost. For deployment it should be the same as what hostname returns. I think. It should match the reverse DNS lookup



On Jun 26, 2008, at 1:14 PM, Xia, Wen wrote:

Thank you, Chuck. I got the host name in wotaskd configuration and used it as -WOHost when launching the app, but still the same error occurred. I
wonder what else I should check?


On 6/26/08 11:59 AM, "Chuck Hill" <[EMAIL PROTECTED]> wrote:


On Jun 26, 2008, at 11:35 AM, Xia, Wen wrote:

Thank you both for your help.

But where is build.properties?

It should be in the top level of your project.


In build.xml, it looks for it in my home
directory, but I can't find it there. Is it generated/updated when I
compiled the application?

I changed the principal class in the Properties for the project, and
now it
launches the application without exception:
[2008-6-26 11:33:19 PDT] <main> WebObjects version = 5.4.1
Welcome to StaffDirectory !
-- Cleaning Log Files More Than 30 Days Old
[2008-6-26 11:33:19 PDT] <main> The URL for webserver connect is:
http://budgetdevxs/cgi-bin/WebObjects/StaffDirectory.woa/-54324
[2008-6-26 11:33:20 PDT] <main> null
[2008-6-26 11:33:19 PDT] <main> Waiting for requests...

But when I pasted the URL
http://budgetdevxs/cgi-bin/WebObjects/StaffDirectory.woa/-54324 in my
browser, it says: "The requested application was not found on this
server."

I wonder what is wrong with it.  Thanks again.

Probably a host naming problem.  The WOHost parameter should match
what wotaskd is using on that machine.

Chuck



On 6/25/08 7:01 PM, "Guido Neitzer" <[EMAIL PROTECTED]> wrote:

On 25.06.2008, at 18:12, Mike Schrag wrote:

This is the problem ... Or rather, your build.properties is probably the root cause. This variable should have been resolved at the time
build.properties was generated.

Isn't that changed whenever you change the principal class in the
Properties for that project?

cug

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village .
net

This email sent to [EMAIL PROTECTED]




--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to