Re: WO Won't Launch
Re: WO Won't Launch
- Subject: Re: WO Won't Launch
- From: Chuck Hill <email@hidden>
- Date: Mon, 4 Dec 2006 16:40:53 -0800
I am probably not the person you want for answers on permissions
issues, but...
On Dec 4, 2006, at 4:09 PM, Joel M.Benisch wrote:
To All:
Not sure which list is more appropriate. Please forgive if I'm
asking the wrong folks.
We're deploying our WO application and have run into a problem.
I hope some folks can share experience and point us to the source
of our problem.
Problem:
When launching, WO can't read the 'MacOSClassPath.txt' file and the
launch script terminates.
The path to the unreachable file is
/Volumes/Data/Lightbeam/Lightbeam2.woa/Contents/MacOS
Permissions are documented below.
Environment:
Dual 2GHz G5 XServe with 8GB RAM
OSX Server v10.4.8 with all updates installed, and yes, WO is
turned on.
Drives B and C as a mirrored RAID appearing as a single volume
called 'Data' at
/Volumes/Data
ACLs are enabled on the volume.
Neither the volume (Data) nor the directory (Lightbeam) are set as
share points. Don't see any reason to make them Share Points
because no human user (except me as Admin) will ever need to see or
mount that directory or any of it's branches. Only our application
and PostgreSQL will access the contents of that directory branch.
I am an Admin. Boot script has been changed so that Admins mount
volumes instead of share points.
One Group has been created called 'Lightbeam' consisting of
appserver
postgres
lightbeam
greg (the developer who needs access)
Our WO Application is at /Volumes/Data/Lightbeam/Lightbeam2.woa
Permissions are as follows:
/Volumes/Data: ACL = none
/Volumes/Data: POSIX Owner = me with r/w, no other POSIX
permissions of any kind are set
Don't you need execute on the dir to allow others to navigate through
it?
Try sudo -u appserver touch /Volumes/Data/Lightbeam/Lightbeam2.woa/
Contents/MacOS/foo
Chuck
/Volumes/Data/Lightbeam: ACL = Lightbeam group has Allow r/w with
full inheritance. Note that 'Administration' (Change Permissions
and Change Owner) is **NOT** turned on in the ACL.
/Volumes/Data/Lightbeam: POSIX Owner = me with r/w, no other POSIX
permissions of any kind are set
/Volumes/Data/Lightbeam/Lightbeam2.woa/... inherits the above ACL
and POSIX permissions
In Terminal, WO cannot access the file as user 'appserver', but the
user 'appserver' can access it directly:
Trying to run the application as "appserver" fails, complaining it
cannot access some file.
Central-Files:/Volumes/Data/Lightbeam/Lightbeam2.woa greg$ sudo -u
appserver /Volumes/Data/Lightbeam/Lightbeam2.woa/lightbeam -WOPort
5555
Password:
Reading MacOSClassPath.txt ...
lightbeam: Unable to read "/Volumes/Data/Lightbeam/Lightbeam2.woa/
Contents/MacOS/MacOSClassPath.txt"! Terminating.
Accessing same file directly does work though, so appserver seems
to have access in this case.
Central-Files:/Volumes/Data/Lightbeam/Lightbeam2.woa greg$ sudo -u
appserver cat /Volumes/Data/Lightbeam/Lightbeam2.woa/Contents/
MacOS/MacOSClassPath.txt
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == Application
APPROOT/Resources/Java/
APPROOT/Resources/Java/commons-codec-1.1.jar
APPROOT/Resources/Java/commons-collections-3.1.jar
APPROOT/Resources/Java/commons-logging-api.jar
APPROOT/Resources/Java/commons-logging.jar
.....
.....
(output truncated)
We have tried setting the /Volumes/Data as a Share Point and we
have tried setting /Volumes/Data/Lightbeam as a Share Point. It
didn't' make a difference, so we assume that's not it.....
Thanks in advance for any shared experience or insight.
Regards,
Joel
----------------------------------------------------------------------
--------------------
Joel M. Benisch CPCU,
President 973-992-6300 x303
PaperFree
Corporation
973-992-6666 FAX
909 Regal
Boulevard
email@hidden
Livingston, NJ 07039-8249
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden