On Jan 23, 2009, at 8:36 AM, David Peter Shaykewich wrote:
Thanks Chuck!
That seems to have done the trick (and I got some sleep last
night). We gave everything in the app permissions of 'o+x', 'o+w',
and 'o+r' and suddenly the green light in JavaMonitor was on.
Now that we've opened everything up to the world, is there a
resource out there that defines which files need which permissions
on the server?
Probably not. :-) This is worth reading:
http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Introduction/chapter_1_section_1.html
At one point, WOLips was not marking the script that starts the app as
executable. That might have been it. It was the .woa directory that
you changed permissions on? It needs to be readable by the user that
wotaskd is running as. This should be _appserver if things are setup
correctly. _appserver also needs execute permission on the
AppName.woa/AppName script.
Chuck
-----Original Message-----
From: Chuck Hill [mailto:ch...@global-village.net]
Sent: Thursday, January 22, 2009 3:02 PM
To: David Peter Shaykewich
Cc: webobjects-deploy@lists.apple.com
Subject: Re: Can't Launch in JavaMonitor
On Jan 22, 2009, at 2:52 PM, David Peter Shaykewich wrote:
Hi Folks.
Summary:
I can't start an instance of an app (migrated from XCode) built in
WOLips with JavaMonitor, but I can run it from the command line
(MyApp.woa/MyApp).
Dev Env:
OSX 10.5.6
Eclipse 3.3.2
WOLips 3.3.5596
using the 'woswitch.sh' script to build as WO 5.3
Server:
OSX 10.4.x
WO 5.3
Apache
- Trying to launch an instance of the application on the server
through JavaMonitor fails - the light never turns green and the
Deaths increment up.
- The app runs successfully on the server when started at the
command line (MyApp.woa/MyApp).
- The server is currently successfully hosting a version of this app
(that can be launched using JavaMonitor) that was built using the
old Apple dev tools (XCode?) on 5.3.
- When I launch my WOLips version of the app from the command line
(without any switches), it runs in DirectConnect mode - this is
successful.
- The 'old' XCode version app on the server (that is launched with
JavaMonitor) is NOT running in direct connect mode (images, CSS,
etc. are being served via Apache).
Any ideas about what I can to
1) diagnose the problem?
2) fix the problem?
Let's start here:
http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=19193&nextMode=list
Chuck
Thanks very much folks! I've been banging my head against the wall
on this one!
DS
--
David Shaykewich
Senior Web Application Developer
UVic Online
University of Victoria
dshay...@uvic.ca
voice: 250.853.3233
--
Chuck Hill Senior Consultant / VP Development
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
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.8/1897 - Release Date:
1/22/2009 7:08 AM
--
Chuck Hill Senior Consultant / VP Development
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-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com