Re: Configuring CentOS 5.5 for WebObjects
Re: Configuring CentOS 5.5 for WebObjects
- Subject: Re: Configuring CentOS 5.5 for WebObjects
- From: Chuck Hill <email@hidden>
- Date: Tue, 17 Aug 2010 11:59:05 -0700
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden