On Nov 19, 2009, at 10:30 AM, Baiss Eric Magnusson wrote:


After doing an Ant build, I can go to Terminal:
        cd /Library/WebObjects/Applications/tyf.woa
        ./tyf
and this should be the same as running the application via JavaMonitor or Terminal on the deployment server?

It is the same, less the very large number of important command line options that JavaMonitor (and Eclipse) adds. All the above really proves is that the process will start running.

Chuck


Anyway, I get in Terminal "Created adaptor of class WOClassicAdaptor on port 64832 and address baissYi.local/10.0.1.4"

And in the browser:
"The requested application was not found on this server."

I see it has called my Application class but has not called the defaultAction method of DirectAction where it would call Main.

In Application I have it tell me

Baiss has launched http://baissYi.local/cgi-bin/WebObjects/tyf on port 1085
Where 1085 is lifebeatDestinationPort()

The application runs when Debug from Eclipse, it seems the problem is a port problem not a class loading problem?

My NSlog ( i internally turn on, looks like )

<main> Opening application's URL in browser:
http://baissYi.local/cgi-bin/WebObjects/tyf.woa/-64832
<main> null
<main> Waiting for requests...
*******
Eclipse question:
When I right-click on NSLog I get NSLog.class in the window with a message about finding the <Change Attached Source…> which doesn't seem to help as it asks for a .jar. Is this as good as it gets in Eclipse for getting to documentation; and thus I have to have XCode open for the documentation?
*******
and for <wsresources.include.patterset> I have:

WebServerResources/*/**/*

----
Baiss Eric Magnusson
http://www.CascadeWebDesign.com




--
Chuck Hill             Senior Consultant / VP Development

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