• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: On Deployment -- Why does Direct Connect work and Apache doesn't?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On Deployment -- Why does Direct Connect work and Apache doesn't?


  • Subject: Re: On Deployment -- Why does Direct Connect work and Apache doesn't?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 15 Dec 2008 13:41:55 -0800


On Dec 15, 2008, at 1:28 PM, James Cicenia wrote:

Hello -

If I curl my application from the server it is running to direct connect I get this:

curl -v curl http://127.0.0.1:2001
* getaddrinfo(3) failed for curl:80
* Couldn't resolve host 'curl'
* Closing connection #0
curl: (6) Couldn't resolve host 'curl'
* About to connect() to 127.0.0.1 port 2001
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 2001
> GET / HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: 127.0.0.1:2001
> Accept: */*
>
< HTTP/1.1 302 Apple WebObjects
< cache-control: private
< cache-control: no-cache
< cache-control: no-store
< cache-control: must-revalidate
< cache-control: max-age=0
< expires: Mon, 15-Dec-2008 21:02:14 GMT
< location: http://127.0.0.1/cgi-bin/WebObjects/hb-admin.woa/wa/GotCookies?go=DirectAction&wosid=mNdQCsnipCYcKFD9xFX97w
< pragma: no-cache
< date: Mon, 15-Dec-2008 21:02:14 GMT
< x-webobjects-loadaverage: 1
< content-type: text/html
< set-cookie: wosid=mNdQCsnipCYcKFD9xFX97w; path=/;
< set-cookie: woinst=-1; path=/;
< content-length: 0
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0


If however I connect any other way, ie non-direct conect I get this:

curl -v http://x.x.x.x/cgi-bin/WebObjects/hb-admin
* About to connect() to x.x.x.x port 80
* Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 80
> GET /cgi-bin/WebObjects/hb-admin HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: x.x.x.x
> Accept: */*


woadaptor not installed correct? wotaskd not running? Host name differences between woadaptor, wotaskd, application? What do the Apache logs say?

Chuck


-- 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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >On Deployment -- Why does Direct Connect work and Apache doesn't? (From: James Cicenia <email@hidden>)

  • Prev by Date: On Deployment -- Why does Direct Connect work and Apache doesn't?
  • Next by Date: Re: Tip: Your next XRaid may be an SSD
  • Previous by thread: On Deployment -- Why does Direct Connect work and Apache doesn't?
  • Next by thread: Project Wonder without WO?
  • Index(es):
    • Date
    • Thread