• 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
WO Won't Launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO Won't Launch


  • Subject: WO Won't Launch
  • From: "Joel M.Benisch" <email@hidden>
  • Date: Mon, 4 Dec 2006 19:09:27 -0500

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@hidden
Livingston, NJ 07039-8249


 _______________________________________________
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: WO Won't Launch
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: embedded frameworks + split install
  • Next by Date: Re: WO Won't Launch
  • Previous by thread: Re: WORepetition, checked attribute question
  • Next by thread: Re: WO Won't Launch
  • Index(es):
    • Date
    • Thread