Re: first foray into D2W

2011-12-13 Thread Theodore Petrosky
I found the problem!

It seems that the PageWrapper must include:




ERMD2WStyleSheetInjector : ERMD2WStyleSheetInjector {
  localContext = d2wContext;
}

I copied it from the working WonderD2W app and voila. 

Now I will start over again with a 'clean' Wonder app and see what the minimum 
is to get the ModernLook.

Thanks, if anyone sees anything obviously wrong with this, let me know.

Ted

--- On Mon, 12/12/11, David Holt  wrote:

> From: David Holt 
> Subject: Re: first foray into D2W
> To: "Theodore Petrosky" 
> Cc: "Jesse Tayler" , "WebObjects Development" 
> 
> Date: Monday, December 12, 2011, 6:37 PM
> Do you have a rule like this?
> 
> 100 : *true* => look = "ERModernLook"
> [com.webobjects.directtoweb.Assignment]
> 
> 
> On 2011-12-12, at 1:41 PM, Theodore Petrosky wrote:
> 
> > I followed the D2W embedded example. 
> > 
> > I created a sample Wonder App. then added D2W. Since
> it is not working correctly, I created a Wonder D2S app just
> to see what it would look like and it resembles the 'good'
> screen shot from David.
> > 
> > I checked the Java build path from the good app and
> compared it to the path of my 'bad' app and they are the
> same. I cleaned my app and tried it again, but still no
> joy.
> > 
> > Where else should I look for this blinding binding
> error.
> > 
> > 
> > --- On Mon, 12/12/11, Jesse Tayler 
> wrote:
> > 
> >> From: Jesse Tayler 
> >> Subject: Re: first foray into D2W
> >> To: "Theodore Petrosky" 
> >> Cc: "David LeBer" ,
> "WebObjects Development" 
> >> Date: Monday, December 12, 2011, 2:38 PM
> >> you have an old look AND you have the
> >> debugging UI on where you can see element areas --
> this you
> >> can turn off using a debug toolbar in the corner
> of the page
> >> during development.
> >> 
> >> are you linking to the modern frameworks as well
> as setting
> >> the rules to turn them on?
> >> 
> >> On Dec 12, 2011, at 2:33 PM, Theodore Petrosky
> wrote:
> >> 
> >>> I attached a screen shot of what I am seeing,
> and it
> >> look nothing like what you showed.
> >>> 
> >>> What could I be missing? A framework (but
> shouldn't it
> >> complain if one were missing?)?
> >>> 
> >>> Thanks for the help.
> >>> 
> >>> Ted
> >>> 
> >>> --- On Mon, 12/12/11, David LeBer 
> >> wrote:
> >>> 
> >>> From: David LeBer 
> >>> Subject: Re: first foray into D2W
> >>> To: "Theodore Petrosky" 
> >>> Cc: "WebObjects Development" 
> >>> Date: Monday, December 12, 2011, 2:18 PM
> >>> 
> >>> That is weird.
> >>> ModernLook has css classes assigned to html
> elements
> >> out the wazoo.
> >>> Your list page should look something like
> this, if it
> >> doesn't then you the ModernLook page components
> are not
> >> being used.
> >>> 
> >>> D
> >>> --
> >>> David LeBer
> >>> Codeferous Software
> >>> 
> >>> On 2011-12-12, at 2:05 PM, Theodore Petrosky
> wrote:
> >>> I have a model (a framework). I specified a
> few
> >> rules:
> >>> 
> >>> (
> >>>     100 : *true* =>
> look = ModernLook
> >> [com.webobjects.directtoweb.Assignment],
> >>>     100 : *true* =>
> isEntityEditable =
> >> true
> [com.webobjects.directtoweb.BooleanAssignment],
> >>>     100 : (task = 'list'
> and entity.name =
> >> 'Grid') => displayPropertyKeys =
> >> (center,comments,billing)
> >> [com.webobjects.directtoweb.Assignment]
> >>> )
> >>> 
> >>> and this works great. I add  /wa/ListGrid
> to the
> >> end of the URL on my development box and it does
> what is
> >> expected. Perhaps it is the ModernLook but I am
> looking at
> >> the generated HTML and I don't see that the table
> cells are
> >> labeled with classes nor ids so I could hook into
> the css.
> >>> 
> >>> Am I working on the wrong direction?
> >>> 
> >>> Ted
> >>> 
> >>> -
> >>> 
> >>> --- On Mon, 12/12/11, David LeBer 
> >> wrote:
> >>> 
> >>> From: David LeBer 
> >>> Subject: Re: first foray into D2W
> >>> To: "Theodore Petrosky" 
> >>> Cc: "WebObjects Development" ,
> >> "David Holt" 
> >>> Date: Monday, December 12, 2011, 2:01 PM
> >>> Definitely,
> >>> 
> >>> CSS all the way. You can either add your own
> >> stylesheet and
> >>> override the base css in the skin framework,
> or you
> >> can
> >>> duplicate the skin framework to create your
> own.
> >>> 
> >>> The modern look components pretty much ignore
> any
> >> rules
> >>> that define element sizes, and if they *are*
> >> supported,
> >>> those values will be overridden by the css
> anyway.
> >>> 
> >>> --
> >>> David LeBer
> >>> Codeferous Software
> >>> 
> >>> On 2011-12-12, at 1:45 PM, David Holt wrote:
> >>> 
> >>> Hi Ted,
> >>> 
> >>> I would do the changes in CSS.
> >>> 
> >>> There are rules for some of that stuff, but
> they were
> >>> made in the pre-CSS days and therefore
> obsolete in my
> >>> opinion.
> >>> 
> >>> David
> >>> 
> >>> 
> >>> On 2011-12-12, at 10:42 AM, Theodore Petrosky
> wrote:
> >>> 
> >>> Thank you Ramsey Gurley for the Wonderful
> >>> presentation on embedded D2W. I finally have
> it
> >> working. 
> >>> 
> >>> But I am trying to alter the look of the page

How do I get the ERFileAttachment webPath in ERRest?

2011-12-13 Thread James Cicenia
How do I set the key in my route to access it? I tried:

public static ERXKeyFilter showFilter() {
ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
filter.include(FoodItem.FOOD_FAMILY).includeAttributes();
filter.include(FoodItem.MAIN_IMAGE).includeAttributes();
return filter;
}

but in brings back: 

Thanks

James 

smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Can someone explain how this ERXKey works?

2011-12-13 Thread James Cicenia
The base object is a FoodItem and it has a to-one foodFamily relationship.
I was trying to get the foodFamily mainImage (ERAttachment) attributes.

After much trial and error this worked!  why?


ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
ERXKeyFilter family = filter.include(FoodItem.FOOD_FAMILY);
family.include(FoodFamily.MAIN_IMAGE).includeAttributesAndToOneRelationships();
return filter

How does the family filter affect the returned filter?

Thanks James





smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Can someone explain how this ERXKey works?

2011-12-13 Thread Farrukh Ijaz
Hi James,

The filter is passed to response object in ERRest framework, and that filter is 
applied to the object. E.g.

return response(object, filter);

The filter includes keypaths that can be reached from "object". Now this object 
must implement NSKeyValueCodingAdditions interface.

The family filter is just a reference to the filter object which is returned 
after includeing FoodItem.FOOD_FAMILY, so basically you're manupulating the 
fiter object itself. You should use it as following:

> ERXKeyFilter filter = 
> ERXKeyFilter.filterWithAttributesAndToOneRelationships();
> filter.include(FoodFamily.MAIN_IMAGE);
> return filter

On 2011-12-13, at 9:37 PM, James Cicenia wrote:

> The base object is a FoodItem and it has a to-one foodFamily relationship.
> I was trying to get the foodFamily mainImage (ERAttachment) attributes.
> 
> After much trial and error this worked!  why?
> 
> 
> ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
> ERXKeyFilter family = filter.include(FoodItem.FOOD_FAMILY);
> family.include(FoodFamily.MAIN_IMAGE).includeAttributesAndToOneRelationships();
> return filter
> 
> How does the family filter affect the returned filter?
> 
> Thanks James
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.com

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

This email sent to arch...@mail-archive.com


Re: Can someone explain how this ERXKey works?

2011-12-13 Thread James Cicenia
I had originally used what you suggested. And this was the response:

ERXKeyFilter filter = 
ERXKeyFilter.filterWithAttributesAndToOneRelationships();
filter.include(FoodFamily.MAIN_IMAGE);

gives:








When I did what I did I get this response (all notice that it says 
ERDatabaseAttachment, this is wrong it is a File):



true

2011-11-09T01:32:39Z

image/jpeg
tomato.jpg

true
4951

db

/1.jpg






Regards
James





On Dec 13, 2011, at 1:08 PM, Farrukh Ijaz wrote:

> Hi James,
> 
> The filter is passed to response object in ERRest framework, and that filter 
> is applied to the object. E.g.
> 
> return response(object, filter);
> 
> The filter includes keypaths that can be reached from "object". Now this 
> object must implement NSKeyValueCodingAdditions interface.
> 
> The family filter is just a reference to the filter object which is returned 
> after includeing FoodItem.FOOD_FAMILY, so basically you're manupulating the 
> fiter object itself. You should use it as following:
> 
>> ERXKeyFilter filter = 
>> ERXKeyFilter.filterWithAttributesAndToOneRelationships();
>> filter.include(FoodFamily.MAIN_IMAGE);
>> return filter
> 
> On 2011-12-13, at 9:37 PM, James Cicenia wrote:
> 
>> The base object is a FoodItem and it has a to-one foodFamily relationship.
>> I was trying to get the foodFamily mainImage (ERAttachment) attributes.
>> 
>> After much trial and error this worked!  why?
>> 
>> 
>> ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
>> ERXKeyFilter family = filter.include(FoodItem.FOOD_FAMILY);
>> family.include(FoodFamily.MAIN_IMAGE).includeAttributesAndToOneRelationships();
>> return filter
>> 
>> How does the family filter affect the returned filter?
>> 
>> Thanks James
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>> 
>> This email sent to farrukh.i...@fuegodigitalmedia.com
> 



smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


What wonder branch is what?

2011-12-13 Thread G Brown
Hi,

There are so many branches:

 origin/HEAD -> origin/master 
  origin/Wonder_1_0_0_Branch
  origin/Wonder_1_0_1_Branch
  origin/Wonder_2_0_0_Branch
  origin/Wonder_2_0_0_WebObjects_5_4_Branch
  origin/Wonder_2_0_1_Branch
  origin/Wonder_2_0_2_Branch
  origin/Wonder_3_0_0_Branch
  origin/Wonder_4_0_0_Branch
  origin/Wonder_4_5_0_Branch
  origin/Wonder_5_0_0_Legacy
  origin/Wonder_5_0_0_WebObjects_5_3_Branch
  origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch
  origin/Wonder_5_0_0_WebObjects_5_4_Branch
  origin/Wonder_5_0_0_WebObjects_5_5_Branch
  origin/Wonder_5_0_0_WebObjects_5_6_Branch
  origin/Wonder_for_Maven_experiments
  origin/gh-pages
  origin/master
  origin/patrice

What is the difference between  master and  
origin/Wonder_5_0_0_WebObjects_5_4_Branch ?

  origin/Wonder_5_0_0_Legacy and   origin/Wonder_5_0_0_WebObjects_5_3_Branch ?

  origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch and   
origin/Wonder_5_0_0_WebObjects_5_4_Branch ?

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

This email sent to arch...@mail-archive.com


Re: What wonder branch is what?

2011-12-13 Thread Chuck Hill
origin/master is what you want.

On 2011-12-13, at 3:19 PM, G Brown wrote:

> Hi,
> 
> There are so many branches:
> 
> origin/HEAD -> origin/master 
>  origin/Wonder_1_0_0_Branch
>  origin/Wonder_1_0_1_Branch
>  origin/Wonder_2_0_0_Branch
>  origin/Wonder_2_0_0_WebObjects_5_4_Branch
>  origin/Wonder_2_0_1_Branch
>  origin/Wonder_2_0_2_Branch
>  origin/Wonder_3_0_0_Branch
>  origin/Wonder_4_0_0_Branch
>  origin/Wonder_4_5_0_Branch
>  origin/Wonder_5_0_0_Legacy
>  origin/Wonder_5_0_0_WebObjects_5_3_Branch
>  origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch
>  origin/Wonder_5_0_0_WebObjects_5_4_Branch
>  origin/Wonder_5_0_0_WebObjects_5_5_Branch
>  origin/Wonder_5_0_0_WebObjects_5_6_Branch
>  origin/Wonder_for_Maven_experiments
>  origin/gh-pages
>  origin/master
>  origin/patrice
> 
> What is the difference between  master and  
> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
> 
>  origin/Wonder_5_0_0_Legacy and   origin/Wonder_5_0_0_WebObjects_5_3_Branch ?
> 
>  origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch and   
> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
> 
> Thanks, ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
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









smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: What wonder branch is what?

2011-12-13 Thread Kieran Kelleher
FYI,

If you want to have a simple uncluttered life, you can use a couple of quick 
git commands to only clone the master branch and leave all the other legacy 
stuff behind. The trick is to "manually" add the remote specifying only the 
remote branches you are interested in tracking with the -t option.

For example, a non-committer would do the following (for committers, just the 
url changes slightly to the ssh variant)

mkdir wonder
cd wonder
git init
git remote add -t master origin git://github.com/projectwonder/wonder.git
git fetch
git checkout master

Next, continue with uncluttered git life and a more simple 'git branch -avv' 
output. :-)

Regards, Kieran


On Dec 13, 2011, at 6:22 PM, Chuck Hill wrote:

> origin/master is what you want.
> 
> On 2011-12-13, at 3:19 PM, G Brown wrote:
> 
>> Hi,
>> 
>> There are so many branches:
>> 
>> origin/HEAD -> origin/master 
>> origin/Wonder_1_0_0_Branch
>> origin/Wonder_1_0_1_Branch
>> origin/Wonder_2_0_0_Branch
>> origin/Wonder_2_0_0_WebObjects_5_4_Branch
>> origin/Wonder_2_0_1_Branch
>> origin/Wonder_2_0_2_Branch
>> origin/Wonder_3_0_0_Branch
>> origin/Wonder_4_0_0_Branch
>> origin/Wonder_4_5_0_Branch
>> origin/Wonder_5_0_0_Legacy
>> origin/Wonder_5_0_0_WebObjects_5_3_Branch
>> origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch
>> origin/Wonder_5_0_0_WebObjects_5_4_Branch
>> origin/Wonder_5_0_0_WebObjects_5_5_Branch
>> origin/Wonder_5_0_0_WebObjects_5_6_Branch
>> origin/Wonder_for_Maven_experiments
>> origin/gh-pages
>> origin/master
>> origin/patrice
>> 
>> What is the difference between  master and  
>> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
>> 
>> origin/Wonder_5_0_0_Legacy and   origin/Wonder_5_0_0_WebObjects_5_3_Branch ?
>> 
>> origin/Wonder_5_0_0_WebObjects_5_4_3_1_Branch and   
>> origin/Wonder_5_0_0_WebObjects_5_4_Branch ?
>> 
>> Thanks, ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> 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  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com

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

This email sent to arch...@mail-archive.com


Re: Can someone explain how this ERXKey works?

2011-12-13 Thread Farrukh Ijaz
This is strange:

/**
 * Shortcut to return a new ERXKeyFilter(AttributesAndToOneRelationships)
 * @return a new ERXKeyFilter(AttributesAndToOneRelationships)
 */
public static ERXKeyFilter filterWithAttributesAndToOneRelationships() {
return new 
ERXKeyFilter(ERXKeyFilter.Base.AttributesAndToOneRelationships);
}

/**
 * Sets the base rule to AttribtuesAndToOneRelationships.
 */
public void includeAttributesAndToOneRelationships() {
setBase(ERXKeyFilter.Base.AttributesAndToOneRelationships);
}

The first method is the static method and second is instance and the instance 
method sets the base after creating the instance.

Farrukh

On 2011-12-13, at 11:14 PM, James Cicenia wrote:

> I had originally used what you suggested. And this was the response:
> 
>   ERXKeyFilter filter = 
> ERXKeyFilter.filterWithAttributesAndToOneRelationships();
>   filter.include(FoodFamily.MAIN_IMAGE);
> 
> gives:
> 
> 
> 
> 
> 
> 
> 
> 
> When I did what I did I get this response (all notice that it says 
> ERDatabaseAttachment, this is wrong it is a File):
> 
> 
> 
> true
> 
> 2011-11-09T01:32:39Z
> 
> image/jpeg
> tomato.jpg
> 
> true
> 4951
> 
> db
> 
> /1.jpg
> 
> 
> 
> 
> 
> 
> Regards
> James
> 
> 
> 
> 
> 
> On Dec 13, 2011, at 1:08 PM, Farrukh Ijaz wrote:
> 
>> Hi James,
>> 
>> The filter is passed to response object in ERRest framework, and that filter 
>> is applied to the object. E.g.
>> 
>> return response(object, filter);
>> 
>> The filter includes keypaths that can be reached from "object". Now this 
>> object must implement NSKeyValueCodingAdditions interface.
>> 
>> The family filter is just a reference to the filter object which is returned 
>> after includeing FoodItem.FOOD_FAMILY, so basically you're manupulating the 
>> fiter object itself. You should use it as following:
>> 
>>> ERXKeyFilter filter = 
>>> ERXKeyFilter.filterWithAttributesAndToOneRelationships();
>>> filter.include(FoodFamily.MAIN_IMAGE);
>>> return filter
>> 
>> On 2011-12-13, at 9:37 PM, James Cicenia wrote:
>> 
>>> The base object is a FoodItem and it has a to-one foodFamily relationship.
>>> I was trying to get the foodFamily mainImage (ERAttachment) attributes.
>>> 
>>> After much trial and error this worked!  why?
>>> 
>>> 
>>> ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
>>> ERXKeyFilter family = filter.include(FoodItem.FOOD_FAMILY);
>>> family.include(FoodFamily.MAIN_IMAGE).includeAttributesAndToOneRelationships();
>>> return filter
>>> 
>>> How does the family filter affect the returned filter?
>>> 
>>> Thanks James
>>> 
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>>> 
>>> This email sent to farrukh.i...@fuegodigitalmedia.com
>> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.com

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

This email sent to arch...@mail-archive.com


RE: ERXObjectStoreCoordinatorPool exception

2011-12-13 Thread Michael Gargano
Okay, I've figured out how to set this up across servers, but I'm still seeing 
the exception.  Doesn't seem to cause any problems but I haven't met a stack 
trace I like.

I'm a little unsure exactly why you need to make the choice between using the 
remote synchronizer and using 
setFetchTimestamp(System.getCurrentTimeInMillis()) on EC creation.  Isn't the 
end effect really the same?  The DB cache gets the freshest data in both cases, 
no?

Thanks.
-Mike


From: webobjects-dev-bounces+mgargano=escholar@lists.apple.com 
[mailto:webobjects-dev-bounces+mgargano=escholar@lists.apple.com] On Behalf 
Of Michael Gargano
Sent: Monday, December 12, 2011 4:50 PM
To: WebObjects webobjects-dev
Subject: ERXObjectStoreCoordinatorPool exception

Hi again,

I just configured the ERXObjectStoreCoordinatorPool have 4 coordinators using 
the ERJGroupSyncronizer.

I have 2 application servers running 2 apps each.  The apps on each box talk to 
each other and both servers share one DB.


Server A
  Server B
---  
---
myApp   
 myApp
taskRunnerApp   
taskRunnerApp
\   
/
DB Server


Everything seems to be running okay, but now that I've turned on the 
coordinator pool I see this strange exception.

ERROR er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer  - 
java.lang.NullPointerException
NullPointerException
  at 
er.extensions.eof.ERXEOAccessUtilities.databaseContextForEntityNamed(ERXEOAccessUtilities.java:1011)
  at 
er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer$ProcessChangesQueue._process(ERXObjectStoreCoordinatorSynchronizer.java:490)
  at 
er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer$ProcessChangesQueue.process(ERXObjectStoreCoordinatorSynchronizer.java:521)
  at 
er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer$ProcessChangesQueue.run(ERXObjectStoreCoordinatorSynchronizer.java:598)
  ... skipped 1 stack elements

Anything to be concerned about?

I also set both apps to use the same group name, so I assume that means that 
it's syncing the EOF stacks across both apps.  Is there a way to do this across 
servers as well, and is that even a good idea?

Thanks.
-Mike

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

This email sent to arch...@mail-archive.com