• 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: WODirectConnectEnabled=false again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODirectConnectEnabled=false again


  • Subject: Re: WODirectConnectEnabled=false again
  • From: Kieran Kelleher <email@hidden>
  • Date: Sat, 5 Apr 2008 07:13:10 -0400

Check all the details on that wiki page ... I had this same problem a month ago with a new machine .... doing everything in the wki page helped fixed it IIRC.

Have you editied apace config file and set the server name? What about WOAdaptorURL?

Also, try rebooting the whole machine after doing everything ...... IIRC, just restarting apache was not enough.

Looking at old notes ......... I also edited SiteConfix.xml (you can use WOMonitor to do this if you like)
Try that too..... it is not on the wiki page.... so not sure if this is one component of the solution or just a red herring.
/Library/WebObjects/Configuration/SiteConfig.xml


<SiteConfig type="NSDictionary">
<hostArray type="NSArray">
<element type="NSDictionary">
<type type="NSString">MACOSX</type>
<name type="NSString">localhost</name>
</element>
</hostArray>
<applicationArray type="NSArray">
</applicationArray>
<instanceArray type="NSArray">
</instanceArray>
<site type="NSDictionary">
<viewRefreshEnabled type="NSString">YES</viewRefreshEnabled>
<cnctTimeout type="NSNumber">600</cnctTimeout>
<viewRefreshRate type="NSNumber">60</viewRefreshRate>
<urlVersion type="NSNumber">4</urlVersion>
<recvTimeout type="NSNumber">600</recvTimeout>
<woAdaptor type="NSString">http://localhost/cgi-bin/WebObjects</ woAdaptor>
</site>
</SiteConfig>


On Apr 5, 2008, at 12:33 AM, Lachlan Deck wrote:

I'd already added the -WOHost localhost switches to the wotask,womonitor plists + same switch in my app.

I'd not done it for httpd.conf. Set that, restarted it... still no go.

On 05/04/2008, at 2:51 PM, Chuck Hill wrote:
Have you done the localhost thing?
http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache

Chuck

On Apr 4, 2008, at 8:20 PM, Lachlan Deck wrote:

Hi there,

Gotta love a new system presenting problems once solved/forgotten years ago :-)

Okay, so I've set up apache/wotaskd/etc up and running... If I run with direct connect enabled my app responds fine. But this is not what I want to do...

I've touched /tmp/logWebObjects. The only output I've gotten is following; only one mention of 'MyApp'...
----------
Info: Added new config server localhost:1085.
Debug: init_adaptor(): ac_init succeeded
Debug: init_adaptor(): transaction_init() succeeded
Info: Reading configuration from http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: ac_newInstance(): added JavaMonitor:-56789 (56789)
Info: ac_newInstance(): added MyApp:-51231 (51231)
Info: WebObjects_post_config(): WebObjects adaptor initialization succeeded.
----------


No further logs on subsequent restarts of app within WOLips.

If in WOLips prefs I have ProjectBuilder Server enabled or WOLips server and hit my app I get (after a long wait):
No instance available


Tried turning on Build > write PB.project on build and doing a clean build. Still no go.

After waiting a while I'm seeing in the app's logs:
183118 WARN 2008-04-05 14:15:05,295 [WorkerThread0] (er.extensions.ERXNSLogLog4jBridge, appendln, 41) -
<WOWorkerThread id=0 socket=Socket[addr=/ 127.0.0.1,port=51347,localport=51231]> Exception while sending response: java.net.SocketException: Broken pipe


What am I missing?
Thanks

with regards,
--

Lachlan Deck
_______________________________________________
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


--

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







with regards, --

Lachlan Deck



_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: WODirectConnectEnabled=false again
      • From: Lachlan Deck <email@hidden>
References: 
 >WODirectConnectEnabled=false again (From: Lachlan Deck <email@hidden>)
 >Re: WODirectConnectEnabled=false again (From: Chuck Hill <email@hidden>)
 >Re: WODirectConnectEnabled=false again (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Inline bindings: attribute string value begining with $
  • Next by Date: Re: Convenience functions in model classes
  • Previous by thread: Re: WODirectConnectEnabled=false again
  • Next by thread: Re: WODirectConnectEnabled=false again
  • Index(es):
    • Date
    • Thread