Re: Mavericks clean install set up problem

2013-11-11 Thread Faizel Dakri
I think you can specify the WORootDirectory and WOLocalRootDirectory to point 
to your installation. The WORootDirectory should point to your System folder 
and the WOLocalRootDirectory points to the folder that contains your Library 
folder. 

On my dev machine, I start my wotaskd instance (via Launch Services) with the 
following arguments:

keyProgramArguments/key 
array 
stringwotaskd/string 

string-DWORootDirectory=/opt/local/webobjects/5.4.3/System/string 

string-DWOLocalRootDirectory=/opt/local/webobjects/5.4.3/string 
string-WOHost/string 
stringlocalhost/string 
string-WOPort/string 
string1085/string 
/array

 
Mind you, I didn't do a clean install of Mavericks, so this is left over from 
my Mountain Lion installation, but it still seems to be working. Hope that 
helps.

F

-- 
Faizel Dakri



On 2013-Nov-10, at 10:21 PM, Johnny Miller jlmil...@kahalawai.com wrote:

 Hi Pascal,
 
 On a clean install there is no /Library/WebObjects directory
 If you install using WOInstaller.jar and put it in a non-default location 
 like /Developer/WebObjects /Library/WebObjects does not get created.
 
 So my question is how do you specify the override so that wotaskd doesn’t try 
 to write it’s configuration to /Library/WebObjects/Configuration
 
 Ideally, I would like it to write to 
 /Developer/WebObjects/Library/WebObjects/Configuration
 
 Could you pass it as an argument in com.apple.webobjects.wotaskd.plist?
 
 On Nov 10, 2013, at 5:53 PM, Pascal Robert prob...@macti.ca wrote:
 
 Cannot be created = bad file permissions on /Library/WebObjects
 
 I changed the standard out and standard error to a place that could see the 
 error messages and it was failing on:
 
 [2013-11-10 15:25:28 HST] main Configuration Directory 
 /Library/WebObjects/Configuration/ does not exist, and cannot be created.
 
 So I created a symbolic link from 
 /Developer/WebObjects/Library/WebObjects/Configuration to 
 /Library/WebObjects/Configuration
 
 Obviously that is kind of a hack.  Anyone know how to override that so I 
 can direct to the non-default location?
 
 Thank you,
 
 Johnny
 
 On Nov 10, 2013, at 2:31 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 It seems to start up and then die on me.
 
 593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
 -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
 -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
 -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
 WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
 619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
 -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
 -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
 -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
 WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
 
 
 It looks like -DWORootDirectory is wrong.  Do you know how would I direct 
 it to the right location?
 
 Thank you!
 
 On Nov 10, 2013, at 2:10 PM, Ken Anderson kenli...@anderhome.com wrote:
 
 If you do a ps, do you see monitor running?  It’s working OK on my clean 
 Mavericks install (on a late 2013 MBP!!)
 
 Ken
 
 On Nov 10, 2013, at 6:34 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 OK.
 
 So the mistake I made there was when reading the log files I saw it 
 complaining about appserver and appserverusr so I tried adding the 
 underscore in the configuration files in /Library/LaunchDaemons.  That 
 didn’t solve anything but I left it.  I then made the two scripts for 
 the apps executable and then I ran into the error below.  After 
 switching back the user and group name to the version without the 
 underscore both apps now start.
 
 But… I can’t connect to womonitor on localhost:56789
 
 I have followed these instructions 
 http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
  making the correct substitutions for my environment.  
 
 Any idea on what I could be doing wrong?
 
 Thanks,
 
 Johnny
 
 
 
 Begin forwarded message:
 
 From: Johnny Miller jlmil...@kahalawai.com
 Subject: Mavericks clean install set up problem
 Date: November 10, 2013 at 1:15:31 PM HST
 To: webobjects-dev@lists.apple.com com 
 Webobjects-dev@lists.apple.com
 
 Hi,
 
 I’m trying to set up webobjects on a clean install of mavericks.  And 
 I’m getting stuck with trying to run debugging through apache. 
 
 I’ve created the plists for womonitor and wotaskd per the instructions 
 here: 
 http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor
 
 I set up WebObjects using the WOInstaller.jar to /Developer/WebObjects.
 
 I updated the plists to point to the correct location for the launch 
 scripts for womonitor and 

Re: Mavericks clean install set up problem

2013-11-11 Thread Johnny Miller
Thank you Faizel.  That is exactly what I was looking for.

Should this be on the Wiki?



On Nov 11, 2013, at 4:59 AM, Faizel Dakri list...@dakri.com wrote:

 I think you can specify the WORootDirectory and WOLocalRootDirectory to point 
 to your installation. The WORootDirectory should point to your System 
 folder and the WOLocalRootDirectory points to the folder that contains your 
 Library folder. 
 
 On my dev machine, I start my wotaskd instance (via Launch Services) with the 
 following arguments:
 
   keyProgramArguments/key 
   array 
   stringwotaskd/string 
   
 string-DWORootDirectory=/opt/local/webobjects/5.4.3/System/string 
   
 string-DWOLocalRootDirectory=/opt/local/webobjects/5.4.3/string 
   string-WOHost/string 
   stringlocalhost/string 
   string-WOPort/string 
   string1085/string 
   /array
 
 
 Mind you, I didn't do a clean install of Mavericks, so this is left over from 
 my Mountain Lion installation, but it still seems to be working. Hope that 
 helps.
 
 F
 
 -- 
 Faizel Dakri
 
 
 
 On 2013-Nov-10, at 10:21 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Hi Pascal,
 
 On a clean install there is no /Library/WebObjects directory
 If you install using WOInstaller.jar and put it in a non-default location 
 like /Developer/WebObjects /Library/WebObjects does not get created.
 
 So my question is how do you specify the override so that wotaskd doesn’t 
 try to write it’s configuration to /Library/WebObjects/Configuration
 
 Ideally, I would like it to write to 
 /Developer/WebObjects/Library/WebObjects/Configuration
 
 Could you pass it as an argument in com.apple.webobjects.wotaskd.plist?
 
 On Nov 10, 2013, at 5:53 PM, Pascal Robert prob...@macti.ca wrote:
 
 Cannot be created = bad file permissions on /Library/WebObjects
 
 I changed the standard out and standard error to a place that could see 
 the error messages and it was failing on:
 
 [2013-11-10 15:25:28 HST] main Configuration Directory 
 /Library/WebObjects/Configuration/ does not exist, and cannot be created.
 
 So I created a symbolic link from 
 /Developer/WebObjects/Library/WebObjects/Configuration to 
 /Library/WebObjects/Configuration
 
 Obviously that is kind of a hack.  Anyone know how to override that so I 
 can direct to the non-default location?
 
 Thank you,
 
 Johnny
 
 On Nov 10, 2013, at 2:31 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 It seems to start up and then die on me.
 
 593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
 -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
 -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
 -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
 WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
 619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
 -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
 -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
 -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
 WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
 
 
 It looks like -DWORootDirectory is wrong.  Do you know how would I direct 
 it to the right location?
 
 Thank you!
 
 On Nov 10, 2013, at 2:10 PM, Ken Anderson kenli...@anderhome.com wrote:
 
 If you do a ps, do you see monitor running?  It’s working OK on my clean 
 Mavericks install (on a late 2013 MBP!!)
 
 Ken
 
 On Nov 10, 2013, at 6:34 PM, Johnny Miller jlmil...@kahalawai.com 
 wrote:
 
 OK.
 
 So the mistake I made there was when reading the log files I saw it 
 complaining about appserver and appserverusr so I tried adding the 
 underscore in the configuration files in /Library/LaunchDaemons.  That 
 didn’t solve anything but I left it.  I then made the two scripts for 
 the apps executable and then I ran into the error below.  After 
 switching back the user and group name to the version without the 
 underscore both apps now start.
 
 But… I can’t connect to womonitor on localhost:56789
 
 I have followed these instructions 
 http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
  making the correct substitutions for my environment.  
 
 Any idea on what I could be doing wrong?
 
 Thanks,
 
 Johnny
 
 
 
 Begin forwarded message:
 
 From: Johnny Miller jlmil...@kahalawai.com
 Subject: Mavericks clean install set up problem
 Date: November 10, 2013 at 1:15:31 PM HST
 To: webobjects-dev@lists.apple.com com 
 Webobjects-dev@lists.apple.com
 
 Hi,
 
 I’m trying to set up webobjects on a clean install of mavericks.  And 
 I’m getting stuck with trying to run debugging through apache. 
 
 I’ve created the plists for womonitor and wotaskd per the instructions 
 here: 
 http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor