Re: Deployment script

2019-01-19 Thread Ken Anderson
+1

> On Dec 29, 2018, at 6:01 AM, Markus Ruggiero  
> wrote:
> 
> On 29 Dec 2018, at 01:05, Theodore Petrosky  > wrote:
>> 
>> i would love to get a copy of the script
>> 
>> i’d like to see how you are doing things.
> 
> 
> +1
> 
> 
> 
> 
> 
>> 
>>> On Dec 28, 2018, at 2:53 PM, Jeffrey Schmitz >> > wrote:
>>> 
>>> To follow up, I wrote and uninstall script and uninstalled the WO 
>>> Deployment stuff and then re-installed using the install script and all is 
>>> well now.
>>> 
>>> It will be nice having a deployment install script for Mac OS machines.  
>>> There is more I’d like to automate in it but If anyone wants a copy of what 
>>> I have let me know.
>>> 
>>> Jeff
>>> 
>>> 
 On Dec 27, 2018, at 9:59 PM, Jeffrey Schmitz >>> > wrote:
 
 I’m now  trying to setup a second MacOS server using the script I created 
 when setting up the first one.  I’m close, but whenever I try to add a 
 Host in JavaMonitor I’m getting the following error:
 
Invalid Password - Access Denied
 
 I’m not sure what password it’s referencing or how I would enter it when 
 adding the Host.  Any ideas what’s going on?
 
 Jeff
 
 
 
> On Dec 26, 2018, at 8:16 PM, Jeffrey Schmitz 
> mailto:jeff.schm...@netbrackets.com>> 
> wrote:
> 
> 
> Forgot to mention, it's a rewrite rule in my httpd.conf that requires the 
> application name to be lowercase:
> 
> RewriteRule "^/cgi-bin/WebObjects/netBrackets.woa(.*)$" 
> "/cgi-bin/WebObjects/netbrackets.woa$1" [R]
> 
> 
>> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky > > wrote:
>> 
>> what was that? I think I left my system with localhost. 
>> 
>> I need to check that also.
>> 
>> 
>>> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz 
>>> mailto:jeff.schm...@netbrackets.com>> 
>>> wrote:
>>> 
>>> The problem was I used camelcase when naming the application in 
>>> JavaMonitor.  I needed it to be lowercase.
>>> 
>>> 
>>> 
 On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz 
 mailto:jeff.schm...@netbrackets.com>> 
 wrote:
 
 OK, using the scripts you sent (thanks!) I’ve setup the new machine 
 for deployment.  It all works as long as I specify localhost for all 
 the WOHost and related environment variables in the http setup, as 
 well as the specified Host in JavaMonitor/wotaskd.  However, when I 
 change all of the localhost’s to the local IP of the machine 
 (192.168.1.100), everything seems to work ok, and javamonitor is able 
 to start the application, but when try I navigate to the app's URL I 
 get the dreaded:
 
 The requested application was not found on this server.
 
 I’ve checked and double checked all the settings to no avail.  Any 
 idea what might be going on?  Again, I don’t have any problems when I 
 use localhost in all the http, monitor and wtaskd settings.
 
 Here’s the site config.
 
 
 
 


MACOSX
192.168.1.100




>>> type="NSString">YES
>>> type="NSString">WODefaultAdaptor
netBrackets
>>> type="NSNumber">16
>>> type="NSString">NO
>>> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> type="NSNumber">8
>>> type="NSNumber">30
>>> type="NSString">
>>> type="NSNumber">256
>>> type="NSNumber">2001
-d64 -Xms2048m 
 -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled 
 NO -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> type="NSString">()
YES
>>> type="NSString">NO
>>> type="NSNumber">128
>>> type="NSNumber">0
>>> type="NSNumber">3600
>>> type="NSString">NO
>>> type="NSString">YES
>>> type="NSString">/usr/local/opt/WODeployment/Logs
>>> type="NSNumber">30

>>>

Re: Deployment script

2018-12-29 Thread Markus Ruggiero
On 29 Dec 2018, at 01:05, Theodore Petrosky  wrote:
> 
> i would love to get a copy of the script
> 
> i’d like to see how you are doing things.


+1





> 
>> On Dec 28, 2018, at 2:53 PM, Jeffrey Schmitz > > wrote:
>> 
>> To follow up, I wrote and uninstall script and uninstalled the WO Deployment 
>> stuff and then re-installed using the install script and all is well now.
>> 
>> It will be nice having a deployment install script for Mac OS machines.  
>> There is more I’d like to automate in it but If anyone wants a copy of what 
>> I have let me know.
>> 
>> Jeff
>> 
>> 
>>> On Dec 27, 2018, at 9:59 PM, Jeffrey Schmitz >> > wrote:
>>> 
>>> I’m now  trying to setup a second MacOS server using the script I created 
>>> when setting up the first one.  I’m close, but whenever I try to add a Host 
>>> in JavaMonitor I’m getting the following error:
>>> 
>>>Invalid Password - Access Denied
>>> 
>>> I’m not sure what password it’s referencing or how I would enter it when 
>>> adding the Host.  Any ideas what’s going on?
>>> 
>>> Jeff
>>> 
>>> 
>>> 
 On Dec 26, 2018, at 8:16 PM, Jeffrey Schmitz >>> > wrote:
 
 
 Forgot to mention, it's a rewrite rule in my httpd.conf that requires the 
 application name to be lowercase:
 
 RewriteRule "^/cgi-bin/WebObjects/netBrackets.woa(.*)$" 
 "/cgi-bin/WebObjects/netbrackets.woa$1" [R]
 
 
> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky  > wrote:
> 
> what was that? I think I left my system with localhost. 
> 
> I need to check that also.
> 
> 
>> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz 
>> mailto:jeff.schm...@netbrackets.com>> 
>> wrote:
>> 
>> The problem was I used camelcase when naming the application in 
>> JavaMonitor.  I needed it to be lowercase.
>> 
>> 
>> 
>>> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz 
>>> mailto:jeff.schm...@netbrackets.com>> 
>>> wrote:
>>> 
>>> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
>>> deployment.  It all works as long as I specify localhost for all the 
>>> WOHost and related environment variables in the http setup, as well as 
>>> the specified Host in JavaMonitor/wotaskd.  However, when I change all 
>>> of the localhost’s to the local IP of the machine (192.168.1.100), 
>>> everything seems to work ok, and javamonitor is able to start the 
>>> application, but when try I navigate to the app's URL I get the dreaded:
>>> 
>>> The requested application was not found on this server.
>>> 
>>> I’ve checked and double checked all the settings to no avail.  Any idea 
>>> what might be going on?  Again, I don’t have any problems when I use 
>>> localhost in all the http, monitor and wtaskd settings.
>>> 
>>> Here’s the site config.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> MACOSX
>>> 192.168.1.100
>>> 
>>> 
>>> 
>>> 
>>> >> type="NSString">YES
>>> >> type="NSString">WODefaultAdaptor
>>> netBrackets
>>> >> type="NSNumber">16
>>> >> type="NSString">NO
>>> >> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> >> type="NSNumber">8
>>> >> type="NSNumber">30
>>> >> type="NSString">
>>> >> type="NSNumber">256
>>> >> type="NSNumber">2001
>>> -d64 -Xms2048m 
>>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled 
>>> NO -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> >> type="NSString">()
>>> YES
>>> >> type="NSString">NO
>>> >> type="NSNumber">128
>>> >> type="NSNumber">0
>>> >> type="NSNumber">3600
>>> >> type="NSString">NO
>>> >> type="NSString">YES
>>> >> type="NSString">/usr/local/opt/WODeployment/Logs
>>> >> type="NSNumber">30
>>> 
>>> 
>>> 
>>> 
>>> 2001
>>> >> type="NSString">YES
>>> >> type="NSNumber">1
>>>

Re: Deployment script

2018-12-28 Thread Jeffrey Schmitz
To follow up, I wrote and uninstall script and uninstalled the WO Deployment 
stuff and then re-installed using the install script and all is well now.

It will be nice having a deployment install script for Mac OS machines.  There 
is more I’d like to automate in it but If anyone wants a copy of what I have 
let me know.

Jeff


> On Dec 27, 2018, at 9:59 PM, Jeffrey Schmitz  
> wrote:
> 
> I’m now  trying to setup a second MacOS server using the script I created 
> when setting up the first one.  I’m close, but whenever I try to add a Host 
> in JavaMonitor I’m getting the following error:
> 
>Invalid Password - Access Denied
> 
> I’m not sure what password it’s referencing or how I would enter it when 
> adding the Host.  Any ideas what’s going on?
> 
> Jeff
> 
> 
> 
>> On Dec 26, 2018, at 8:16 PM, Jeffrey Schmitz > > wrote:
>> 
>> 
>> Forgot to mention, it's a rewrite rule in my httpd.conf that requires the 
>> application name to be lowercase:
>> 
>> RewriteRule "^/cgi-bin/WebObjects/netBrackets.woa(.*)$" 
>> "/cgi-bin/WebObjects/netbrackets.woa$1" [R]
>> 
>> 
>>> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky >> > wrote:
>>> 
>>> what was that? I think I left my system with localhost. 
>>> 
>>> I need to check that also.
>>> 
>>> 
 On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz >>> > wrote:
 
 The problem was I used camelcase when naming the application in 
 JavaMonitor.  I needed it to be lowercase.
 
 
 
> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz 
> mailto:jeff.schm...@netbrackets.com>> 
> wrote:
> 
> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
> deployment.  It all works as long as I specify localhost for all the 
> WOHost and related environment variables in the http setup, as well as 
> the specified Host in JavaMonitor/wotaskd.  However, when I change all of 
> the localhost’s to the local IP of the machine (192.168.1.100), 
> everything seems to work ok, and javamonitor is able to start the 
> application, but when try I navigate to the app's URL I get the dreaded:
> 
> The requested application was not found on this server.
> 
> I’ve checked and double checked all the settings to no avail.  Any idea 
> what might be going on?  Again, I don’t have any problems when I use 
> localhost in all the http, monitor and wtaskd settings.
> 
> Here’s the site config.
> 
> 
> 
> 
>   
>   
>   MACOSX
>   192.168.1.100
>   
>   
>   
>   
>   YES
>   WODefaultAdaptor
>   netBrackets
>    type="NSNumber">16
>    type="NSString">NO
>    type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>   8
>   30
>    type="NSString">
>    type="NSNumber">256
>   2001
>   -d64 -Xms2048m 
> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
> -WODirectConnectEnabled NO WOHost  192.168.1.100
>    type="NSString">()
>   YES
>    type="NSString">NO
>   128
>    type="NSNumber">0
>   3600
>   NO
>   YES
>    type="NSString">/usr/local/opt/WODeployment/Logs
>   30
>   
>   
>   
>   
>   2001
>   YES
>    type="NSNumber">1
>   -d64 -Xms2048m 
> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
> -WODirectConnectEnabled NO WOHost  192.168.1.100
>    type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>    type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>    type="NSNumber">3
>    type="NSString">NO
>    type="NSString">NO
>   DAILY
>   NO
>    type="NSNumber">12
>   YES
>   30
>    type="NSString">netBrackets
>    type="NSString">YES
>    type="NSNumber">3
>   1
>   192.168.1.100
>    type="NSNumber">0
>    type="NSNumber">3
>   
>   
>   
>   YES
>    type="NSStri

Re: Deployment script

2018-12-27 Thread Jeffrey Schmitz
I’m now  trying to setup a second MacOS server using the script I created when 
setting up the first one.  I’m close, but whenever I try to add a Host in 
JavaMonitor I’m getting the following error:

   Invalid Password - Access Denied

I’m not sure what password it’s referencing or how I would enter it when adding 
the Host.  Any ideas what’s going on?

Jeff



> On Dec 26, 2018, at 8:16 PM, Jeffrey Schmitz  
> wrote:
> 
> 
> Forgot to mention, it's a rewrite rule in my httpd.conf that requires the 
> application name to be lowercase:
> 
> RewriteRule "^/cgi-bin/WebObjects/netBrackets.woa(.*)$" 
> "/cgi-bin/WebObjects/netbrackets.woa$1" [R]
> 
> 
>> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky > > wrote:
>> 
>> what was that? I think I left my system with localhost. 
>> 
>> I need to check that also.
>> 
>> 
>>> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz >> > wrote:
>>> 
>>> The problem was I used camelcase when naming the application in 
>>> JavaMonitor.  I needed it to be lowercase.
>>> 
>>> 
>>> 
 On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz >>> > wrote:
 
 OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
 deployment.  It all works as long as I specify localhost for all the 
 WOHost and related environment variables in the http setup, as well as the 
 specified Host in JavaMonitor/wotaskd.  However, when I change all of the 
 localhost’s to the local IP of the machine (192.168.1.100), everything 
 seems to work ok, and javamonitor is able to start the application, but 
 when try I navigate to the app's URL I get the dreaded:
 
 The requested application was not found on this server.
 
 I’ve checked and double checked all the settings to no avail.  Any idea 
 what might be going on?  Again, I don’t have any problems when I use 
 localhost in all the http, monitor and wtaskd settings.
 
 Here’s the site config.
 
 
 
 


MACOSX
192.168.1.100




YES
WODefaultAdaptor
netBrackets
>>> type="NSNumber">16
>>> type="NSString">NO
>>> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
8
30
>>> type="NSString">
>>> type="NSNumber">256
2001
-d64 -Xms2048m 
 -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
 -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> type="NSString">()
YES
>>> type="NSString">NO
128
>>> type="NSNumber">0
3600
NO
YES
>>> type="NSString">/usr/local/opt/WODeployment/Logs
30




2001
YES
>>> type="NSNumber">1
-d64 -Xms2048m 
 -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
 -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>>> type="NSNumber">3
>>> type="NSString">NO
>>> type="NSString">NO
DAILY
NO
>>> type="NSNumber">12
YES
30
>>> type="NSString">netBrackets
>>> type="NSString">YES
>>> type="NSNumber">3
1
192.168.1.100
>>> type="NSNumber">0
>>> type="NSNumber">3



YES
>>> type="NSString">http://192.168.1.100/cgi-bin/WebObjects 
 
60

 
 
 
 
 Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
 Instances
 
 
 
   
 
   
   
 >>> host="unknown14c213ed9923.attlocal.net 
 "/>
   
 
 
 
 
 
 Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
 Appli

Re: Deployment script

2018-12-26 Thread Jeffrey Schmitz

Forgot to mention, it's a rewrite rule in my httpd.conf that requires the 
application name to be lowercase:

RewriteRule "^/cgi-bin/WebObjects/netBrackets.woa(.*)$" 
"/cgi-bin/WebObjects/netbrackets.woa$1" [R]


> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky  wrote:
> 
> what was that? I think I left my system with localhost. 
> 
> I need to check that also.
> 
> 
>> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz > > wrote:
>> 
>> The problem was I used camelcase when naming the application in JavaMonitor. 
>>  I needed it to be lowercase.
>> 
>> 
>> 
>>> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz >> > wrote:
>>> 
>>> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
>>> deployment.  It all works as long as I specify localhost for all the WOHost 
>>> and related environment variables in the http setup, as well as the 
>>> specified Host in JavaMonitor/wotaskd.  However, when I change all of the 
>>> localhost’s to the local IP of the machine (192.168.1.100), everything 
>>> seems to work ok, and javamonitor is able to start the application, but 
>>> when try I navigate to the app's URL I get the dreaded:
>>> 
>>> The requested application was not found on this server.
>>> 
>>> I’ve checked and double checked all the settings to no avail.  Any idea 
>>> what might be going on?  Again, I don’t have any problems when I use 
>>> localhost in all the http, monitor and wtaskd settings.
>>> 
>>> Here’s the site config.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> MACOSX
>>> 192.168.1.100
>>> 
>>> 
>>> 
>>> 
>>> YES
>>> WODefaultAdaptor
>>> netBrackets
>>> >> type="NSNumber">16
>>> >> type="NSString">NO
>>> >> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> 8
>>> 30
>>> >> type="NSString">
>>> >> type="NSNumber">256
>>> 2001
>>> -d64 -Xms2048m 
>>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> >> type="NSString">()
>>> YES
>>> >> type="NSString">NO
>>> 128
>>> >> type="NSNumber">0
>>> 3600
>>> NO
>>> YES
>>> >> type="NSString">/usr/local/opt/WODeployment/Logs
>>> 30
>>> 
>>> 
>>> 
>>> 
>>> 2001
>>> YES
>>> >> type="NSNumber">1
>>> -d64 -Xms2048m 
>>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> >> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> >> type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>>> >> type="NSNumber">3
>>> >> type="NSString">NO
>>> >> type="NSString">NO
>>> DAILY
>>> NO
>>> >> type="NSNumber">12
>>> YES
>>> 30
>>> >> type="NSString">netBrackets
>>> >> type="NSString">YES
>>> >> type="NSNumber">3
>>> 1
>>> 192.168.1.100
>>> >> type="NSNumber">0
>>> >> type="NSNumber">3
>>> 
>>> 
>>> 
>>> YES
>>> >> type="NSString">http://192.168.1.100/cgi-bin/WebObjects 
>>> 
>>> 60
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
>>> Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>>   
>>> >> host="unknown14c213ed9923.attlocal.net 
>>> "/>
>>>   
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
>>> Applications and Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as written to disk - All Registered Applications and 
>>> Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>> 
>>> 
>>> 
>>> 
>>> Properties of this wotaskd
>>> 
>>> The Configuration Directory is: /usr/local/opt/WODeployment/Configuration/
>>> Wotaskd is NOT writing WOConfig.xml to disk
>>> The multicast address is: 239.128.14.2
>>> This wotaskd is running on Port: 1085
>>> Wotaskd is NOT responding to Multicast
>>> WOAssumeApplicationIsDeadMultiplier is 4

Re: Deployment script

2018-12-26 Thread Jeffrey Schmitz
The only thing I can figure is when I used localhost for everything, including 
the JavaMonitor Host, I must have used all lowercase for the application name 
when I created it in Javamonitor.  Then when I changed over to using an IP 
address for the Host, I must have used Camel Case for the Application name.  


> On Dec 26, 2018, at 8:28 AM, Theodore Petrosky  wrote:
> 
> what was that? I think I left my system with localhost. 
> 
> I need to check that also.
> 
> 
>> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz > > wrote:
>> 
>> The problem was I used camelcase when naming the application in JavaMonitor. 
>>  I needed it to be lowercase.
>> 
>> 
>> 
>>> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz >> > wrote:
>>> 
>>> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
>>> deployment.  It all works as long as I specify localhost for all the WOHost 
>>> and related environment variables in the http setup, as well as the 
>>> specified Host in JavaMonitor/wotaskd.  However, when I change all of the 
>>> localhost’s to the local IP of the machine (192.168.1.100), everything 
>>> seems to work ok, and javamonitor is able to start the application, but 
>>> when try I navigate to the app's URL I get the dreaded:
>>> 
>>> The requested application was not found on this server.
>>> 
>>> I’ve checked and double checked all the settings to no avail.  Any idea 
>>> what might be going on?  Again, I don’t have any problems when I use 
>>> localhost in all the http, monitor and wtaskd settings.
>>> 
>>> Here’s the site config.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> MACOSX
>>> 192.168.1.100
>>> 
>>> 
>>> 
>>> 
>>> YES
>>> WODefaultAdaptor
>>> netBrackets
>>> >> type="NSNumber">16
>>> >> type="NSString">NO
>>> >> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> 8
>>> 30
>>> >> type="NSString">
>>> >> type="NSNumber">256
>>> 2001
>>> -d64 -Xms2048m 
>>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> >> type="NSString">()
>>> YES
>>> >> type="NSString">NO
>>> 128
>>> >> type="NSNumber">0
>>> 3600
>>> NO
>>> YES
>>> >> type="NSString">/usr/local/opt/WODeployment/Logs
>>> 30
>>> 
>>> 
>>> 
>>> 
>>> 2001
>>> YES
>>> >> type="NSNumber">1
>>> -d64 -Xms2048m 
>>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>> >> type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>> >> type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>>> >> type="NSNumber">3
>>> >> type="NSString">NO
>>> >> type="NSString">NO
>>> DAILY
>>> NO
>>> >> type="NSNumber">12
>>> YES
>>> 30
>>> >> type="NSString">netBrackets
>>> >> type="NSString">YES
>>> >> type="NSNumber">3
>>> 1
>>> 192.168.1.100
>>> >> type="NSNumber">0
>>> >> type="NSNumber">3
>>> 
>>> 
>>> 
>>> YES
>>> >> type="NSString">http://192.168.1.100/cgi-bin/WebObjects 
>>> 
>>> 60
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
>>> Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>>   
>>> >> host="unknown14c213ed9923.attlocal.net 
>>> "/>
>>>   
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
>>> Applications and Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>> 
>>> 
>>> 
>>> 
>>> Adaptor Config as written to disk - All Registered Applications and 
>>> Instances
>>> 
>>> 
>>> 
>>>   
>>> 
>>>   
>>> 
>>> 
>>> 
>>> 
>>> Properties of this wotaskd
>>> 
>>> The Configuration Directory is: /usr/local/opt/WODeployment/Configuration/
>>> Wotaskd is NOT writing WOConfig.xml to disk
>>> The multicast address is: 239.128.14.2
>>> This wotaskd is running 

Re: Deployment script

2018-12-26 Thread Theodore Petrosky
what was that? I think I left my system with localhost. 

I need to check that also.


> On Dec 25, 2018, at 3:36 PM, Jeffrey Schmitz  
> wrote:
> 
> The problem was I used camelcase when naming the application in JavaMonitor.  
> I needed it to be lowercase.
> 
> 
> 
>> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz > > wrote:
>> 
>> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
>> deployment.  It all works as long as I specify localhost for all the WOHost 
>> and related environment variables in the http setup, as well as the 
>> specified Host in JavaMonitor/wotaskd.  However, when I change all of the 
>> localhost’s to the local IP of the machine (192.168.1.100), everything seems 
>> to work ok, and javamonitor is able to start the application, but when try I 
>> navigate to the app's URL I get the dreaded:
>> 
>> The requested application was not found on this server.
>> 
>> I’ve checked and double checked all the settings to no avail.  Any idea what 
>> might be going on?  Again, I don’t have any problems when I use localhost in 
>> all the http, monitor and wtaskd settings.
>> 
>> Here’s the site config.
>> 
>> 
>> 
>> 
>>  
>>  
>>  MACOSX
>>  192.168.1.100
>>  
>>  
>>  
>>  
>>  YES
>>  WODefaultAdaptor
>>  netBrackets
>>  > type="NSNumber">16
>>  > type="NSString">NO
>>  > type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>  8
>>  30
>>  > type="NSString">
>>  > type="NSNumber">256
>>  2001
>>  -d64 -Xms2048m 
>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>  > type="NSString">()
>>  YES
>>  > type="NSString">NO
>>  128
>>  > type="NSNumber">0
>>  3600
>>  NO
>>  YES
>>  > type="NSString">/usr/local/opt/WODeployment/Logs
>>  30
>>  
>>  
>>  
>>  
>>  2001
>>  YES
>>  > type="NSNumber">1
>>  -d64 -Xms2048m 
>> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
>> -WODirectConnectEnabled NO WOHost  192.168.1.100
>>  > type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>>  > type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>>  > type="NSNumber">3
>>  > type="NSString">NO
>>  > type="NSString">NO
>>  DAILY
>>  NO
>>  > type="NSNumber">12
>>  YES
>>  30
>>  > type="NSString">netBrackets
>>  > type="NSString">YES
>>  > type="NSNumber">3
>>  1
>>  192.168.1.100
>>  > type="NSNumber">0
>>  > type="NSNumber">3
>>  
>>  
>>  
>>  YES
>>  > type="NSString">http://192.168.1.100/cgi-bin/WebObjects 
>> 
>>  60
>>  
>> 
>> 
>> 
>> 
>> Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
>> Instances
>> 
>> 
>> 
>>   
>> 
>>   
>>   
>> > host="unknown14c213ed9923.attlocal.net 
>> "/>
>>   
>> 
>> 
>> 
>> 
>> 
>> Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
>> Applications and Instances
>> 
>> 
>> 
>>   
>> 
>>   
>> 
>> 
>> 
>> 
>> Adaptor Config as written to disk - All Registered Applications and Instances
>> 
>> 
>> 
>>   
>> 
>>   
>> 
>> 
>> 
>> 
>> Properties of this wotaskd
>> 
>> The Configuration Directory is: /usr/local/opt/WODeployment/Configuration/
>> Wotaskd is NOT writing WOConfig.xml to disk
>> The multicast address is: 239.128.14.2
>> This wotaskd is running on Port: 1085
>> Wotaskd is NOT responding to Multicast
>> WOAssumeApplicationIsDeadMultiplier is 4
>> The System Properties are: {er.wotaskd.sshd.enabled=false, 
>> WOShouldUseSpawn=true, java.specification.version=11, sun.cpu.isalist=, 
>> er.extensions.ERExtensions.hasLocalization=true, WOAutoOpenInBrowser=false, 
>> sun.arch.data.model=64, WOAcceptMalformedCookies=false, 
>> java.vendor.url=http://java.oracle.com/ , 
>> NSProjectSearchPath=(), WOSessionTimeOut=3600, 
>> WOAllowsConcurrentRequestHandl

Re: Deployment script

2018-12-25 Thread Jeffrey Schmitz
The problem was I used camelcase when naming the application in JavaMonitor.  I 
needed it to be lowercase.



> On Dec 22, 2018, at 9:48 PM, Jeffrey Schmitz  
> wrote:
> 
> OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
> deployment.  It all works as long as I specify localhost for all the WOHost 
> and related environment variables in the http setup, as well as the specified 
> Host in JavaMonitor/wotaskd.  However, when I change all of the localhost’s 
> to the local IP of the machine (192.168.1.100), everything seems to work ok, 
> and javamonitor is able to start the application, but when try I navigate to 
> the app's URL I get the dreaded:
> 
> The requested application was not found on this server.
> 
> I’ve checked and double checked all the settings to no avail.  Any idea what 
> might be going on?  Again, I don’t have any problems when I use localhost in 
> all the http, monitor and wtaskd settings.
> 
> Here’s the site config.
> 
> 
> 
> 
>   
>   
>   MACOSX
>   192.168.1.100
>   
>   
>   
>   
>   YES
>   WODefaultAdaptor
>   netBrackets
>type="NSNumber">16
>type="NSString">NO
>type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>   8
>   30
>type="NSString">
>type="NSNumber">256
>   2001
>   -d64 -Xms2048m 
> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
> -WODirectConnectEnabled NO WOHost  192.168.1.100
>type="NSString">()
>   YES
>type="NSString">NO
>   128
>type="NSNumber">0
>   3600
>   NO
>   YES
>type="NSString">/usr/local/opt/WODeployment/Logs
>   30
>   
>   
>   
>   
>   2001
>   YES
>type="NSNumber">1
>   -d64 -Xms2048m 
> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
> -WODirectConnectEnabled NO WOHost  192.168.1.100
>type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
>type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-1
>type="NSNumber">3
>type="NSString">NO
>type="NSString">NO
>   DAILY
>   NO
>type="NSNumber">12
>   YES
>   30
>type="NSString">netBrackets
>type="NSString">YES
>type="NSNumber">3
>   1
>   192.168.1.100
>type="NSNumber">0
>type="NSNumber">3
>   
>   
>   
>   YES
>type="NSString">http://192.168.1.100/cgi-bin/WebObjects 
> 
>   60
>   
> 
> 
> 
> 
> Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
> Instances
> 
> 
> 
>   
> 
>   
>   
> http://unknown14c213ed9923.attlocal.net/>"/>
>   
> 
> 
> 
> 
> 
> Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
> Applications and Instances
> 
> 
> 
>   
> 
>   
> 
> 
> 
> 
> Adaptor Config as written to disk - All Registered Applications and Instances
> 
> 
> 
>   
> 
>   
> 
> 
> 
> 
> Properties of this wotaskd
> 
> The Configuration Directory is: /usr/local/opt/WODeployment/Configuration/
> Wotaskd is NOT writing WOConfig.xml to disk
> The multicast address is: 239.128.14.2
> This wotaskd is running on Port: 1085
> Wotaskd is NOT responding to Multicast
> WOAssumeApplicationIsDeadMultiplier is 4
> The System Properties are: {er.wotaskd.sshd.enabled=false, 
> WOShouldUseSpawn=true, java.specification.version=11, sun.cpu.isalist=, 
> er.extensions.ERExtensions.hasLocalization=true, WOAutoOpenInBrowser=false, 
> sun.arch.data.model=64, WOAcceptMalformedCookies=false, 
> java.vendor.url=http://java.oracle.com/ , 
> NSProjectSearchPath=(), WOSessionTimeOut=3600, 
> WOAllowsConcurrentRequestHandling=false, WOAllowRapidTurnaround=false, 
> sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib,
>  _ComponentRequestHandlerKey=wo, 
> sun.java.command=com.webobjects._bootstrap.WOBootstrap -WOPort 1085 
> -_DeploymentDebugging false, er.extensions.ERXMessageEncoding.Enabled=false, 
> jdk.debug=release, java.

Re: Deployment script

2018-12-22 Thread Jeffrey Schmitz
OK, using the scripts you sent (thanks!) I’ve setup the new machine for 
deployment.  It all works as long as I specify localhost for all the WOHost and 
related environment variables in the http setup, as well as the specified Host 
in JavaMonitor/wotaskd.  However, when I change all of the localhost’s to the 
local IP of the machine (192.168.1.100), everything seems to work ok, and 
javamonitor is able to start the application, but when try I navigate to the 
app's URL I get the dreaded:

The requested application was not found on this server.

I’ve checked and double checked all the settings to no avail.  Any idea what 
might be going on?  Again, I don’t have any problems when I use localhost in 
all the http, monitor and wtaskd settings.

Here’s the site config.






MACOSX
192.168.1.100




YES
WODefaultAdaptor
netBrackets
16
NO
/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
8
30

256
2001
-d64 -Xms2048m 
-Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
-WODirectConnectEnabled NO WOHost  192.168.1.100
()
YES
NO
128
0
3600
NO
YES
/usr/local/opt/WODeployment/Logs
30




2001
YES
1
-d64 -Xms2048m 
-Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO 
-WODirectConnectEnabled NO WOHost  192.168.1.100
/usr/local/opt/WOApplications/netBrackets.woa/netBrackets
/usr/local/opt/WODeployment/Logs/netBrackets-1
3
NO
NO
DAILY
NO
12
YES
30
netBrackets
YES
3
1
192.168.1.100
0
3



YES
http://192.168.1.100/cgi-bin/WebObjects
60





Adaptor Config as sent to Local WOAdaptors - All Running Applications and 
Instances



  

  
  

  





Adaptor Config as sent to remote WOAdaptors - All Registered and Running 
Applications and Instances



  

  




Adaptor Config as written to disk - All Registered Applications and Instances



  

  




Properties of this wotaskd

The Configuration Directory is: /usr/local/opt/WODeployment/Configuration/
Wotaskd is NOT writing WOConfig.xml to disk
The multicast address is: 239.128.14.2
This wotaskd is running on Port: 1085
Wotaskd is NOT responding to Multicast
WOAssumeApplicationIsDeadMultiplier is 4
The System Properties are: {er.wotaskd.sshd.enabled=false, 
WOShouldUseSpawn=true, java.specification.version=11, sun.cpu.isalist=, 
er.extensions.ERExtensions.hasLocalization=true, WOAutoOpenInBrowser=false, 
sun.arch.data.model=64, WOAcceptMalformedCookies=false, 
java.vendor.url=http://java.oracle.com/, NSProjectSearchPath=(), 
WOSessionTimeOut=3600, WOAllowsConcurrentRequestHandling=false, 
WOAllowRapidTurnaround=false, 
sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib,
 _ComponentRequestHandlerKey=wo, 
sun.java.command=com.webobjects._bootstrap.WOBootstrap -WOPort 1085 
-_DeploymentDebugging false, er.extensions.ERXMessageEncoding.Enabled=false, 
jdk.debug=release, java.specification.vendor=Oracle Corporation, 
java.version.date=2018-10-16, 
java.home=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home, 
er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT), 
java.specification.name=Java Platform API Specification, 
java.vm.specification.vendor=Oracle Corporation, WORootDirectory=/System, 
sun.management.compiler=HotSpot 64-Bit Tiered Compilers, 
er.wotaskd.sshd.port=6022, java.runtime.version=11.0.1+13-LTS, 
WOAssumeApplicationIsDeadMultiplier=4, WOContextClassName=WOContext, 
WOMaxIOBufferSize=8196, er.extensions.ERXLocalizationEditor.endoding=UTF-16BE, 
WOHost=192.168.1.100, WOWorkerThreadCountMin=16, file.encoding=UTF-8, 
java.vendor.version=18.9, er.extensions.ERJars.hasLocalization=false, 
er.extensions.load.Properties.framework.JavaWOExtensions=load, 
er.extensions.load.Propert

Re: Deployment script

2018-12-09 Thread Jeffrey Schmitz
Thanks Ted,
  I’m giving it a look and already have a question.  I downloaded the 
hypervisor, but I’m not sure what to do with it.  I’m thinking I need another 
program to manage the VMs, but I don’t know what that is.  I’m sure this is a 
very basic question, but it’s the stuff you get stuck on when looking at 
anything new.

Jeff

> On Dec 9, 2018, at 10:05 AM, Theodore Petrosky  wrote:
> 
> i was the same way. if you want help, just ask. Getting away from OSX for 
> deployment is really the way to go. Apple does an update, and you are screwed!
> 
> Here are the setps:
> 1. create an account at vmware.
> 2. dowload the free esxi, and burn it to a dvd
> 
> you actually wipe out the osx installation and the mac mini is taken over by 
> esxi!
> 
> of course you could also experiment with Amazon Web Services. you can create 
> a free account that you can learn the ropes with. (it’s free for one year)
> 
> I have done both.
> 
> AWS of course has it’s advantages.
> 
> JMHO BTW
> 
> Ted
> 
>> On Dec 9, 2018, at 10:59 AM, Jeffrey Schmitz > > wrote:
>> 
>> Fear of the unknown vs. the enemy I know :-)
>> 
>>> On Dec 9, 2018, at 9:49 AM, Theodore Petrosky >> > wrote:
>>> 
>>> I have to ask. why do you want to bang your head against a wall to use OSX? 
>>> Vmware esxi is free, allows you to put a linux distro on a mac mini 
>>> (multiple instances if you want). I use this in the office to have multiple 
>>> centos instances on a mac mini. one is for postgresql and the other is for 
>>> apache. It works great and you can use YUM for updates.
>>> 
>>> Ted
>>> 
>>> https://www.vmware.com/products/esxi-and-esx.html 
>>> 
>>> 
 On Dec 9, 2018, at 10:40 AM, Jeffrey Schmitz >>> > wrote:
 
 Thanks guys,
I’ll definitely look these over, they look great.  I had a quick 
 question/verification.  I’m using Mac OS right now and a quick google 
 indicates no apt-get or yum for OS/X.  Just want to verify I’ll need to 
 use home-brew or macports for that instead, is that correct?
 
 Btw, I’d love to get off MacOS for deployment but up to now it’s been the 
 path of least resistance.   I’m thinking these scripts may change the 
 equation for me.
 
 Thanks again,
 Jeff
 
> On Dec 9, 2018, at 5:30 AM, Theodore Petrosky  > wrote:
> 
> Jeffrey,
> 
> Read the wo-install.sh that is referenced here! it will tell you 
> everything you need to create your deployment environment. if you are on 
> an OS X box, there is no wget. you need to change that to curl. However 
> curl is a little different, it needs to know where to put the file so:
> 
> wget https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>  
> --no-check-certificate
> becomes
> curl https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>  
> >JavaMonitor.tgz 
> 
> I have linked to my version of the install script:  
> http://ftp.agencysacks.com/_Y9AkYUkQgVtlwR 
> 
> 
> compare my script to:  http://webobjects.s3.amazonaws.com/wo-install.sh 
> 
> 
> My script installed git, and a newer version of Java (jdk1.8.0_131)
> 
> at the time, I was installing on a centos instance hosted at Amazon. I am 
> not sure is this is the final version of the script. sorry. but it should 
> get you thinking about what you can do.
> 
> Ted
> 
> 
>> On Dec 8, 2018, at 11:38 PM, Paul Hoadley > > wrote:
>> 
>> Hi Jeff,
>> 
>> On 9 Dec 2018, at 12:31 pm, Jeffrey Schmitz 
>> mailto:jeff.schm...@netbrackets.com>> 
>> wrote:
>> 
>>> But I’m setting up a machine to use for deployment, not deploying an 
>>> individual app, so I need to get apache configured, the WO adaptor 
>>> installed, the webobjects tools installed (wotaskd, womonitor), etc.  
>>> That’s what I was hoping the script would help with as it always turns 
>>> out to be a laborious process, at least for me.
>> 
>> You're right, it is laborious, sometimes difficult to get right, and 
>> ideal for scripting to automate for the future. What platform are you 
>> using? We use a (now heavily customised) version of a script Simon 
>> McLean posted to the list in 2010:
>> 
>> http://webobjects.s3.amazonaws.com/wo-install.sh 
>> 
>> 
>> Eyeballing it again now, you'll definitely want to customise it in 
>> places—you shouldn't need to pull down Wonder source, or build 

Re: Deployment script

2018-12-09 Thread Theodore Petrosky
i was the same way. if you want help, just ask. Getting away from OSX for 
deployment is really the way to go. Apple does an update, and you are screwed!

Here are the setps:
1. create an account at vmware.
2. dowload the free esxi, and burn it to a dvd

you actually wipe out the osx installation and the mac mini is taken over by 
esxi!

of course you could also experiment with Amazon Web Services. you can create a 
free account that you can learn the ropes with. (it’s free for one year)

I have done both.

AWS of course has it’s advantages.

JMHO BTW

Ted

> On Dec 9, 2018, at 10:59 AM, Jeffrey Schmitz  
> wrote:
> 
> Fear of the unknown vs. the enemy I know :-)
> 
>> On Dec 9, 2018, at 9:49 AM, Theodore Petrosky > > wrote:
>> 
>> I have to ask. why do you want to bang your head against a wall to use OSX? 
>> Vmware esxi is free, allows you to put a linux distro on a mac mini 
>> (multiple instances if you want). I use this in the office to have multiple 
>> centos instances on a mac mini. one is for postgresql and the other is for 
>> apache. It works great and you can use YUM for updates.
>> 
>> Ted
>> 
>> https://www.vmware.com/products/esxi-and-esx.html 
>> 
>> 
>>> On Dec 9, 2018, at 10:40 AM, Jeffrey Schmitz >> > wrote:
>>> 
>>> Thanks guys,
>>>I’ll definitely look these over, they look great.  I had a quick 
>>> question/verification.  I’m using Mac OS right now and a quick google 
>>> indicates no apt-get or yum for OS/X.  Just want to verify I’ll need to use 
>>> home-brew or macports for that instead, is that correct?
>>> 
>>> Btw, I’d love to get off MacOS for deployment but up to now it’s been the 
>>> path of least resistance.   I’m thinking these scripts may change the 
>>> equation for me.
>>> 
>>> Thanks again,
>>> Jeff
>>> 
 On Dec 9, 2018, at 5:30 AM, Theodore Petrosky >>> > wrote:
 
 Jeffrey,
 
 Read the wo-install.sh that is referenced here! it will tell you 
 everything you need to create your deployment environment. if you are on 
 an OS X box, there is no wget. you need to change that to curl. However 
 curl is a little different, it needs to know where to put the file so:
 
 wget https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
  
 --no-check-certificate
 becomes
 curl https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
  
 >JavaMonitor.tgz 
 
 I have linked to my version of the install script:  
 http://ftp.agencysacks.com/_Y9AkYUkQgVtlwR 
 
 
 compare my script to:  http://webobjects.s3.amazonaws.com/wo-install.sh 
 
 
 My script installed git, and a newer version of Java (jdk1.8.0_131)
 
 at the time, I was installing on a centos instance hosted at Amazon. I am 
 not sure is this is the final version of the script. sorry. but it should 
 get you thinking about what you can do.
 
 Ted
 
 
> On Dec 8, 2018, at 11:38 PM, Paul Hoadley  > wrote:
> 
> Hi Jeff,
> 
> On 9 Dec 2018, at 12:31 pm, Jeffrey Schmitz  > wrote:
> 
>> But I’m setting up a machine to use for deployment, not deploying an 
>> individual app, so I need to get apache configured, the WO adaptor 
>> installed, the webobjects tools installed (wotaskd, womonitor), etc.  
>> That’s what I was hoping the script would help with as it always turns 
>> out to be a laborious process, at least for me.
> 
> You're right, it is laborious, sometimes difficult to get right, and 
> ideal for scripting to automate for the future. What platform are you 
> using? We use a (now heavily customised) version of a script Simon McLean 
> posted to the list in 2010:
> 
> http://webobjects.s3.amazonaws.com/wo-install.sh 
> 
> 
> Eyeballing it again now, you'll definitely want to customise it in 
> places—you shouldn't need to pull down Wonder source, or build your own 
> adapter, for example. But it gives you an idea of what you can do. We use 
> our version of it on Amazon Linux on EC2. Should be easily portable to 
> other Unixes.
> 
> 
> -- 
> Paul Hoadley
> https://logicsquad.net/ 
> https://www.linkedin.com/company/logic-squad/ 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-d

Re: Deployment script

2018-12-09 Thread Jeffrey Schmitz
Fear of the unknown vs. the enemy I know :-)

> On Dec 9, 2018, at 9:49 AM, Theodore Petrosky  wrote:
> 
> I have to ask. why do you want to bang your head against a wall to use OSX? 
> Vmware esxi is free, allows you to put a linux distro on a mac mini (multiple 
> instances if you want). I use this in the office to have multiple centos 
> instances on a mac mini. one is for postgresql and the other is for apache. 
> It works great and you can use YUM for updates.
> 
> Ted
> 
> https://www.vmware.com/products/esxi-and-esx.html 
> 
> 
>> On Dec 9, 2018, at 10:40 AM, Jeffrey Schmitz > > wrote:
>> 
>> Thanks guys,
>>I’ll definitely look these over, they look great.  I had a quick 
>> question/verification.  I’m using Mac OS right now and a quick google 
>> indicates no apt-get or yum for OS/X.  Just want to verify I’ll need to use 
>> home-brew or macports for that instead, is that correct?
>> 
>> Btw, I’d love to get off MacOS for deployment but up to now it’s been the 
>> path of least resistance.   I’m thinking these scripts may change the 
>> equation for me.
>> 
>> Thanks again,
>> Jeff
>> 
>>> On Dec 9, 2018, at 5:30 AM, Theodore Petrosky >> > wrote:
>>> 
>>> Jeffrey,
>>> 
>>> Read the wo-install.sh that is referenced here! it will tell you everything 
>>> you need to create your deployment environment. if you are on an OS X box, 
>>> there is no wget. you need to change that to curl. However curl is a little 
>>> different, it needs to know where to put the file so:
>>> 
>>> wget https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>>>  
>>> --no-check-certificate
>>> becomes
>>> curl https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>>>  
>>> >JavaMonitor.tgz 
>>> 
>>> I have linked to my version of the install script:  
>>> http://ftp.agencysacks.com/_Y9AkYUkQgVtlwR 
>>> 
>>> 
>>> compare my script to:  http://webobjects.s3.amazonaws.com/wo-install.sh 
>>> 
>>> 
>>> My script installed git, and a newer version of Java (jdk1.8.0_131)
>>> 
>>> at the time, I was installing on a centos instance hosted at Amazon. I am 
>>> not sure is this is the final version of the script. sorry. but it should 
>>> get you thinking about what you can do.
>>> 
>>> Ted
>>> 
>>> 
 On Dec 8, 2018, at 11:38 PM, Paul Hoadley >>> > wrote:
 
 Hi Jeff,
 
 On 9 Dec 2018, at 12:31 pm, Jeffrey Schmitz >>> > wrote:
 
> But I’m setting up a machine to use for deployment, not deploying an 
> individual app, so I need to get apache configured, the WO adaptor 
> installed, the webobjects tools installed (wotaskd, womonitor), etc.  
> That’s what I was hoping the script would help with as it always turns 
> out to be a laborious process, at least for me.
 
 You're right, it is laborious, sometimes difficult to get right, and ideal 
 for scripting to automate for the future. What platform are you using? We 
 use a (now heavily customised) version of a script Simon McLean posted to 
 the list in 2010:
 
 http://webobjects.s3.amazonaws.com/wo-install.sh 
 
 
 Eyeballing it again now, you'll definitely want to customise it in 
 places—you shouldn't need to pull down Wonder source, or build your own 
 adapter, for example. But it gives you an idea of what you can do. We use 
 our version of it on Amazon Linux on EC2. Should be easily portable to 
 other Unixes.
 
 
 -- 
 Paul Hoadley
 https://logicsquad.net/ 
 https://www.linkedin.com/company/logic-squad/ 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
 )
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 
 
 
 This email sent to tedp...@yahoo.com 
>>> 
>> 
> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deployment script

2018-12-09 Thread Jeffrey Schmitz
Thanks guys,
   I’ll definitely look these over, they look great.  I had a quick 
question/verification.  I’m using Mac OS right now and a quick google indicates 
no apt-get or yum for OS/X.  Just want to verify I’ll need to use home-brew or 
macports for that instead, is that correct?

Btw, I’d love to get off MacOS for deployment but up to now it’s been the path 
of least resistance.   I’m thinking these scripts may change the equation for 
me.

Thanks again,
Jeff

> On Dec 9, 2018, at 5:30 AM, Theodore Petrosky  wrote:
> 
> Jeffrey,
> 
> Read the wo-install.sh that is referenced here! it will tell you everything 
> you need to create your deployment environment. if you are on an OS X box, 
> there is no wget. you need to change that to curl. However curl is a little 
> different, it needs to know where to put the file so:
> 
> wget https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>  
> --no-check-certificate
> becomes
> curl https://s3-eu-west-1.amazonaws.com/webobjects/JavaMonitor.tgz 
>  
> >JavaMonitor.tgz 
> 
> I have linked to my version of the install script:  
> http://ftp.agencysacks.com/_Y9AkYUkQgVtlwR 
> 
> 
> compare my script to:  http://webobjects.s3.amazonaws.com/wo-install.sh 
> 
> 
> My script installed git, and a newer version of Java (jdk1.8.0_131)
> 
> at the time, I was installing on a centos instance hosted at Amazon. I am not 
> sure is this is the final version of the script. sorry. but it should get you 
> thinking about what you can do.
> 
> Ted
> 
> 
>> On Dec 8, 2018, at 11:38 PM, Paul Hoadley > > wrote:
>> 
>> Hi Jeff,
>> 
>> On 9 Dec 2018, at 12:31 pm, Jeffrey Schmitz > > wrote:
>> 
>>> But I’m setting up a machine to use for deployment, not deploying an 
>>> individual app, so I need to get apache configured, the WO adaptor 
>>> installed, the webobjects tools installed (wotaskd, womonitor), etc.  
>>> That’s what I was hoping the script would help with as it always turns out 
>>> to be a laborious process, at least for me.
>> 
>> You're right, it is laborious, sometimes difficult to get right, and ideal 
>> for scripting to automate for the future. What platform are you using? We 
>> use a (now heavily customised) version of a script Simon McLean posted to 
>> the list in 2010:
>> 
>> http://webobjects.s3.amazonaws.com/wo-install.sh 
>> 
>> 
>> Eyeballing it again now, you'll definitely want to customise it in 
>> places—you shouldn't need to pull down Wonder source, or build your own 
>> adapter, for example. But it gives you an idea of what you can do. We use 
>> our version of it on Amazon Linux on EC2. Should be easily portable to other 
>> Unixes.
>> 
>> 
>> -- 
>> Paul Hoadley
>> https://logicsquad.net/ 
>> https://www.linkedin.com/company/logic-squad/ 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> )
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 
>> 
>> 
>> This email sent to tedp...@yahoo.com
> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deployment script

2018-12-08 Thread Paul Hoadley
Hi Jeff,

On 9 Dec 2018, at 12:31 pm, Jeffrey Schmitz  
wrote:

> But I’m setting up a machine to use for deployment, not deploying an 
> individual app, so I need to get apache configured, the WO adaptor installed, 
> the webobjects tools installed (wotaskd, womonitor), etc.  That’s what I was 
> hoping the script would help with as it always turns out to be a laborious 
> process, at least for me.

You're right, it is laborious, sometimes difficult to get right, and ideal for 
scripting to automate for the future. What platform are you using? We use a 
(now heavily customised) version of a script Simon McLean posted to the list in 
2010:

http://webobjects.s3.amazonaws.com/wo-install.sh 


Eyeballing it again now, you'll definitely want to customise it in places—you 
shouldn't need to pull down Wonder source, or build your own adapter, for 
example. But it gives you an idea of what you can do. We use our version of it 
on Amazon Linux on EC2. Should be easily portable to other Unixes.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deployment script

2018-12-08 Thread Jeffrey Schmitz
Thanks Jesse,
   But I’m setting up a machine to use for deployment, not deploying an 
individual app, so I need to get apache configured, the WO adaptor installed, 
the webobjects tools installed (wotaskd, womonitor), etc.  That’s what I was 
hoping the script would help with as it always turns out to be a laborious 
process, at least for me.

Jeff

> On Dec 8, 2018, at 7:58 PM, Jesse Tayler  wrote:
> 
> Not familiar with the script — but
> 
> There’s nothing much all that special about actual deployment 
> 
> Typically you’d embed your frameworks and a separate web server resource 
> folder along with a restart using javamonior
> 
> 
> 
>> On Dec 8, 2018, at 8:46 PM, Jeffrey Schmitz  
>> wrote:
>> 
>> Hello List,
>> 
>> I’m trying to use the Learning the Wonders deployment chapter to setup a new 
>> server, however the script it references in section 1.2 doesn’t seem to 
>> exist.  Has it been moved?
>> 
>> Here’s the link in question: 
>> https://dl.dropboxusercontent.com/u/1548210/Downloads/WODeployment/deploy.sh
>> 
>> Thanks!
>> Jeff
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
>> 
>> This email sent to jtay...@oeinc.com
> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Deployment script

2018-12-08 Thread Jesse Tayler
Not familiar with the script — but

There’s nothing much all that special about actual deployment 

Typically you’d embed your frameworks and a separate web server resource folder 
along with a restart using javamonior



> On Dec 8, 2018, at 8:46 PM, Jeffrey Schmitz  
> wrote:
> 
> Hello List,
>  
> I’m trying to use the Learning the Wonders deployment chapter to setup a new 
> server, however the script it references in section 1.2 doesn’t seem to 
> exist.  Has it been moved?
> 
> Here’s the link in question: 
> https://dl.dropboxusercontent.com/u/1548210/Downloads/WODeployment/deploy.sh
> 
> Thanks!
> Jeff
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Deployment script

2018-12-08 Thread Jeffrey Schmitz
Hello List,
 
I’m trying to use the Learning the Wonders deployment chapter to setup a new 
server, however the script it references in section 1.2 doesn’t seem to exist.  
Has it been moved?

Here’s the link in question: 
https://dl.dropboxusercontent.com/u/1548210/Downloads/WODeployment/deploy.sh 


Thanks!
Jeff ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com