Re: Instance not found on dev machine

2016-12-18 Thread Jeff Schmitz
I figured out the site config computer name issue, somehow my computer name and 
network name were out of sync.  I updated my network name on the sharing page 
to match my computer name so now they match.  However I restarted everything 
but still get the no instance error.  


> On Dec 18, 2016, at 10:57 AM, Jeff Schmitz  wrote:
> 
> I’m trying to get this running again and I was wondering if I needed to setup 
> an entry in the Wotaskd config for my app like you do for deployment 
> machines?  I went to http://localhost:1085  and 
> noticed that there was no entry listed for my app.  I tried adding one in, 
> pointing to the application in my dist folder in my development environment 
> but that didn’t help.  But the other thing I noticed though was the header 
> for the Site Config listed the incorrect machine name:
> 
> Wotaskd for WebObjects 5: mbp17.local
> 
>  My development machine name should be mbp15.local so I’m wondering where 
> that header comes from?
> 
> Jeff
> 
> 
>  
>> On Sep 2, 2016, at 10:11 PM, Jeff Schmitz > > wrote:
>> 
>> One other note, I’m running ElCapitan with Apache 2.4.  I am using the 
>> Apache 2.4 compatible mod_webobjects adaptor that works on a deployment 
>> machine that’s also running El Capitan.
>> 
>> After triple checking, all from that page seems to check out:
>> 
>> Edit /etc/apache2/httpd.conf
>> ServerName localhost jdj
>> CHECK
>> 
>> You will also need to find this block
>> # First, we configure the "default" to be a very restrictive set of
>> # features.
>> #
>> 
>> Options FollowSymLinks
>> AllowOverride None
>> Order deny,allow
>> Deny from all
>> 
>> And modify like so:
>> # First, we configure the "default" to be a very restrictive set of
>> # features.
>> #
>> 
>> Options FollowSymLinks
>> AllowOverride None
>> #Order deny,allow
>> #Deny from all
>> 
>> 
>> Options FollowSymLinks
>> AllowOverride None
>> #Require all denied
>> 
>> 
>> CHECK
>> 
>> 
>> Got to the very end of /etc/apache2/httpd.conf and add :
>> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>> 
>> Include 
>> /Developer/WebObjects/Versions/WebObjects543/System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>> 
>> CHECK (apache.conf is actually there, where I installed Webobjects 5.4)
>> 
>> 
>> Edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf to make sure 
>> that your enabled/uncommented WebObjectsConfig property looks like this:
>> WebObjectsConfig http://localhost:1085  10
>> 
>> Checking the above referenced file under Developer/WebObjects…
>> 
>> WebObjectsConfig http://localhost:1085  10
>> 
>> 
>> CHECK
>> 
>> Edit 
>> /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
>> Add this line after the WOPort=1085 one:
>> WOHost=localhost
>> 
>> Again, looking under Developer/WebObjects…/Properties
>> 
>> WOPort=1085
>> WOHost=localhost
>> 
>> 
>> CHECK
>> 
>> 
>> Restart wotaskd:  sudo launchctl stop com.apple.webobjects.wotaskd
>> 
>> CHECK
>> sudo launchctl list | grep webobjects
>> 430  1   com.apple.webobjects.womonitor
>> 3519 143 com.apple.webobjects.wotaskd
>> 
>> CHECK
>> 
>> Add or edit these launch parameters:
>> -WODirectConnectEnabled false
>> -WOHost localhost
>> -WOAdaptorURL http://localhost/cgi-bin/WebObjects 
>> 
>> -WOPort 
>> ALL CHECKED in the Debug Configuration for the application.
>> 
>> Still no love.
>> 
>> http://localhost/cgi-bin/WebObjects/mlb.woa/- 
>>   =  No instance available
>> 
>> 
>> Thanks!
>> Jeff
>> 
>> 
>>> On Sep 2, 2016, at 8:57 PM, Chuck Hill >> > wrote:
>>> 
>>> Double check what is on that page.  Ensure that WOHost=localhost is set for 
>>> both the app and wotaskd.
>>>  
>>> From: >> > on 
>>> behalf of Jeff Schmitz >> >
>>> Date: Friday, September 2, 2016 at 6:21 PM
>>> To: WebObjects Development >> >
>>> Subject: Instance not found on dev machine
>>>  
>>> Hey All, 
>>>I followed the directions here: 
>>> https://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache
>>>  
>>> 
>>>  
>>> And when I start my app in eclipse, I get the “No Instance Available” error 
>>> in the browser. 
>>>  
>>>  Apache is running as is wotaskd so I’m at a loss as to what to check.  
>>> Anything simple I can do to try to debug the app?  There are no errors 
>>> during startup from the app, and the log ends with the following three 
>>> lines:
>>>  
>>> Sep 03 01:19:31 mlb[] INFO  er.extensions.appserver.ERXApplication  - 
>>> Local host IPs: (mbp17.l

Re: Instance not found on dev machine

2016-12-18 Thread Jeff Schmitz
I’m trying to get this running again and I was wondering if I needed to setup 
an entry in the Wotaskd config for my app like you do for deployment machines?  
I went to http://localhost:1085  and noticed that there 
was no entry listed for my app.  I tried adding one in, pointing to the 
application in my dist folder in my development environment but that didn’t 
help.  But the other thing I noticed though was the header for the Site Config 
listed the incorrect machine name:

Wotaskd for WebObjects 5: mbp17.local

 My development machine name should be mbp15.local so I’m wondering where that 
header comes from?

Jeff


 
> On Sep 2, 2016, at 10:11 PM, Jeff Schmitz  wrote:
> 
> One other note, I’m running ElCapitan with Apache 2.4.  I am using the Apache 
> 2.4 compatible mod_webobjects adaptor that works on a deployment machine 
> that’s also running El Capitan.
> 
> After triple checking, all from that page seems to check out:
> 
> Edit /etc/apache2/httpd.conf
> ServerName localhost jdj
> CHECK
> 
> You will also need to find this block
> # First, we configure the "default" to be a very restrictive set of
> # features.
> #
> 
> Options FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> 
> And modify like so:
> # First, we configure the "default" to be a very restrictive set of
> # features.
> #
> 
> Options FollowSymLinks
> AllowOverride None
> #Order deny,allow
> #Deny from all
> 
> 
> Options FollowSymLinks
> AllowOverride None
> #Require all denied
> 
> 
> CHECK
> 
> 
> Got to the very end of /etc/apache2/httpd.conf and add :
> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
> 
> Include 
> /Developer/WebObjects/Versions/WebObjects543/System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
> 
> CHECK (apache.conf is actually there, where I installed Webobjects 5.4)
> 
> 
> Edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf to make sure 
> that your enabled/uncommented WebObjectsConfig property looks like this:
> WebObjectsConfig http://localhost:1085  10
> 
> Checking the above referenced file under Developer/WebObjects…
> 
> WebObjectsConfig http://localhost:1085  10
> 
> 
> CHECK
> 
> Edit 
> /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties
> Add this line after the WOPort=1085 one:
> WOHost=localhost
> 
> Again, looking under Developer/WebObjects…/Properties
> 
> WOPort=1085
> WOHost=localhost
> 
> 
> CHECK
> 
> 
> Restart wotaskd:  sudo launchctl stop com.apple.webobjects.wotaskd
> 
> CHECK
> sudo launchctl list | grep webobjects
> 430   1   com.apple.webobjects.womonitor
> 3519  143 com.apple.webobjects.wotaskd
> 
> CHECK
> 
> Add or edit these launch parameters:
> -WODirectConnectEnabled false
> -WOHost localhost
> -WOAdaptorURL http://localhost/cgi-bin/WebObjects 
> 
> -WOPort 
> ALL CHECKED in the Debug Configuration for the application.
> 
> Still no love.
> 
> http://localhost/cgi-bin/WebObjects/mlb.woa/- 
>   =  No instance available
> 
> 
> Thanks!
> Jeff
> 
> 
>> On Sep 2, 2016, at 8:57 PM, Chuck Hill > > wrote:
>> 
>> Double check what is on that page.  Ensure that WOHost=localhost is set for 
>> both the app and wotaskd.
>>  
>> From: > > on 
>> behalf of Jeff Schmitz > >
>> Date: Friday, September 2, 2016 at 6:21 PM
>> To: WebObjects Development > >
>> Subject: Instance not found on dev machine
>>  
>> Hey All, 
>>I followed the directions here: 
>> https://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache
>>  
>> 
>>  
>> And when I start my app in eclipse, I get the “No Instance Available” error 
>> in the browser. 
>>  
>>  Apache is running as is wotaskd so I’m at a loss as to what to check.  
>> Anything simple I can do to try to debug the app?  There are no errors 
>> during startup from the app, and the log ends with the following three lines:
>>  
>> Sep 03 01:19:31 mlb[] INFO  er.extensions.appserver.ERXApplication  - 
>> Local host IPs: (mbp17.local/192.168.0.108, localhost/127.0.0.1, 
>> localhost/0:0:0:0:0:0:0:1, mbp17.local/fe80:0:0:0:bae8:56ff:fe47:dbe8%4, 
>> mbp17.local/fe80:0:0:0:a059::fe9a:374d%8, 
>> mbp17.local/fe80:0:0:0:3d92:7248:46b4:852c%10, 
>> mbp17.local/fd11:314e:8afc:764b:3d92:7248:46b4:852c)
>> Sep 03 01:19:31 mlb[] DEBUG NSLog  - DirectToWeb WebAssistant launch 
>> line: 
>> appletviewerhttp://localhost/cgi-bin/WebObjectsmlb.woa/wa/D2WActions/openWebAssistant
>>  
>> Sep