• 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: Deployment error on start up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment error on start up


  • Subject: Re: Deployment error on start up
  • From: William Hatch <email@hidden>
  • Date: Mon, 19 May 2008 20:24:01 -0400

Indeed, both MacOS... and MacOSXS... say: # JVM              == ${jvm}

So, I modified those, then came up against the ERExtensions NOT before foundation error; fixed that, and now

"No Instance available"

Nothing in the http/error_log, but I guess that's another problem. However, what should I do to ensure that the JVM property is properly set up from within the project? I've not had this problem before, and I'd prefer to not have to manually edit the file each time we deploy if possible. Any thoughts on what property I need to look at? Thanks David.

Bill


On May 19, 2008, at 8:01 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?

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org



_______________________________________________ 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
References: 
 >Deployment error on start up (From: William Hatch <email@hidden>)
 >Re: Deployment error on start up (From: David LeBer <email@hidden>)
 >Re: Deployment error on start up (From: William Hatch <email@hidden>)
 >Re: Deployment error on start up (From: William Hatch <email@hidden>)

  • Prev by Date: Re: Deployment error on start up
  • Next by Date: Re: Tracking EC Locking Issues when using MultiECLockManager and LockErrorScreamerEditingContext
  • Previous by thread: Re: Deployment error on start up
  • Next by thread: Tables Vs Divs
  • Index(es):
    • Date
    • Thread