Re: Blank Page on Deployment
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