Re: WOWODC 2014

2013-07-10 Thread ISHIMOTO Ken
+1 

I don't care about Dates. WOWODC has to be high priority so every day should be 
fine.

Ken

On 2013/07/11, at 2:53, Pascal Robert  wrote:

> 
> Le 2013-07-10 à 13:17, Theodore Petrosky  a écrit :
> 
>> first, are we really talking about  wowodc14 already?
> 
> If we are doing it in April (and looks like we will), yes we have to talk 
> about it.
> 
>> and b, I have a hard time deciding on lunch.
>> and finally 3. any of the dates look good.
>> 
>> Ted
>> 
>> On Jul 10, 2013, at 9:14 AM, prob...@macti.ca wrote:
>> 
>>> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
>>> But we were only 60 guys, 15 less than in 2012 and 2011... I known that 
>>> some regulars couldn't make it because of the chosen dates so looks like we 
>>> should return to the first week-end of July or late August like we did in 
>>> the past.
>>> 
>>> We are also looking at doing in April since it might be cheaper for flights 
>>> and the sleeping rooms (no worry, weather is not that bad in April). So 
>>> tentative dates are:
>>> 
>>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>>> - June 28/29/30
>>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
>>> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>>> 
>>> Before we make a decision, I would like to known if those dates are a 
>>> problem for many of you, like spring break or if it's a period where a lot 
>>> of people in your country goes on vacation.
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>>> 
>>> This email sent to tedp...@yahoo.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:
> https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
> 
> This email sent to k...@ksroom.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Pascal Robert

Le 2013-07-10 à 13:17, Theodore Petrosky  a écrit :

> first, are we really talking about  wowodc14 already?

If we are doing it in April (and looks like we will), yes we have to talk about 
it.

> and b, I have a hard time deciding on lunch.
> and finally 3. any of the dates look good.
> 
> Ted
> 
> On Jul 10, 2013, at 9:14 AM, prob...@macti.ca wrote:
> 
>> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
>> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
>> regulars couldn't make it because of the chosen dates so looks like we 
>> should return to the first week-end of July or late August like we did in 
>> the past.
>> 
>> We are also looking at doing in April since it might be cheaper for flights 
>> and the sleeping rooms (no worry, weather is not that bad in April). So 
>> tentative dates are:
>> 
>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>> - June 28/29/30
>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
>> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>> 
>> Before we make a decision, I would like to known if those dates are a 
>> problem for many of you, like spring break or if it's a period where a lot 
>> of people in your country goes on vacation.
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: strange behavior with saveChanges

2013-07-10 Thread Jérémy DE ROYER
Yes, I will change it.

Thank's Chuck.

Jérémy

Le 10 juil. 2013 à 23:52, Chuck Hill a écrit :

> What would be best is if MyAppCRMAnnuaireContact.email() passed in its own 
> editing context (using the editingContext() method) to 
> MyAppCRMParametres.getValeurForParametre rather than keeping an editing 
> context in the application object.
> 
> Chuck
> 
> 
> On 2013-07-10, at 2:18 PM, Jérémy DE ROYER wrote:
> 
>> 
>>  public synchronized String getValeurForParametre(String keyIn)
> 
>   public synchronized String getValeurForParametre(EOEditingContext ec, 
> String keyIn)
> 
>>  {
>>  String strOut = (String) 
>> _dictionnaireForParametres.objectForKey(keyIn);
>> 
>>  if (strOut == null)
>>  {
>>  //  log.info("Fetch key '" + keyIn 
>> + "'");
>>  //
>>  try {
>>  strOut = ((MyAppParametre) 
>> EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre(), 
>> MyAppParametre.ENTITY_NAME, keyIn)).value();
> 
>   strOut = ((MyAppParametre) 
> EOUtilities.objectWithPrimaryKeyValue(ec,  MyAppParametre.ENTITY_NAME, 
> keyIn)).value();
> 
> 
>> 
>>  if (strOut == null)
>>  {
>>  
>> _dictionnaireForParametres.setObjectForKey("", keyIn);
>>  }
>>  else
>>  {
>>  
>> _dictionnaireForParametres.setObjectForKey(strOut, keyIn);
>>  }
>>  }
>>  catch (EOObjectNotAvailableException e) {
>>  }
>>  catch (Exception e) {
>>  e.printStackTrace();
>>  }
>>  }
>> 
>>  return strOut;
>>  }
>> 
>>  private synchronized EOEditingContext 
>> _editingContextForMyAppParametre() {
>> 
>>  if (_editingContextForMyAppParametre == null)
>>  {
>>  _editingContextForMyAppParametre = new 
>> EOEditingContext();
>>  }
>> 
>>  return _editingContextForMyAppParametre;
>>  }
>> 
>> but am I right if I say that the codebelow should be better ?
>> 
>>  private synchronized EOEditingContext 
>> _editingContextForMyAppParametre() {
>> 
>>  if (_editingContextForMyAppParametre == null)
>>  {
>>  EOObjectStoreCoordinator parentObjectStore = new 
>> EOObjectStoreCoordinator();
>>  _editingContextForMyAppParametre = new 
>> EOEditingContext(parentObjectStore);
>>  }
>> 
>>  return _editingContextForMyAppParametre;
>>  }
>> 
>> or directly ?
>> 
>>  public synchronized String getValeurForParametre(String keyIn)
>>  {
>>  String strOut = (String) 
>> _dictionnaireForParametres.objectForKey(keyIn);
>> 
>>  if (strOut == null)
>>  {
>>  //  log.info("Fetch key '" + keyIn 
>> + "'");
>>  //
>>  try {
>>  EOObjectStoreCoordinator parentObjectStore = 
>> new EOObjectStoreCoordinator();
>>  EOEditingContext 
>> _editingContextForMyAppParametre = new EOEditingContext(parentObjectStore);
>>  _editingContextForMyAppParametre.lock()
>> 
>>  strOut = ((MyAppParametre) 
>> EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre, 
>> MyAppParametre.ENTITY_NAME, keyIn)).value();
>> 
>>  if (strOut == null)
>>  {
>>  
>> _dictionnaireForParametres.setObjectForKey("", keyIn);
>>  }
>>  else
>>  {
>>  
>> _dictionnaireForParametres.setObjectForKey(strOut, keyIn);
>>  }
>> 
>>  _editingContextForMyAppParametre.unlock();
>>  _editingContextForMyAppParametre.dispose();
>>  }
>>  catch (EOObjectNotAvailableException e) {
>>  }
>>  catch (Exception e) {
>>  e.printStackTrace();
>>  }
>>  }
>> 
>>  return strOut;
>>  }
>> 
>> 
>> Jérémy DE ROYER
>> 
>> Le 10 juil. 2013 à 23:00, Chuck Hill a écrit :
>> 
>>> On 2013-07-10, at 12:58 PM, Jérémy DE ROYER wrote:
>>> 
 (I've added the method mymethod() in the thread to find the right Thread 
 in the stack)
 
 Conclusion : I think that to get the email() value of the contact, 

Long running query shows null date bindings

2013-07-10 Thread Ruggentaler, JR
When Wonder detects a long running query it logs the SQL and bindings. If the 
binding is a NSTimestamp the log shows null. See example below.

"EntityName"@4113761 expression took 11022 ms: SELECT t0.COLX, ... FROM TABLE_1 
t0, TABLE_2 T1 WHERE (T1.PROVIDER_ID = ? AND T1.DATE_DELETED is NULL AND 
T1.IS_LATEST = ? AND t0.USER_GROUP_ID = ? AND T1.PATIENT_ID = ? AND 
t0.START_DATE = ?) AND t0.ENCOUNTER_ID = T1.ENCOUNTER_ID withBindings: 
1:###[providerID], 2:###[isLatest], 3:###[userGroupID], 4:[patientID], 
5:NULL[startDate]
java.lang.RuntimeException: Statement running too long

I made a minor change to ERXEOAccessUtilities.createLogString() to log the 
NSTimestamp value. Below is the patch, can someone review and apply the patch 
please?

Index: 
Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXEOAccessUtilities.java
===
--- 
Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXEOAccessUtilities.java
 (revision 3)
+++ 
Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXEOAccessUtilities.java
 (working copy)
@@ -58,6 +58,7 @@
 import com.webobjects.foundation.NSMutableDictionary;
 import com.webobjects.foundation.NSMutableSet;
 import com.webobjects.foundation.NSSet;
+import com.webobjects.foundation.NSTimestamp;
 import com.webobjects.foundation._NSDelegate;
 import com.webobjects.jdbcadaptor.JDBCPlugIn;

@@ -1243,6 +1244,8 @@
 obj = EOSQLExpression.sqlStringForString((String) obj);
 } else if (obj instanceof Number) {
  obj = EOSQLExpression.sqlStringForNumber((Number) obj);
+} else if (obj instanceof NSTimestamp) {
+ obj = obj.toString();
 } else if (obj instanceof NSData) {
 // ak: this is just for logging, however we would
 // like to get readable data

JR

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Kieran Kelleher
April 5/6/7 works for me.

On Jul 10, 2013, at 9:14 AM, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: to-many display ?? in d2w

2013-07-10 Thread Mark Wardle
Apologies - I forgot that I had switched off threading in my Mail app and 
thought your query not answered… 

Mark

On 8 Jul 2013, at 20:10, Theodore Petrosky  wrote:

> So now I understand that ERD2WDisplayList is the wrong choice. I am a little 
> slow.
> 
> So I tried this:
> 
> 150 : pageConfiguration like 'List*Project' => displayPropertyKeys = 
> ("projectDescription", "projectSteps", "timing") 
> [com.webobjects.directtoweb.Assignment]
> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
> 'projectSteps') => componentName = "ERD2WDisplayToManyUnorderedList" 
> [com.webobjects.directtoweb.Assignment]
> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
> 'projectSteps') => keyWhenRelationship = "stepDescription" 
> [com.webobjects.directtoweb.Assignment]
> 
> I can get an unordered list as my to-many but,  this give me only one 
> propertyKey from the relationship.
> 
> so now I am into this one:
> 
> ERD2WDisplayToManyCustom
> 
> I need to pass in the to-many projectSteps and present the appropriate keys.
> 
> I guess I am hoping someone will see where I am stepping on myself.
> 
> Ted
> 
> 
> On Jul 8, 2013, at 1:42 PM, Theodore Petrosky  wrote:
> 
>> so in my d2w app, I have an entity  'project' <=>> projectSteps
>> projectStep has stepDescription, stepStatus, stepDueDate
>> 
>> I want to display the ListProject with:
>> 
>> projectDescription , projectSteps.stepDescription, projectSteps.stepStatus
>> 
>> I want to see:
>> 
>> my project Description  step1 status1
>> step2 status2
>> step3 status3
>> 
>> 
>> of course projectSteps.stepDescription is an array of strings as is 
>> projectSteps.stepStatus
>> 
>> so I thought that I would read the wonder docs and find a component that 
>> should fit. I found:
>> 
>> ERD2WDisplayList
>> 
>> "Used to display a an NSArray of the form "A, B and C", useful for toMany 
>> relationships or propertyKeys that return arrays."
>> 
>> well my propertyKey  "projectSteps.stepDescription" returns an array of 
>> strings. 
>> 
>> but I guess I don't get how to wire this thing in. could someone point me in 
>> the right direction.
>> 
>> Ted
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.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:
> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
> 
> This email sent to m...@wardle.org

-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: to-many display ?? in d2w

2013-07-10 Thread Mark Wardle
Try using ERDList.

The list will be configured from an appropriate pageConfiguration.

Mark

On 8 Jul 2013, at 18:42, Theodore Petrosky  wrote:

> so in my d2w app, I have an entity  'project' <=>> projectSteps
> projectStep has stepDescription, stepStatus, stepDueDate
> 
> I want to display the ListProject with:
> 
> projectDescription , projectSteps.stepDescription, projectSteps.stepStatus
> 
> I want to see:
> 
> my project Description  step1 status1
>  step2 status2
>  step3 status3
> 
> 
> of course projectSteps.stepDescription is an array of strings as is 
> projectSteps.stepStatus
> 
> so I thought that I would read the wonder docs and find a component that 
> should fit. I found:
> 
> ERD2WDisplayList
> 
> "Used to display a an NSArray of the form "A, B and C", useful for toMany 
> relationships or propertyKeys that return arrays."
> 
> well my propertyKey  "projectSteps.stepDescription" returns an array of 
> strings. 
> 
> but I guess I don't get how to wire this thing in. could someone point me in 
> the right direction.
> 
> Ted
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
> 
> This email sent to m...@wardle.org

-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: strange behavior with saveChanges

2013-07-10 Thread Chuck Hill
What would be best is if MyAppCRMAnnuaireContact.email() passed in its own 
editing context (using the editingContext() method) to 
MyAppCRMParametres.getValeurForParametre rather than keeping an editing context 
in the application object.

Chuck


On 2013-07-10, at 2:18 PM, Jérémy DE ROYER wrote:

> 
>   public synchronized String getValeurForParametre(String keyIn)

public synchronized String getValeurForParametre(EOEditingContext ec, 
String keyIn)

>   {
>   String strOut = (String) 
> _dictionnaireForParametres.objectForKey(keyIn);
> 
>   if (strOut == null)
>   {
>   //  log.info("Fetch key '" + keyIn 
> + "'");
>   //
>   try {
>   strOut = ((MyAppParametre) 
> EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre(), 
> MyAppParametre.ENTITY_NAME, keyIn)).value();

strOut = ((MyAppParametre) 
EOUtilities.objectWithPrimaryKeyValue(ec,  MyAppParametre.ENTITY_NAME, 
keyIn)).value();


> 
>   if (strOut == null)
>   {
>   
> _dictionnaireForParametres.setObjectForKey("", keyIn);
>   }
>   else
>   {
>   
> _dictionnaireForParametres.setObjectForKey(strOut, keyIn);
>   }
>   }
>   catch (EOObjectNotAvailableException e) {
>   }
>   catch (Exception e) {
>   e.printStackTrace();
>   }
>   }
> 
>   return strOut;
>   }
> 
>   private synchronized EOEditingContext 
> _editingContextForMyAppParametre() {
> 
>   if (_editingContextForMyAppParametre == null)
>   {
>   _editingContextForMyAppParametre = new 
> EOEditingContext();
>   }
> 
>   return _editingContextForMyAppParametre;
>   }
> 
> but am I right if I say that the codebelow should be better ?
> 
>   private synchronized EOEditingContext 
> _editingContextForMyAppParametre() {
> 
>   if (_editingContextForMyAppParametre == null)
>   {
>   EOObjectStoreCoordinator parentObjectStore = new 
> EOObjectStoreCoordinator();
>   _editingContextForMyAppParametre = new 
> EOEditingContext(parentObjectStore);
>   }
> 
>   return _editingContextForMyAppParametre;
>   }
> 
> or directly ?
> 
>   public synchronized String getValeurForParametre(String keyIn)
>   {
>   String strOut = (String) 
> _dictionnaireForParametres.objectForKey(keyIn);
> 
>   if (strOut == null)
>   {
>   //  log.info("Fetch key '" + keyIn 
> + "'");
>   //
>   try {
>   EOObjectStoreCoordinator parentObjectStore = 
> new EOObjectStoreCoordinator();
>   EOEditingContext 
> _editingContextForMyAppParametre = new EOEditingContext(parentObjectStore);
>   _editingContextForMyAppParametre.lock()
> 
>   strOut = ((MyAppParametre) 
> EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre, 
> MyAppParametre.ENTITY_NAME, keyIn)).value();
> 
>   if (strOut == null)
>   {
>   
> _dictionnaireForParametres.setObjectForKey("", keyIn);
>   }
>   else
>   {
>   
> _dictionnaireForParametres.setObjectForKey(strOut, keyIn);
>   }
> 
>   _editingContextForMyAppParametre.unlock();
>   _editingContextForMyAppParametre.dispose();
>   }
>   catch (EOObjectNotAvailableException e) {
>   }
>   catch (Exception e) {
>   e.printStackTrace();
>   }
>   }
> 
>   return strOut;
>   }
> 
> 
> Jérémy DE ROYER
> 
> Le 10 juil. 2013 à 23:00, Chuck Hill a écrit :
> 
>> On 2013-07-10, at 12:58 PM, Jérémy DE ROYER wrote:
>> 
>>> (I've added the method mymethod() in the thread to find the right Thread in 
>>> the stack)
>>> 
>>> Conclusion : I think that to get the email() value of the contact, my app 
>>> has to fetch a parameter value (using another editing context).
>> 
>> That does not sound like a good thing.  What is this code doing:
> 
> email() depends on the persona

Re: strange behavior with saveChanges

2013-07-10 Thread Jérémy DE ROYER

public synchronized String getValeurForParametre(String keyIn)
{
String strOut = (String) 
_dictionnaireForParametres.objectForKey(keyIn);

if (strOut == null)
{
//  log.info("Fetch key '" + keyIn 
+ "'");
//
try {
strOut = ((MyAppParametre) 
EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre(), 
MyAppParametre.ENTITY_NAME, keyIn)).value();

if (strOut == null)
{

_dictionnaireForParametres.setObjectForKey("", keyIn);
}
else
{

_dictionnaireForParametres.setObjectForKey(strOut, keyIn);
}
}
catch (EOObjectNotAvailableException e) {
}
catch (Exception e) {
e.printStackTrace();
}
}

return strOut;
}

private synchronized EOEditingContext 
_editingContextForMyAppParametre() {

if (_editingContextForMyAppParametre == null)
{
_editingContextForMyAppParametre = new 
EOEditingContext();
}

return _editingContextForMyAppParametre;
}

but am I right if I say that the codebelow should be better ?

private synchronized EOEditingContext 
_editingContextForMyAppParametre() {

if (_editingContextForMyAppParametre == null)
{
EOObjectStoreCoordinator parentObjectStore = new 
EOObjectStoreCoordinator();
_editingContextForMyAppParametre = new 
EOEditingContext(parentObjectStore);
}

return _editingContextForMyAppParametre;
}

or directly ?

public synchronized String getValeurForParametre(String keyIn)
{
String strOut = (String) 
_dictionnaireForParametres.objectForKey(keyIn);

if (strOut == null)
{
//  log.info("Fetch key '" + keyIn 
+ "'");
//
try {
EOObjectStoreCoordinator parentObjectStore = 
new EOObjectStoreCoordinator();
EOEditingContext 
_editingContextForMyAppParametre = new EOEditingContext(parentObjectStore);
_editingContextForMyAppParametre.lock()

strOut = ((MyAppParametre) 
EOUtilities.objectWithPrimaryKeyValue(_editingContextForMyAppParametre, 
MyAppParametre.ENTITY_NAME, keyIn)).value();

if (strOut == null)
{

_dictionnaireForParametres.setObjectForKey("", keyIn);
}
else
{

_dictionnaireForParametres.setObjectForKey(strOut, keyIn);
}

_editingContextForMyAppParametre.unlock();
_editingContextForMyAppParametre.dispose();
}
catch (EOObjectNotAvailableException e) {
}
catch (Exception e) {
e.printStackTrace();
}
}

return strOut;
}


Jérémy DE ROYER

Le 10 juil. 2013 à 23:00, Chuck Hill a écrit :

> On 2013-07-10, at 12:58 PM, Jérémy DE ROYER wrote:
> 
>> (I've added the method mymethod() in the thread to find the right Thread in 
>> the stack)
>> 
>> Conclusion : I think that to get the email() value of the contact, my app 
>> has to fetch a parameter value (using another editing context).
> 
> That does not sound like a good thing.  What is this code doing:

email() depends on the personal or professional email depending on a parameter

> 
>> - com.myapp.myApp.MyAppApplication.getValeurForParametre(java.lang.String) 
>> @bci=0, line=1915 (Interpreted frame)
>> - 
>> com.myapp.myAppCRM.core.MyAppCRMParametres.getValeurForParametre(java.lang.String)
>>  @bci=7, line=122 (Interpreted frame)
>> - com.myapp.myAppCRM.informations.MyAppCRMAnnuaireContact.email() @bci=8, 
>> line=1556 (Interpreted frame)
> 
> 
> 
> Where is it getting the EC from?

a singleton method in myapp

> 
> 
> 
> 
>> 
>> Question, I replace 
>> 
>>  EOEditingContext _localContext = new 
>> EOEditingContext();
>>

Re: strange behavior with saveChanges

2013-07-10 Thread Chuck Hill
On 2013-07-10, at 12:58 PM, Jérémy DE ROYER wrote:

> (I've added the method mymethod() in the thread to find the right Thread in 
> the stack)
> 
> Conclusion : I think that to get the email() value of the contact, my app has 
> to fetch a parameter value (using another editing context).

That does not sound like a good thing.  What is this code doing:

> - com.myapp.myApp.MyAppApplication.getValeurForParametre(java.lang.String) 
> @bci=0, line=1915 (Interpreted frame)
> - 
> com.myapp.myAppCRM.core.MyAppCRMParametres.getValeurForParametre(java.lang.String)
>  @bci=7, line=122 (Interpreted frame)
> - com.myapp.myAppCRM.informations.MyAppCRMAnnuaireContact.email() @bci=8, 
> line=1556 (Interpreted frame)



Where is it getting the EC from?




> 
> Question, I replace 
> 
>   EOEditingContext _localContext = new 
> EOEditingContext();
>   _localContext.setUndoManager(null);
>   _localContext.lock();
> 
> with 
> 
>   EOObjectStoreCoordinator parentObjectStore = 
> new EOObjectStoreCoordinator();
>   EOEditingContext _localContext = new 
> EOEditingContext(parentObjectStore);
>   _localContext.setUndoManager(null);
>   _localContext.lock();
> 
> And it works ! Is it normal ?

That sounds like it is working around a defect in your code.


Chuck


> 
> Jérémy
> 
> JVM version is 20.51-b01-457
> Deadlock Detection:
> 
> java.lang.RuntimeException: Unable to deduce type of thread from address 
> 0x7f87be87d800 (expected type JavaThread, CompilerThread, 
> LowMemoryDetectorThread, JvmtiAgentThread, or SurrogateLockerThread)
>   at 
> sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:155)
>   at sun.jvm.hotspot.runtime.JavaThread.next(JavaThread.java:118)
>   at 
> sun.jvm.hotspot.runtime.DeadlockDetector.createThreadTable(DeadlockDetector.java:149)
>   at 
> sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:56)
>   at 
> sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:39)
>   at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:52)
>   at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
>   at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
>   at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
>   at sun.jvm.hotspot.tools.JStack.main(JStack.java:88)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
>   at sun.tools.jstack.JStack.main(JStack.java:84)
> Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for 
> type of address 0x7f87be87d800
>   at 
> sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(VirtualConstructor.java:95)
>   at 
> sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:151)
>   ... 15 more
> Can't print deadlocks:Unable to deduce type of thread from address 
> 0x7f87be87d800 (expected type JavaThread, CompilerThread, 
> LowMemoryDetectorThread, JvmtiAgentThread, or SurrogateLockerThread)
> 
> Thread t@47363: (state = BLOCKED)
> - com.myapp.myApp.MyAppApplication.getValeurForParametre(java.lang.String) 
> @bci=0, line=1915 (Interpreted frame)
> - 
> com.myapp.myAppCRM.core.MyAppCRMParametres.getValeurForParametre(java.lang.String)
>  @bci=7, line=122 (Interpreted frame)
> - com.myapp.myAppCRM.informations.MyAppCRMAnnuaireContact.email() @bci=8, 
> line=1556 (Interpreted frame)
> - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, 
> java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame)
> - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, 
> java.lang.Object[]) @bci=87, line=39 (Interpreted frame)
> - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, 
> java.lang.Object[]) @bci=6, line=25 (Compiled frame)
> - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) 
> @bci=161, line=597 (Compiled frame)
> - 
> com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(java.lang.Object,
>  java.lang.reflect.Method) @bci=6, line=636 (Compiled frame)
> - 
> com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(java.lang.Object)
>  @bci=9, line=1134 (Compiled frame)
> - com.webobjects.eocontrol.EOCustomObject.valueForKey(java.lang.String) 
> @bci=14, line=1498 (Interpreted frame)
> - 
> com.myapp.myApp.editing.EOGenericStateTransitionRecord.valueForKey(java.lang.String)
>  @bci=80, line=109 (Interpreted frame)
> - com.webobjects.eocontrol.EOCustomObject.validateForSave() @bci=120, 
> li

Re: strange behavior with saveChanges

2013-07-10 Thread Jérémy DE ROYER
(I've added the method mymethod() in the thread to find the right Thread in the 
stack)

Conclusion : I think that to get the email() value of the contact, my app has 
to fetch a parameter value (using another editing context).

Question, I replace 

EOEditingContext _localContext = new 
EOEditingContext();
_localContext.setUndoManager(null);
_localContext.lock();

with 

EOObjectStoreCoordinator parentObjectStore = 
new EOObjectStoreCoordinator();
EOEditingContext _localContext = new 
EOEditingContext(parentObjectStore);
_localContext.setUndoManager(null);
_localContext.lock();

And it works ! Is it normal ?

Jérémy

JVM version is 20.51-b01-457
Deadlock Detection:

java.lang.RuntimeException: Unable to deduce type of thread from address 
0x7f87be87d800 (expected type JavaThread, CompilerThread, 
LowMemoryDetectorThread, JvmtiAgentThread, or SurrogateLockerThread)
at 
sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:155)
at sun.jvm.hotspot.runtime.JavaThread.next(JavaThread.java:118)
at 
sun.jvm.hotspot.runtime.DeadlockDetector.createThreadTable(DeadlockDetector.java:149)
at 
sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:56)
at 
sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:39)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:52)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:60)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.tools.jstack.JStack.runJStackTool(JStack.java:118)
at sun.tools.jstack.JStack.main(JStack.java:84)
Caused by: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type 
of address 0x7f87be87d800
at 
sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(VirtualConstructor.java:95)
at 
sun.jvm.hotspot.runtime.Threads.createJavaThreadWrapper(Threads.java:151)
... 15 more
Can't print deadlocks:Unable to deduce type of thread from address 
0x7f87be87d800 (expected type JavaThread, CompilerThread, 
LowMemoryDetectorThread, JvmtiAgentThread, or SurrogateLockerThread)

Thread t@47363: (state = BLOCKED)
 - com.myapp.myApp.MyAppApplication.getValeurForParametre(java.lang.String) 
@bci=0, line=1915 (Interpreted frame)
 - 
com.myapp.myAppCRM.core.MyAppCRMParametres.getValeurForParametre(java.lang.String)
 @bci=7, line=122 (Interpreted frame)
 - com.myapp.myAppCRM.informations.MyAppCRMAnnuaireContact.email() @bci=8, 
line=1556 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, 
java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, 
java.lang.Object[]) @bci=87, line=39 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, 
java.lang.Object[]) @bci=6, line=25 (Compiled frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) 
@bci=161, line=597 (Compiled frame)
 - 
com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(java.lang.Object,
 java.lang.reflect.Method) @bci=6, line=636 (Compiled frame)
 - 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(java.lang.Object)
 @bci=9, line=1134 (Compiled frame)
 - com.webobjects.eocontrol.EOCustomObject.valueForKey(java.lang.String) 
@bci=14, line=1498 (Interpreted frame)
 - 
com.myapp.myApp.editing.EOGenericStateTransitionRecord.valueForKey(java.lang.String)
 @bci=80, line=109 (Interpreted frame)
 - com.webobjects.eocontrol.EOCustomObject.validateForSave() @bci=120, 
line=1377 (Interpreted frame)
 - com.webobjects.eocontrol.EOCustomObject.validateForUpdate() @bci=1, 
line=1446 (Interpreted frame)
 - 
com.webobjects.eocontrol.EOEditingContext.validateTable(com.webobjects.foundation.NSSet,
 int, com.webobjects.foundation.NSMutableArray[], boolean) @bci=72, line=2271 
(Interpreted frame)
 - com.webobjects.eocontrol.EOEditingContext.validateChangesForSave() @bci=175, 
line=3020 (Interpreted frame)
 - com.webobjects.eocontrol.EOEditingContext._prepareForPushChanges() @bci=141, 
line=3249 (Interpreted frame)
 - com.webobjects.eocontrol.EOEditingContext.saveChanges() @bci=38, line=3179 
(Interpreted frame)
 - com.myapp.myAppMatching.components.pages.MyAppMatchingPageParametr

Re: Corrupted build.properties of a "JAR Project" probably causes eclipse NPException

2013-07-10 Thread Chuck Hill

On 2013-07-09, at 10:15 AM, Filippo Laurìa wrote:

> I noticed that simple entering into
> 
> Properties Tab -> WOLips Development
> 
> of an Eclipse Wonder Framework, relative build.properties file into
> home dir of the project is changed (maybe those frameworks where
> created with a different version?!)

What gets changed?


> Now, when repeating same procedure for an Eclipse "JAR Project" a
> NullPointerException is thrown, maybe (this is a guess) because
> build.properties is incomplete and WOLips, not finding some needed
> properties, throws the exception.
> 
> If I try to create a new brand "JAR Project" I encounter the same
> error (NPE), too.
> 
> Probably it is a common problem. If yes.. Amen! :D

Looks like that project type is broken in Eclipse.  


> I want to verify if it's only a problem of mine. I would like to
> replace my JAR Project builder.properties file with another "good one"
> and then verify if NPE is still thrown.
> 
> Is someone here that can post content of a correct build.properties of
> an example "JAR Project". I tried looking for it on google but I've
> been not lucky.
> 
> Thank you everybody.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: strange behavior with saveChanges

2013-07-10 Thread Chuck Hill
The  best thing to do is to cause a deadlock and then get a thread dump with

sudo jstack -F 

That should make it much faster to track down.


Chuck


On 2013-07-10, at 12:23 PM, Jérémy DE ROYER wrote:

> Hi all,
> 
> Following a case that hang my application which blocks all transactions until 
> we restart. I just managed to reproduce the case study below that hangs my 
> application too.
> 
> Case : I have to update objects outside the user request/response loop.
> 
> Code A
> ===
> 
> I use an action inside a component (live process) : everything works great.
> 
> public WOComponent myAction() {
> 
> EOEditingContext _localContext = new EOEditingContext();
> _localContext.setUndoManager(null);
> _localContext.lock();
> 
> EOCompany currentCompany;
> 
> NSArray _localCompanies = 
> EOCompany.fetchEOCompanies(_localContext, 
> new EOKeyValueQualifier(EOCompany.CONTACT_KEY, 
> EOQualifier.QualifierOperatorEqual, null), 
> new NSArray(new EOSortOrdering(EOCompany.TITLE_KEY, 
> EOSortOrdering.CompareAscending)));
> 
> for (int i=0 ; i<_localObjects.count() ; i++)
> {
> currentCompany = _localCompanies.objectAtIndex(i);
> 
> if (currentCompany.headquarter() != null)
> {
> currentCompany.setContactRelationship(currentCompany.headquarter().contact());
> }
> 
> try {
> log.info("start saveChanges"); 
> _localContext.saveChanges();
> log.info("end saveChanges"); 
> }
> catch (Exception e) {
> 
> e.printStackTrace();
> 
> _localContext.revert();
> }
> }
> }
> 
> }
> catch (Exception e) {
> 
> e.printStackTrace();
> }
> finally {
> 
> _localContext.unlock();
> _localContext.dispose();
> }
> }
> 
> (SQL log below)
> 
> 2013-07-10 20:53:03,462 INFO [IndeXysMatchingPageParametres] -  saveChanges>
> [...]
> [2013-7-10 20:53:3 CEST]  0 row(s) processed
> [2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
> [2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
> [2013-7-10 20:53:3 CEST]   evaluateExpression: 
>  t0."ADRESSE", t0."ADRESSE_2", t0."CODE_ACTION", t0."CODE_POSTAL", 
> t0."DATE_CLOTURE", t0."DATE_CREATION", t0."DATE_DEBUT", 
> t0."DATE_DERNIERE_MODIFICATION", t0."DATE_DERNIERE_MODIFICATION_ACTEUR", 
> t0."DATE_FIN", t0."DATE_FIN_REPETITION", t0."DUREE_CONSTATEE", 
> t0."EST_INTERNE", t0."EST_PRIVE", t0."EST_TERMINE", t0."ID", t0."ID_ACTEUR", 
> t0."ID_ACTEUR_CLOTURE", t0."ID_AUTEUR", t0."ID_AUTEUR_DERNIERE_MODIFICATION", 
> t0."ID_CAMPAGNE", t0."ID_COMPTE_RENDU_CLOTURE", t0."ID_CONTACT", 
> t0."ID_ENTREE_ORGANISATEUR", t0."ID_ENTREE_ORIGINALE_REPETITION", 
> t0."ID_ENTREPRISE", t0."ID_EVENEMENT", t0."ID_RESSOURCE", t0."IS_VALID", 
> t0."PRIORITE", t0."REFERENCE", t0."STATUT", t0."TITRE", t0."TYPE_ACTIVITE", 
> t0."VILLE" FROM "INDEXYS_GESTION_ACTIVITE_ABSTRACT_ACTION" t0 WHERE 
> t0."ID_CONTACT" = 134" withBindings: >
> [2013-7-10 20:53:3 CEST]  0 row(s) processed
> [2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
> [2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
> [2013-7-10 20:53:3 CEST]   evaluateExpression: 
>  t0."CODE_NOTE_DE_FRAIS", t0."DATE_CREATION", t0."DATE_DECISION", 
> t0."DATE_DERNIERE_MODIFICATION", t0."DATE_NOTE_DE_FRAIS", t0."EST_SOLDEE", 
> t0."ID", t0."ID_ACTEUR", t0."ID_ACTEUR_SOLDE", t0."ID_ACTION", 
> t0."ID_AFFAIRE", t0."ID_AUTEUR", t0."ID_AUTEUR_DECISION", 
> t0."ID_AUTEUR_DERNIERE_MODIFICATION", t0."ID_CAMPAGNE", 
> t0."ID_CLASSE_NOTE_DE_FRAIS", t0."ID_COMMANDE", t0."ID_CONTACT", 
> t0."ID_DEVIS", t0."ID_ENTREPRISE", t0."ID_EVENEMENT", t0."ID_FACTURE", 
> t0."ID_FORFAIT_NOTE_DE_FRAIS", t0."ID_OPPORTUNITE", t0."ID_ORGANISATION", 
> t0."ID_PARTITION", t0."ID_PROJET", t0."ID_TYPE", t0."IS_VALID", 
> t0."MONTANT_HT", t0."MONTANT_TTC", t0."NOMBRE_KILOMETRE", 
> t0."NOMBRE_PERSONNE", t0."REFERENCE", t0."STATUT", t0."TITRE", 
> t0."TYPE_DECISION" FROM "INDEXYS_CRM_GESTION_ACTIVITE_NOTE_DE_FRAIS" t0 WHERE 
> t0."ID_ENTREPRISE" = 134" withBindings: >
> [2013-7-10 20:53:3 CEST]  0 row(s) processed
> [2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
> [2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
> [2013-7-10 20:53:3 CEST]   evaluateExpression: 
>  t0."EST_INACTIVE", t0."ID", t0."ID_ABONNE", t0."ID_ADRESSE_EMAIL", 
> t0."ID_CAMPAGNE", t0."ID_CONTACT", t0."ID_DERNIER_ENVOI", 
> t0."ID_DERNIER_ENVOI_ACCESSED", 
> t0."ID_DERNIER_ENVOI_ACCESSED_SINCE_LAST_RESET", 
> t0."ID_DERNIER_ENVOI_DOWNLOADED", 
> t0."ID_DERNIER_ENVOI_DOWNLOADED_SINCE_LAST_RESET", 
> t0."ID_DERNIER_ENVOI_READ", t0."ID_DERNIER_ENVOI_READ_SINCE_LAST_RESET", 
> t0."ID_DERNIER_ENVOI_SINCE_LAST_RESET", t0."ID_DERNIER_ENVOI_UNSUBSCRIBE", 
> t0."ID_DERNIER_ENVOI_UNSUBSCRIBE_SINCE_LAST_RESET", t0."ID_DERNIER_ERREUR", 
> t0."ID_DERNIER_ERREUR_SINCE_LAST_RESET", t0."ID_ENTREPRISE", 
> t0."ID_UTILISATEUR", t0."LAST_ACCESSED", t0."LAST_DOWNLOADED", 
> t0."LAST_READ", t0."LAST_UNSUBSCRIBE", t0."NOMBRE_CONSULTATION", 
> t0."NOMBRE_CONSULTATION_SINCE_LAST_RESET", t0."NOMBRE_LIEN_INTERNET", 
> t0."NOMBRE_LIEN_INTERNET_SINCE_LAST_RESET" FROM 
> "INDEXYS_EMAILING_PARTICIPATION" t0 WHE

strange behavior with saveChanges

2013-07-10 Thread Jérémy DE ROYER
Hi all,

Following a case that hang my application which blocks all transactions until 
we restart. I just managed to reproduce the case study below that hangs my 
application too.

Case : I have to update objects outside the user request/response loop.

Code A
===

I use an action inside a component (live process) : everything works great.

public WOComponent myAction() {

EOEditingContext _localContext = new EOEditingContext();
_localContext.setUndoManager(null);
_localContext.lock();

EOCompany currentCompany;

NSArray _localCompanies = 
EOCompany.fetchEOCompanies(_localContext,
new EOKeyValueQualifier(EOCompany.CONTACT_KEY, 
EOQualifier.QualifierOperatorEqual, null),
new NSArray(new EOSortOrdering(EOCompany.TITLE_KEY, 
EOSortOrdering.CompareAscending)));

for (int i=0 ; i<_localObjects.count() ; i++)
{
currentCompany = _localCompanies.objectAtIndex(i);

if (currentCompany.headquarter() != null)
{
currentCompany.setContactRelationship(currentCompany.headquarter().contact());
}

try {
log.info("start saveChanges");
_localContext.saveChanges();
log.info("end saveChanges");
}
catch (Exception e) {

e.printStackTrace();

_localContext.revert();
}
}
}

}
catch (Exception e) {

e.printStackTrace();
}
finally {

_localContext.unlock();
_localContext.dispose();
}
}

(SQL log below)

2013-07-10 20:53:03,462 INFO [IndeXysMatchingPageParametres] - 
[...]
[2013-7-10 20:53:3 CEST]  0 row(s) processed
[2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:53:3 CEST]   evaluateExpression: 

[2013-7-10 20:53:3 CEST]  0 row(s) processed
[2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:53:3 CEST]   evaluateExpression: 

[2013-7-10 20:53:3 CEST]  0 row(s) processed
[2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:53:3 CEST]   evaluateExpression: 

[2013-7-10 20:53:3 CEST]  0 row(s) processed
[2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:53:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:53:3 CEST]   evaluateExpression: 

[2013-7-10 20:53:3 CEST]   === Commit Internal Transaction
2013-07-10 20:53:03,462 INFO [IndeXysMatchingPageParametres] - 


Code B
===

I use the same action but include my process inside a thread (used to display a 
AjaxProgessBar), the process never save the changes and my application hangs… 
and the SQL log show it never updates

public WOComponent myAction() {

Thread _localThread = new Thread(new Runnable()
{
public void run() {

EOEditingContext _localContext = new EOEditingContext();
_localContext.setUndoManager(null);
_localContext.lock();

EOCompany currentCompany;

NSArray _localCompanies = 
EOCompany.fetchEOObjects(_localContext,
new EOKeyValueQualifier(EOCompany.CONTACT_KEY, 
EOQualifier.QualifierOperatorEqual, null),
new NSArray(new EOSortOrdering(EOCompany.TITLE_KEY, 
EOSortOrdering.CompareAscending)));

for (int i=0 ; i<_localObjects.count() ; i++)
{
currentCompany = _localCompanies.objectAtIndex(i);

currentCompany.setContactRelationship(_localCompanies.headquarter().contact());

try {
log.info("start saveChanges");
_localContext.saveChanges();
log.info("end saveChanges");
}
catch (Exception e) {

e.printStackTrace();

_localContext.revert();
}
}
}

}
catch (Exception e) {

e.printStackTrace();
}
finally {

_localContext.unlock();
_localContext.dispose();
}
}
});

_localThread.start();

return null;
}

2013-07-10 20:53:03,462 INFO [IndeXysMatchingPageParametres] - 
[...]
[2013-7-10 20:58:3 CEST]  0 row(s) processed
[2013-7-10 20:58:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:58:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:58:3 CEST]   evaluateExpression: 

[2013-7-10 20:58:3 CEST]  1 row(s) processed
[2013-7-10 20:58:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:58:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:58:3 CEST]   evaluateExpression: 

[2013-7-10 20:58:3 CEST]  0 row(s) processed
[2013-7-10 20:58:3 CEST]   === Commit Internal Transaction
[2013-7-10 20:58:3 CEST]   === Begin Internal Transaction
[2013-7-10 20:58:3 CEST]   evaluateExpression: 

[2013-7-10 20:58:3 CEST]  0 row(s) processed
[2013-7-10 20:58:3 CEST]   === Commit Internal Transaction

Code C
===

I include a loop that prints each objects that will be updated : works quite 
great (some few times, my app hangs).

public WOComponent myAction() {

Thread _localThread = new Thread(new Runnable()
{
public void run() {

EOEditingContext _localContext = new EOEditingContext();
_localContext.setUndoManager(null);
_localContext.lock();

EOCompany currentCompany;

NSArray _localCompanies = 
EOCompany.fetchEOObjects(_localContext,
new EOKeyValueQualifier(EOCompany.CONTACT_KEY, 
EOQualifier.QualifierOperatorEqual, null),
new NSArray(new EOSortOrdering(EOCompany.TITLE_KEY, 
EOSortOrdering.CompareAscending)));

for (int i=0 

Re: WOWODC 2014

2013-07-10 Thread Raymond NANEON
+++ for April.
Cabane à sucre. Pas mal

Envoyé de mon iPad

Le 10 juil. 2013 à 20:13, prob...@macti.ca a écrit :

> http://cabaneasucreaupieddecochon.com/index_e.html
> http://www.gallant.qc.ca/monteregie-getaway/inn-282-restaurant-maple-discovery-menu.cfm
> http://www.sucreriedelamontagne.com/eng/index.php
> 
>> I know you.  You just want the Maple syrup!
>> On 2013-07-10, at 10:37 AM, David Holt wrote:
>>> Any of those dates should work for me. I think I prefer April too.
>>> David
>>> On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:
 Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, 
 etc. But we were only 60 guys, 15 less than in 2012 and 2011... I known 
 that some regulars couldn't make it because of the chosen dates so looks 
 like we should return to the first week-end of July or late August like we 
 did in the past.
 We are also looking at doing in April since it might be cheaper for 
 flights and the sleeping rooms (no worry, weather is not that bad in 
 April). So tentative dates are:
 - April 5/6/7 (Easter is two weeks after, so it's not a problem)
 - June 28/29/30
 - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools 
 in Quebec usually starts on August 25 or 26, so I can't do it on August 25)
 Before we make a decision, I would like to known if those dates are a 
 problem for many of you, like spring break or if it's a period where a lot 
 of people in your country goes on vacation.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 This email sent to programming...@mac.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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> This email sent to ch...@global-village.net
>> -- 
>> Chuck Hill Executive Managing Partner, VP Development and 
>> Technical Services
>> 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/gvc/practical_webobjects
>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>> Growing Companies in B.C! Global Village Consulting ranks 44th in 25th 
>> annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT 
>> Magazine!
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
> 
> This email sent to rnan...@me.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread probert

On Wed, 10 Jul 2013 11:16:48 -0700
 Chuck Hill  wrote:

You know which one I would favour!


Yeah, but that one, you have to reserve at midnight and 90 minutes 
after, it's full for the season! It's almost like WWDC tickets!





On 2013-07-10, at 11:13 AM,  wrote:


http://cabaneasucreaupieddecochon.com/index_e.html
http://www.gallant.qc.ca/monteregie-getaway/inn-282-restaurant-maple-discovery-menu.cfm
http://www.sucreriedelamontagne.com/eng/index.php


I know you.  You just want the Maple syrup!
On 2013-07-10, at 10:37 AM, David Holt wrote:

Any of those dates should work for me. I think I prefer April too.
David
On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:
Ok guys. So WOWODC 2013 went quite well, no major problems, good 
Wifi, etc. But we were only 60 guys, 15 less than in 2012 and 2011... 
I known that some regulars couldn't make it because of the chosen 
dates so looks like we should return to the first week-end of July or 
late August like we did in the past.
We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:

- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)
Before we make a decision, I would like to known if those dates are 
a problem for many of you, like spring break or if it's a period 
where a lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
This email sent to programming...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to ch...@global-village.net

--
Chuck Hill Executive Managing Partner, VP Development 
and Technical Services
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/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 
Fastest Growing Companies in B.C! Global Village Consulting ranks 
44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing 
Companies by PROFIT Magazine!


--
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services


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/gvc/practical_webobjects


Global Village Consulting ranks 13th in 2012 in BIV's Top 100 
Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 
ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!















___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Chuck Hill
You know which one I would favour!


On 2013-07-10, at 11:13 AM,  wrote:

> http://cabaneasucreaupieddecochon.com/index_e.html
> http://www.gallant.qc.ca/monteregie-getaway/inn-282-restaurant-maple-discovery-menu.cfm
> http://www.sucreriedelamontagne.com/eng/index.php
> 
>> I know you.  You just want the Maple syrup!
>> On 2013-07-10, at 10:37 AM, David Holt wrote:
>>> Any of those dates should work for me. I think I prefer April too.
>>> David
>>> On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:
 Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, 
 etc. But we were only 60 guys, 15 less than in 2012 and 2011... I known 
 that some regulars couldn't make it because of the chosen dates so looks 
 like we should return to the first week-end of July or late August like we 
 did in the past.
 We are also looking at doing in April since it might be cheaper for 
 flights and the sleeping rooms (no worry, weather is not that bad in 
 April). So tentative dates are:
 - April 5/6/7 (Easter is two weeks after, so it's not a problem)
 - June 28/29/30
 - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools 
 in Quebec usually starts on August 25 or 26, so I can't do it on August 25)
 Before we make a decision, I would like to known if those dates are a 
 problem for many of you, like spring break or if it's a period where a lot 
 of people in your country goes on vacation.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 This email sent to programming...@mac.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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> This email sent to ch...@global-village.net
>> -- 
>> Chuck Hill Executive Managing Partner, VP Development and 
>> Technical Services
>> 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/gvc/practical_webobjects
>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>> Growing Companies in B.C! Global Village Consulting ranks 44th in 25th 
>> annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT 
>> Magazine!

-- 
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread probert

http://cabaneasucreaupieddecochon.com/index_e.html
http://www.gallant.qc.ca/monteregie-getaway/inn-282-restaurant-maple-discovery-menu.cfm
http://www.sucreriedelamontagne.com/eng/index.php


I know you.  You just want the Maple syrup!


On 2013-07-10, at 10:37 AM, David Holt wrote:


Any of those dates should work for me. I think I prefer April too.

David

On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:

Ok guys. So WOWODC 2013 went quite well, no major problems, good 
Wifi, etc. But we were only 60 guys, 15 less than in 2012 and 2011... 
I known that some regulars couldn't make it because of the chosen 
dates so looks like we should return to the first week-end of July or 
late August like we did in the past.


We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:


- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)


Before we make a decision, I would like to known if those dates are 
a problem for many of you, like spring break or if it's a period 
where a lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com

This email sent to programming...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net


--
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services


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/gvc/practical_webobjects


Global Village Consulting ranks 13th in 2012 in BIV's Top 100 
Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 
ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!














___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Chuck Hill
I know you.  You just want the Maple syrup!


On 2013-07-10, at 10:37 AM, David Holt wrote:

> Any of those dates should work for me. I think I prefer April too.
> 
> David
> 
> On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:
> 
>> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
>> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
>> regulars couldn't make it because of the chosen dates so looks like we 
>> should return to the first week-end of July or late August like we did in 
>> the past.
>> 
>> We are also looking at doing in April since it might be cheaper for flights 
>> and the sleeping rooms (no worry, weather is not that bad in April). So 
>> tentative dates are:
>> 
>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>> - June 28/29/30
>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
>> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>> 
>> Before we make a decision, I would like to known if those dates are a 
>> problem for many of you, like spring break or if it's a period where a lot 
>> of people in your country goes on vacation.
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>> 
>> This email sent to programming...@mac.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:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread David Holt
Any of those dates should work for me. I think I prefer April too.

David

On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to programming...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Max Allowed Sessions

2013-07-10 Thread Chuck Hill
You could use WOSesssionStore.serverSessionStore to get an instance of the 
private WOServerSessionStore class and call numbersOfSessionsInStore() to 
determine how many sessions there are currently in an instance.  Then throw? in 
WOApplication.createSessionForRequest if there was too many.   You might want 
to try and doing it earlier in the RR loop for a better user experience.

There are several things that you _could_ do, depending on your exact goals and 
situation.


Chuck

On 2013-07-10, at 10:00 AM, Ramsey Gurley wrote:

> How will you define maximum allowed? Per instance? Per host? Per app? Maximum 
> concurrent? Maximum live sessions? AFAIK, there's no single setting that 
> would let you limit sessions, but you should be able to do it in code if 
> needed.
> 
> 
> On Jul 10, 2013, at 3:48 AM, Thomas Grass (01SoftwareSolutions) wrote:
> 
>> Hello Community,
>> is there an easy way to handle maximum allowed sessions in a 
>> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise 
>> an exceptions page will displayed)?
>> 
>> Thomas 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>> 
>> This email sent to rgur...@smarthealth.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:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Theodore Petrosky
first, are we really talking about  wowodc14 already?
and b, I have a hard time deciding on lunch.
and finally 3. any of the dates look good.

Ted

On Jul 10, 2013, at 9:14 AM, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Max Allowed Sessions

2013-07-10 Thread Ramsey Gurley
How will you define maximum allowed? Per instance? Per host? Per app? Maximum 
concurrent? Maximum live sessions? AFAIK, there's no single setting that would 
let you limit sessions, but you should be able to do it in code if needed.


On Jul 10, 2013, at 3:48 AM, Thomas Grass (01SoftwareSolutions) wrote:

> Hello Community,
> is there an easy way to handle maximum allowed sessions in a 
> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise 
> an exceptions page will displayed)?
> 
> Thomas 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to rgur...@smarthealth.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread probert
April 12/13/14 is also a possibility. The dates in April that I cannot 
do at all is the Easter week-end. The rooms at the Hilton should be 
$30 cheaper per night in April than June/July/August.




Nothing against April in general, although that particular time 
frame would force me to miss two concerts I'm looking forward to (one 
to attend to and one that I'm supposed to participate in). So I would 
prefer any of the other weeks in April, but that's probably only me.



Am 10.07.2013 um 17:46 schrieb George Domurot 
:



++April

On Jul 10, 2013, at 8:36 AM, Helmut Tschemernjak  
wrote:




+1 April

On 10.07.13 15:14, prob...@macti.ca wrote:
Ok guys. So WOWODC 2013 went quite well, no major problems, good 
Wifi, etc. But we were only 60 guys, 15 less than in 2012 and 2011... 
I known that some regulars couldn't make it because of the chosen 
dates so looks like we should return to the first week-end of July or 
late August like we did in the past.


We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:


- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)


Before we make a decision, I would like to known if those dates are 
a problem for many of you, like spring break or if it's a period 
where a lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/helmut%40helios.de

This email sent to hel...@helios.de




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net

This email sent to masterm...@knuckleheads.net



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag

This email sent to m...@selbstdenker.ag



___
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:
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

This email sent to prob...@macti.ca


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Musall Maik

Nothing against April in general, although that particular time frame would 
force me to miss two concerts I'm looking forward to (one to attend to and one 
that I'm supposed to participate in). So I would prefer any of the other weeks 
in April, but that's probably only me.


Am 10.07.2013 um 17:46 schrieb George Domurot :

> ++April
> 
> On Jul 10, 2013, at 8:36 AM, Helmut Tschemernjak  wrote:
> 
>> 
>> +1 April
>> 
>> On 10.07.13 15:14, prob...@macti.ca wrote:
>>> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
>>> But we were only 60 guys, 15 less than in 2012 and 2011... I known that 
>>> some regulars couldn't make it because of the chosen dates so looks like we 
>>> should return to the first week-end of July or late August like we did in 
>>> the past.
>>> 
>>> We are also looking at doing in April since it might be cheaper for flights 
>>> and the sleeping rooms (no worry, weather is not that bad in April). So 
>>> tentative dates are:
>>> 
>>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>>> - June 28/29/30
>>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
>>> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>>> 
>>> Before we make a decision, I would like to known if those dates are a 
>>> problem for many of you, like spring break or if it's a period where a lot 
>>> of people in your country goes on vacation.
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/helmut%40helios.de
>>> 
>>> This email sent to hel...@helios.de
>>> 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net
>> 
>> This email sent to masterm...@knuckleheads.net
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag
> 
> This email sent to m...@selbstdenker.ag


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Chuck Hill
I can make any of them


On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill 
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread George Domurot
++April

On Jul 10, 2013, at 8:36 AM, Helmut Tschemernjak  wrote:

> 
> +1 April
> 
> On 10.07.13 15:14, prob...@macti.ca wrote:
>> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
>> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
>> regulars couldn't make it because of the chosen dates so looks like we 
>> should return to the first week-end of July or late August like we did in 
>> the past.
>> 
>> We are also looking at doing in April since it might be cheaper for flights 
>> and the sleeping rooms (no worry, weather is not that bad in April). So 
>> tentative dates are:
>> 
>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>> - June 28/29/30
>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
>> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>> 
>> Before we make a decision, I would like to known if those dates are a 
>> problem for many of you, like spring break or if it's a period where a lot 
>> of people in your country goes on vacation.
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/helmut%40helios.de
>> 
>> This email sent to hel...@helios.de
>> 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net
> 
> This email sent to masterm...@knuckleheads.net


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Helmut Tschemernjak


 +1 April

On 10.07.13 15:14, prob...@macti.ca wrote:
Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, 
etc. But we were only 60 guys, 15 less than in 2012 and 2011... I 
known that some regulars couldn't make it because of the chosen dates 
so looks like we should return to the first week-end of July or late 
August like we did in the past.


We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:


- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)


Before we make a decision, I would like to known if those dates are a 
problem for many of you, like spring break or if it's a period where a 
lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/helmut%40helios.de

This email sent to hel...@helios.de




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Markus Ruggiero
no particular preference, probably all dates will collide one way or other with 
my teaching. So to be able to come I need to organise something with school 
anyway. I prefer the one with the nicest weather and the lowest prices :-)

---markus---


On 10.07.2013, at 15:14, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
> 
> This email sent to mailingli...@kataputt.com



Markus Ruggiero
mailingli...@kataputt.com
Check out the new book about Project Wonder and WebObjects on 
http://learningthewonders.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Alexis Tual
April is a good idea for flights
On va se sucrer le bec ! ;)

Alex



2013/7/10 

> Bonus for April: we can do a dinner at a sugar shack (cabane à sucre)!
>
>
>  If next WOWODC is in April i might finally be able to come! Summer for me
>> it's complicated… But it's just me, i think
>>
>> Matteo
>>
>>
>>
>> On 10/lug/2013, at 15:14, prob...@macti.ca wrote:
>>
>>  Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi,
>>> etc. But we were only 60 guys, 15 less than in 2012 and 2011... I known
>>> that some regulars couldn't make it because of the chosen dates so looks
>>> like we should return to the first week-end of July or late August like we
>>> did in the past.
>>>
>>> We are also looking at doing in April since it might be cheaper for
>>> flights and the sleeping rooms (no worry, weather is not that bad in
>>> April). So tentative dates are:
>>>
>>> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
>>> - June 28/29/30
>>> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools
>>> in Quebec usually starts on August 25 or 26, so I can't do it on August 25)
>>>
>>> Before we make a decision, I would like to known if those dates are a
>>> problem for many of you, like spring break or if it's a period where a lot
>>> of people in your country goes on vacation.
>>> __**_
>>> 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:
>>> https://lists.apple.com/**mailman/options/webobjects-**
>>> dev/webobjects%40altera.it
>>>
>>> This email sent to webobje...@altera.it
>>>
>>
>>
> __**_
> 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:
> https://lists.apple.com/**mailman/options/webobjects-**
> dev/alexis.tual%40gmail.com
>
> This email sent to alexis.t...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread probert

Bonus for April: we can do a dinner at a sugar shack (cabane à sucre)!

If next WOWODC is in April i might finally be able to come! Summer 
for me it's complicated… But it's just me, i think


Matteo



On 10/lug/2013, at 15:14, prob...@macti.ca wrote:

Ok guys. So WOWODC 2013 went quite well, no major problems, good 
Wifi, etc. But we were only 60 guys, 15 less than in 2012 and 2011... 
I known that some regulars couldn't make it because of the chosen 
dates so looks like we should return to the first week-end of July or 
late August like we did in the past.


We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:


- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)


Before we make a decision, I would like to known if those dates are 
a problem for many of you, like spring break or if it's a period 
where a lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40altera.it

This email sent to webobje...@altera.it




___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOWODC 2014

2013-07-10 Thread Altera WO Team
If next WOWODC is in April i might finally be able to come! Summer for me it's 
complicated… But it's just me, i think

Matteo



On 10/lug/2013, at 15:14, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40altera.it
> 
> This email sent to webobje...@altera.it


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

WOWODC 2014

2013-07-10 Thread probert
Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, 
etc. But we were only 60 guys, 15 less than in 2012 and 2011... I 
known that some regulars couldn't make it because of the chosen dates 
so looks like we should return to the first week-end of July or late 
August like we did in the past.


We are also looking at doing in April since it might be cheaper for 
flights and the sleeping rooms (no worry, weather is not that bad in 
April). So tentative dates are:


- April 5/6/7 (Easter is two weeks after, so it's not a problem)
- June 28/29/30
- August 22/23/24 (yes, it's really Friday, Saturday and Sunday, 
schools in Quebec usually starts on August 25 or 26, so I can't do it 
on August 25)


Before we make a decision, I would like to known if those dates are a 
problem for many of you, like spring break or if it's a period where a 
lot of people in your country goes on vacation.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Max Allowed Sessions

2013-07-10 Thread Dev WO
That was actually my point:
-you'd like to ensure that a maximum specific number of real user are using the 
system, you'll need to implement a couple things to actually define what is a 
user "session" and act on it
-you'd like to limit the number of WOSession your app instance is serving, you 
might have something available directly in Wonder

We'll dig in this deeper if the need ever arise;)

Xavier

On 10 juil. 2013, at 13:25, "Thomas Grass (01SoftwareSolutions)" 
 wrote:

> Hello Xavier,
> thanks for your reply.
> 
> we have no real problem at the time. This question is just for my own 
> interests ;-) I knew that i can easily define the time a session is alive. 
> And i'm now interested if there is a way to define a max number of allowed 
> sessions at a time (with the limit, that an single user can't login after 
> enough sessions are killed)
> 
> Thomas
> 
> --
> Thomas Grass | 01SoftwareSolutions 
> +49 (89) 41 41 41 03-0
> off...@01softwaresolutions.eu | www.01softwaresolutions.eu
> Lichtenbergstraße 8 | D-85748 Garching b München
> 
> Am 10.07.2013 um 12:56 schrieb Dev WO :
> 
>> Hello Thomas,
>> 
>> I'm not sure if it's the right way to do what you want to do as I don't know 
>> exactly why you would do that:)
>> If you want to limit the number of users allowed, you should not rely on 
>> WOSession, as you could get a session when an exception is thrown, so you 
>> could basically end up not being able to handle even a single real user.
>> 
>> Maybe with more details someone could give you a better answer.
>> 
>> Xavier
>> 
>> On 10 juil. 2013, at 12:48, "Thomas Grass (01SoftwareSolutions)" 
>>  wrote:
>> 
>>> Hello Community,
>>> is there an easy way to handle maximum allowed sessions in a 
>>> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, 
>>> otherwise an exceptions page will displayed)?
>>> 
>>> Thomas 
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
>>> 
>>> This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Max Allowed Sessions

2013-07-10 Thread Thomas Grass (01SoftwareSolutions)
Hello Xavier,
thanks for your reply.

we have no real problem at the time. This question is just for my own interests 
;-) I knew that i can easily define the time a session is alive. And i'm now 
interested if there is a way to define a max number of allowed sessions at a 
time (with the limit, that an single user can't login after enough sessions are 
killed)

Thomas

--
Thomas Grass | 01SoftwareSolutions 
+49 (89) 41 41 41 03-0
off...@01softwaresolutions.eu | www.01softwaresolutions.eu
Lichtenbergstraße 8 | D-85748 Garching b München

Am 10.07.2013 um 12:56 schrieb Dev WO :

> Hello Thomas,
> 
> I'm not sure if it's the right way to do what you want to do as I don't know 
> exactly why you would do that:)
> If you want to limit the number of users allowed, you should not rely on 
> WOSession, as you could get a session when an exception is thrown, so you 
> could basically end up not being able to handle even a single real user.
> 
> Maybe with more details someone could give you a better answer.
> 
> Xavier
> 
> On 10 juil. 2013, at 12:48, "Thomas Grass (01SoftwareSolutions)" 
>  wrote:
> 
>> Hello Community,
>> is there an easy way to handle maximum allowed sessions in a 
>> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise 
>> an exceptions page will displayed)?
>> 
>> Thomas 
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
>> 
>> This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Max Allowed Sessions

2013-07-10 Thread Dev WO
Hello Thomas,

I'm not sure if it's the right way to do what you want to do as I don't know 
exactly why you would do that:)
If you want to limit the number of users allowed, you should not rely on 
WOSession, as you could get a session when an exception is thrown, so you could 
basically end up not being able to handle even a single real user.

Maybe with more details someone could give you a better answer.

Xavier

On 10 juil. 2013, at 12:48, "Thomas Grass (01SoftwareSolutions)" 
 wrote:

> Hello Community,
> is there an easy way to handle maximum allowed sessions in a 
> WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise 
> an exceptions page will displayed)?
> 
> Thomas 
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
> 
> This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Max Allowed Sessions

2013-07-10 Thread Thomas Grass (01SoftwareSolutions)
Hello Community,
is there an easy way to handle maximum allowed sessions in a 
WO-Application/Wonder-Application? (e.g. max. 25 Sessions allowed, otherwise an 
exceptions page will displayed)?

Thomas 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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