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