[WireHose-dev] HelloWorld Problem - **Second Request**

Fred Shurtleff fhs at comcast.net
Sat Dec 1 10:51:47 EST 2007


Hi Alex,

Going to this URL displays an empty page ie no Feeds(none is the RSSFeed 
table in FrontBase and the Run Log did not show any NSLog messages re 
Importing...).

So the app is not performing the Importer.importFeeds(); method. I 
re-read the tutorial doc (p53-54), which details two(2) mechanisms for 
firing the import process. One uses a notification/delegate scheme 
implemented in the Application class that reads the property file tag - 
-ImportFeeds YES/NO. The second is to Edit Active Executable 
'HelloWorld' from the Project menu/Launch Arguments; here you set > 
-NSDebugGroups "(com.wirehose.base.WHLog.DebugGroupImporting,
com.wirehose.base.WHLog.DebugGroupWireHose)"
-NSDebugLevel NSLog.DebugLevelCritical
-ImportFeeds YES

I have implemented method 2, but for some reason the importer is not 
fired (also I changed the property file to -ImportFeeds YES just to 
allow both methods to fire the importer).

Do you see anything I am missing; or suggest what step I can take to 
fire the importer?

Thanks

Alex Cone wrote:
>> The URL for direct connect is:
>> http://MyMacMini.local:2020/cgi-bin/WebObjects/HelloWorld.woa
>
> what happens when you hit that URL in a browser?
>
> abc
>
> On Nov 30, 2007, at 5:56 PM, Fred Shurtleff wrote:
>
>> Gary, I added the FrontBase Plugin & Prototypes to the App server 
>> target (not the same interface as your tutorial & not at all 
>> intuitive). I did NOT get "A fatal exception occurred"....
>>
>> Rather the app runs - reports 'Waiting for Requests' - but no web 
>> browser is launched. I checked the database - there are 36 rows in 
>> WHEntity and 1 row in WHUser. Here is the log:
>>
>> URL was 'jdbc:FrontBase://localhost/wirehose/user=wirehose', is now: 
>> 'jdbc:FrontBase://localhost/HelloWorld/user=HelloWorld'.
>> [2007-11-30 20:37:32 EST] <main> EOModel 'WHFrontBasePrototypes' 
>> loaded... Didn't find WHShouldReplaceAdaptorDictionary=YES in 
>> userInfo, will not replace adaptor dictionary.
>> [2007-11-30 20:37:35 EST] <main> Created new WHUser guest user for 
>> affiliate "HelloWorld"
>> [2007-11-30 20:37:35 EST] <main> The URL for webserver connect is:
>> http://MyMacMini.local/cgi-bin/WebObjects/HelloWorld.woa/-2020
>> The URL for direct connect is:
>> http://MyMacMini.local:2020/cgi-bin/WebObjects/HelloWorld.woa
>> [2007-11-30 20:37:35 EST] <main> null
>> [2007-11-30 20:37:35 EST] <main> Waiting for requests...
>>
>> Seems like I'm getting closer - can you guide me from here?
>>
>> Gary Teter wrote:
>>> On Nov 30, 2007, at 4:45 PM, Fred Shurtleff wrote:
>>>
>>>> [2007-11-30 19:31:40 EST] <main> EOModel 'WireHoseBase' loaded... 
>>>> Connection dictionary replaced, URL was 
>>>> 'jdbc:FrontBase://localhost/wirehose/user=wirehose', is now: 
>>>> 'jdbc:FrontBase://localhost/HelloWorld/user=HelloWorld'.
>>>
>>>
>>> Make sure you have the FrontBasePlugIn and WHFrontBasePrototypes 
>>> frameworks included in the Application Server target. They're added 
>>> to the project by default but not included in any target (same deal 
>>> with the OpenBase frameworks).
>>>
>>> Once you've done that and re-run the application, you'll get another 
>>> exception:
>>>
>>>> A fatal exception occurred: Unable to find WHEntityName object for 
>>>> "WHGroup"
>>>
>>> This is a known race condition bug with every WireHose application 
>>> the very first time it starts ever. The WHEntity table gets 
>>> populated, then it will launch fine after that. Generally I just 
>>> ignore it and relaunch the app.
>>>
>>
>>
>> _______________________________________________
>> WireHose-dev mailing list
>> WireHose-dev at public.codefab.com
>> http://public.codefab.com/mailman/listinfo/wirehose-dev
>
>
> __alex cone
>     ceo  codefab  inc
>     212 465-8484 x101
>     abc at codefab.com
>     http://www.codefab.com
>
> If you are not living on the edge, you are taking up too much space.
>
>
>
>
>




More information about the WireHose-dev mailing list