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
/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 PROTECTED]
Livingston, NJ 07039-8249
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]