On May 19, 2008, at 5:02 PM, David LeBer wrote:

On 19-May-08, at 7:45 PM, William Hatch wrote:

Oh jeez, sorry, that last one should have been:

Reading MacOSClassPath.txt ...
Launching myApp.woa ...
${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/ Applications/locations-prod/myApp.woa" -DWOEnvClassPath="" - DWOApplicationClass=com.codefab.Application -DWOPlatform=MacOS - Dcom.webobjects.pid=28757 -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap
./CFiPhoneWeb: line 1: exec: -X: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]

Ahh, that's better.

The problem is the ${jvm} value in the exec statement.

That probably should be 'java'

What doest the #JVM == line of your AppName.woa/Contents/MacOS/ MacOS*ClassPath.txt say?


IIRC, this can also come from an incorrect / complete install of WO. If it can't find WOBootstrap.jar, it uses the WO 5.2 launch scripts and things go wrong. Mike posted something on this recently, but I don't have the message at hand. I _think_ this is the same error. A few people have been bitten by it and some seemed to have correct install so let us know when you figure it out.

Chuck


--

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      (Webobjects-dev@lists.apple.com)
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