I don't know that the person who had this problem back in Sep ever responded with the final solution, but things you might check:

1) Check that you in fact have a Main.wo in your Contents/Resources folder 2) Check that your classpath is correct in Contents/MacOS/ MacOSClassPath.txt -- Specifically there should be a APPROOT/ Resources/Java/yourjarfile.jar entry 3) Check that the ApplicationClass (this is the NSPrincipalClass by the way) header is set properly in your Contents/MacOS/ MacOSClassPath.txt

It's particularly weird that it's looking for your template INSIDE the jar (note that the url that it's failing on is a jar: url).

Have your tried just running your app from the commandline and dropping the WO Launcher funny business? Just run the ./FinancialWO inside the .woa folder and it should be easier to work with.

ms

On Jan 21, 2006, at 2:27 PM, Baiss Eric Magnusson wrote:

I have a problem, which I think others have experienced, particularly as posted by Mike Schrag on 28th Sept.; which occurs when I attempt to do a deploy build. I am using the latest XCode. I have poured back and forth between the development settings and the deploy configurations settings but don't see a difference. I really can't believe how bad WOLauncher is!

The NSlog is shown below:
********************************************************
<Thread-0> Creating new lifebeat socket
<Thread-0> Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused <main> Opening application's URL in browser: http://BaissG5.local: 52311/cgi-bin/WebObjects/JavaFoundation.woa
<main> null
<main> Waiting for requests...
<WorkerThread0> <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main at "jar:file:///Users/baiss/ Installs/WO_installs/FinancialWO.woa/Contents/Resources/Java/ FinancialWO.jar!/".
********************************************************

The jar file <FinancialWO.jar> is of the correct size and is located in the above path. It must be obfuscated as I can't look into it with JavaBrowser.

I don't know why <JavaFoundation.woa> is referenced instead of my application name. I can find no reference to NSPrincipalClass in any of the Project Settings.
It appears I am running in Direct Connect? as I always do?

----
Baiss Eric Magnusson
Still recovering from a Dec 12th total server crash.

_______________________________________________
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/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
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