Okay, it seems that everything is running and communicating now. I'll just 
leave a note of what I had to do to make sure everything worked.

1) /etc/hosts:

127.0.0.1               web01.polestarpilates.com localhost.localdomain 
localhost
::1                             localhost6.localdomain6 localhost6
66.175.98.51    web01.polestarpilates.com web01

2) /etc/sysconfig/network:

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=web01.polestarpilates.com
GATEWAY=172.16.1.1

3) Set the reverse DNS for my IP to web01.polestarpilates.com. I had to call my 
managed hosting rep to do this. It took about 10 hours.

4) Set wotaskd startup string to:

$NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd -WOPort 1085 
-WOHost web01.polestarpilates.com &

5) Set Host tab in JavaMonitor to "web01.polestarpilates.com"

6) Set URL adaptor under Site tab in JavaMonitor to 
"http://web01.polestarpilates.com/cgi-bin/WebObjects";

7) After rebooting a few times, I have to remember to restart Apache, FrontBase 
server and FrontBase database. I felt like an idiot when I did everything above 
and couldn't even start my application from the command line because I forgot 
to start FrontBase.

Now I am able to start JavaMonitor and start instances of the application as 
needed. I'm sure there will be more questions about the application as I 
continue with my configurations, but at least everything is communicating and 
working!

Thanks so much to Chuck, Pascal and Mark for helping me out with this. I'm 
going to post a blog article about my struggles for easy reference and shoot 
everyone a link.

Thanks,

Ken


On Aug 17, 2010, at 11:59 AM, Chuck Hill wrote:

> 
> On Aug 17, 2010, at 11:36 AM, Ken - Watermark Studios wrote:
> 
>> Log shows:
>> 
>> The URL for webserver connect is:
>> http://web01.polestarpilates.com/cgi-bin/WebObjects/wotaskd.woa/-1085
>> The URL for direct connect is:
>> http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa
>> 
>> When I try to connect via curl, this is what I get:
>> 
>> $ curl 
>> http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
>> 
>> curl: (7) couldn't connect to host
> 
> Do you have a password set for wotaskd?
> 
> 
>> It seems that either wotaskd isn't running or the server doesn't recognize 
>> that it is running.
> 
> Verify with
> 
> sudo lsof -i tcp:1085
> 
> 
> Chuck
> 
> 
>> On Aug 17, 2010, at 11:29 AM, Mark Ritchie wrote:
>> 
>>> Hey Ken,
>>> 
>>> On 17/Aug/2010, at 11:08 AM, Ken - Watermark Studios wrote:
>>>> Now, when I start wotaskd and JavaMonitor and log into JavaMonitor to set 
>>>> the Host, I get an error. I set the Host to "web01.polestarpilates.com" 
>>>> and I get the error "Failed to contact web01.polestarpilates.com-1085".
>>> 
>>> I would start by checking the logs for WOTaskd and seeing what host and 
>>> port it thinks it's running on.
>>> The log lines you're looking for are:
>>> [2010-8-17 11:21:45 PDT] <main> The URL for webserver connect is:
>>> http://app.server.fqdn/cgi-bin/WebObjects/wotaskd.woa/-1085
>>> The URL for direct connect is:
>>> http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa
>>> 
>>> both versions give the host name and the port.
>>> 
>>> You can check that wotaskd is speaking by using curl with something like:
>>> app.server.fqdn $ curl 
>>> http://app.server.fqdn:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
>>> 
>>> The URL used above should match what you see in the WOAdaptorInfo page of 
>>> your webserver.
>>> The output of that should be XML with details of all instances running on 
>>> app.server.fqdn.
>>> For a single instance, this would be something like:
>>> <?xml version="1.0" encoding="ASCII"?>
>>> <adaptor>
>>>  <application name="MySuperApp">
>>>    <instance id="1" port="2001" host="app.server.fqdn"/>
>>>  </application>
>>> </adaptor>
>>> 
>>> Good luck!
>>> M.
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to [email protected]
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.    
> http://www.global-village.net/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 

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

This email sent to [email protected]

Reply via email to