• 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: Blank Page on Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blank Page on Deployment


  • Subject: Re: Blank Page on Deployment
  • From: Denis Stanton <email@hidden>
  • Date: Fri, 3 Dec 2004 06:34:20 +1300


On 01/12/2004, at 6:59 AM, Dale W. Miller wrote:

When I build and run a WebObjects application with Xcode, it works fine.

When I try to run the application with JavaMonitor the application produces only a blank page. We are running other applications developed in the same way with no problems and this application has worked fine previously.

Could I have mistakenly set something incorrectly in Xcode that causes the .woa not to produce the HTML?

Any suggestions on where to look to determine why this might be happening? Thanks.

This probably means there is a configuration error causing the application to fail somewhere during the startup.

The easiest way to figure out where it's going wrong is to run the application from the command line so you get to see the feedback.

Open terminal
Navigate to where your application is sitting. Something like this:
cd /Library/WebObjects/Applications
Enter the name of the executable. Something like this:
./MyApp.woa/MyApp

That would be enough provided there are no special run-time parameters. It may be that it is the run-time parameters that need fixing, so you're going to need to make a script with the same parameters as you set in Monitor and run that instead.

Here's a fairly minimal script. You can make this with BBEdit and save it in the same directory as your .woa file

#!/bin/sh
./MyApp.woa/MyApp
-Xmx128m


Add on any other parameters that you have set in Monitor, one to a line.
Save this as 'run.sh' (without the quotes)

Go back to this folder in Terminal and type
./run.sh


Denis Stanton
email@hidden
Home: (09) 533 0391
mobile: 021 1433622

 _______________________________________________
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

  • Follow-Ups:
    • Re: Blank Page on Deployment
      • From: "Dale W. Miller" <email@hidden>
  • Prev by Date: Xcode 2.0
  • Next by Date: Communication inter-apps
  • Previous by thread: Xcode 2.0
  • Next by thread: Re: Blank Page on Deployment
  • Index(es):
    • Date
    • Thread