Re: Amazon Linux 2023

2024-06-17 Thread Jesse Tayler via Webobjects-dev
I’ve been using containers which are helpful in controlling the administration 
without need of knowing much about the host environment.



> On Jun 17, 2024, at 6:39 AM, John Pollard via Webobjects-dev 
>  wrote:
> 
> Hello,
> 
> I am deployed to Amazon Linux 2 and need to move to Amazon Linux 2023 by 
> March 2025.
> 
> Was anyone else in this boat / has already done this migration?
> 
> If so, is there anything I should be aware of before I start, or smooth 
> sailing?
> 
> I have a very manual deployment, but have extensive notes from moving between 
> AL1 and AL2 so hoping that should help.
> 
> Many thanks,
> John
> 
> 
> John Pollard
> 077 4221 0024
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: enumerating sessions?

2024-04-26 Thread Jesse Tayler via Webobjects-dev
Off the top of my head? I’d not use sessions for that — I’ve done some bank 
apps where only one session is allowed and some other stuff, but we avoided 
relying on or tracking sessions, rather we build a login scheme that tracked 
this concept specifically and we let session and cookies stuff be.

Keep us posted.

> On Apr 26, 2024, at 8:33 AM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> is there a way to enumerate sessions which are alive inside of a 
> WO/ERXApplication?
> 
> I guess I can create such a list myself, adding new ones in session.awake, 
> keeping it weak not to prevent old sessions to be destroyed (or perhaps 
> storing just session IDs), yadda yadda, but it would be much easier and less 
> error-prone just to use a WO/nder service, if there's one.
> 
> The purpose is that we need to allow an app administrator to list all the 
> normal users which are currently logged in, and be able to force-logout 
> selected ones.
> 
> Thanks!
> OC
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: RDS [was: Re: WOLips Update]

2024-03-17 Thread Jesse Tayler via Webobjects-dev
Oh? I figured nobody changed that adaptor since forever ago — 

Maybe I should download that first before updating?

> On Mar 17, 2024, at 9:45 PM, Steve Peery  wrote:
> 
> Make sure the MySQL driver in your app is new enough to work with the new 
> version of SQL! I tried to upgrade and my apps would not connect.
> 
> Steve 
> 
>> On Mar 16, 2024, at 9:27 PM, Paul Hoadley via Webobjects-dev 
>>  wrote:
>> 
>> Hi Jesse,
>> 
>> On 17 Mar 2024, at 11:12 am, Jesse Tayler > <mailto:jtay...@oeinc.com>> wrote:
>> 
>>> I’m upgrading from a rather old MySQL, this is basically a button press and 
>>> I suppose I should dump the data in case something goes awry but I cannot 
>>> see why my boring EO Model would have any trouble using an updated version 
>>> even if the jump is — well, at least like…I dunno - ten years? 
>> 
>> You mean you're already on RDS and just need to upgrade? I've certainly 
>> never encountered any problems, though I'm surprised you could get a decade 
>> behind. RDS is more aggressive than that with PostgreSQL, at least, forcing 
>> major version updates from time to time.
>> 
>> 
>> -- 
>> Paul Hoadley
>> https://logicsquad.net/
>> https://www.linkedin.com/company/logic-squad/
>> 
>> 
>> 
>> ___
>> 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/speery%40me.com
>> 
>> This email sent to spe...@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: RDS [was: Re: WOLips Update]

2024-03-16 Thread Jesse Tayler via Webobjects-dev
I’m upgrading from a rather old MySQL, this is basically a button press and I 
suppose I should dump the data in case something goes awry but I cannot see why 
my boring EO Model would have any trouble using an updated version even if the 
jump is — well, at least like…I dunno - ten years? 

The database doesn’t get a lot of touching!

But this version is out of date, so I figure people would have reported if 
there were ever some trouble encountered.



> On Mar 16, 2024, at 8:14 PM, Paul Hoadley  wrote:
> 
> On 17 Mar 2024, at 1:20 am, Jesse Tayler via Webobjects-dev 
> mailto:webobjects-dev@lists.apple.com>> 
> wrote:
> 
>> Does anyone use RDS on AWS?
> 
> We've been using PostgreSQL on RDS for years. Is there anything you want to 
> know?
> 
> 
> -- 
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
> 

 ___
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: WOLips Update

2024-03-16 Thread Jesse Tayler via Webobjects-dev
Does anyone use RDS on AWS?

I’m updating and just figure MySQL will not care about whatever simple EOF 
stuff I’m using…

I’m still on an old Eclipse but it sounds like WOLips is working on the most 
recent?

> On Mar 16, 2024, at 4:28 AM, Hugi Thordarson via Webobjects-dev 
>  wrote:
> 
> "All" is just Ralf. I opened Eclipse 2024-03 for the first time, only to get 
> that error.
> Within minutes, my mail client said "bing!" and it was a notification about 
> Ralf's fix PR.
> So I tested the fork a bit, worked fine, just merged. So thanks Ralf! Perfect 
> timing :)
> 
> - hugi
> 
> 
>> On Mar 15, 2024, at 10:01, Michael Schmiedgen via Webobjects-dev 
>>  wrote:
>> 
>> Hi :)
>> 
>> Wow, that [1] was fast, thank you all!
>> 
>> 
>> [1] https://github.com/wocommunity/wolips/commits/master/
>> ___
>> 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/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: FORBIDDEN

2023-11-18 Thread Jesse Tayler via Webobjects-dev
Hmmm…not sure where I got it, my dev setup is I think about three or five years 
old — 

> On Nov 18, 2023, at 1:31 PM, Theodore Petrosky  wrote:
> 
> What are you using as the URL to update/install WOLips?
> 
> 
> 
>> On Nov 18, 2023, at 1:25 PM, Jesse Tayler  wrote:
>> 
>> Yes, the wiki is DOWN — I noticed that literally yesterday or the day before 
>> and forgot to mention —
>> 
>> Who’s hosting it?
>> 
>> 
>> 
>>> On Nov 18, 2023, at 12:19 PM, Theodore Petrosky via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> I am trying to set ups new computer and I am getting a
>>> 
>>> Forbidden
>>> 
>>> You don't have permission to access this resource.
>>> 
>>> At this URL
>>> 
>>> https://wiki.wocommunity.org/display/documentation/How-tos
>>> 
>>> Help please!!
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.com <mailto:jtay...@oeinc.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: FORBIDDEN

2023-11-18 Thread Jesse Tayler via Webobjects-dev
Yes, the wiki is DOWN — I noticed that literally yesterday or the day before 
and forgot to mention —

Who’s hosting it?



> On Nov 18, 2023, at 12:19 PM, Theodore Petrosky via Webobjects-dev 
>  wrote:
> 
> I am trying to set ups new computer and I am getting a
> 
> Forbidden
> 
> You don't have permission to access this resource.
> 
> At this URL
> 
> https://wiki.wocommunity.org/display/documentation/How-tos
> 
> Help please!!
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: AjaxAutoComplete

2023-11-09 Thread Jesse Tayler via Webobjects-dev
I have used Ajax quite easily on a couple of components and for some reason, 
implementing even the simplest test was failing on updating a component of a 
similar sort.

Before I make a wholly new component — are there flags or tests aside from 
jQuery which seems fine? I don’t readily see why this just isn’t seemingly 
observing and updating the way I expect?

Thoughts?

> On Nov 9, 2023, at 5:00 AM, D Tim Cummings via Webobjects-dev 
>  wrote:
> 
> Set parameter afterUpdateElement to "observe" and it will behave like it is 
> in an AjaxObserveField
> 
>  "$theCustomerName" afterUpdateElement = "observe" />
> 
> Tim
> 
> On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:
>> Hi,
>> 
>> Is there any trick available to make AjaxAutoComplete field observable (by 
>> AjaxAobserveField) ?
>> 
>> Many thanks in advance for your help
>> 
>> Stavros
>>  ___
>> 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/tim%40triptera.com.au
>> 
>> This email sent to t...@triptera.com.au
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WOLips bugfixes and new features planning

2023-07-18 Thread Jesse Tayler via Webobjects-dev


Nobody wants to fix that plugin, if I hadn’t tried to hire someone myself I’d 
not believe it.

I guess I don’t care about eclipse, but there doesn't seem to be any reason to 
leave it either.

I still hope we can fix these remaining issues in WOLips, it has been there for 
us for so long...
 


> On Jul 18, 2023, at 6:52 AM, Maik Musall via Webobjects-dev 
>  wrote:
> 
> Hi everyone,
> 
> we owe you an update to this, and it’s already quite late. Sorry for that.
> 
> After Stepan bailed out, we found another developer named Stefan who was 
> offering to do it. We even have a signed contract with him, set up all the 
> comms and accounts, but then nothing more happened, and there was never any 
> work being actually done.
> 
> We’re still sitting on the unused funds from everyone and feel uncomfortable 
> with the situation.
> 
> In the meantime, we had a number of potential employees for job interviews, 
> and many of them weren’t fond of the idea to move from whatever they used 
> before to Eclipse. Maybe we should abandon that idea and look at creating a 
> plugin for IntelliJ instead or something, and use the funds towards that?
> 
> Maik
> 
> 
>> Am 17.06.2021 um 10:39 schrieb Maik Musall :
>> 
>> Hi everyone,
>> 
>> unfortunately I have to inform you that our WOLips project is experiencing 
>> more delays, as our currently hired developer Stepan has to leave the 
>> project due to lack of time. On the positive side, as I understand, at least 
>> nothing of our budget is lost.
>> 
>> But obviously we have to find a new developer. If anyone can recommend 
>> someone, please get in touch. This time I’m expecting a few conditions to be 
>> met beyond the obvious relevant experience and expertise, in particular that 
>> the person actually has enough time available, and doesn’t have to depend on 
>> weekends for that.
>> 
>> Does anyone remember where we posted the original job offer, which the 
>> previous candidates responded to?
>> 
>> Or is someone from within the community willing to dive into Eclipse plugin 
>> development? We do have some funding for this after all.
>> 
>> Maik
>> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WebObjects Docker Deployment

2023-04-13 Thread Jesse Tayler via Webobjects-dev
Um. The app is mostly session stuff, there’s a few routes but I’m not thrilled 
with the way it is handled and you still have those pages with the weird dot 
notation in the URL…

I use ERRest and it’s great, I’m not certain if session objects are created 
during requests, but it won’t have any need for sessions.

My WO stuff is a little old-school style I’m afraid.

That said, I’d like to improve that stuff!

> On Apr 13, 2023, at 7:12 AM, Gino Pacitti via Webobjects-dev 
>  wrote:
> 
> 
> Do your build the apps using DA/REST so session-less ?
> 
> Gino 
> 
>> On 13 Apr 2023, at 17:59, Jesse Tayler via Webobjects-dev 
>>  wrote:
>> 
>> I’m using Docker for WO and like it.
>> 
>> It controls the environment and tames our big industrial giant stuff and 
>> makes it quite manageable.
>> 
>> 
>>> On Apr 13, 2023, at 4:22 AM, Sébastien Rottiers via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hi Oleksii,
>>> 
>>> Very interesting blog post ! I’m very interested to move our classical 
>>> WebObjects deployment on AWS ec2 with auto scaling, to your Cloud-native 
>>> WebObjects deployment solution.
>>> Have you some new feedback about your solution in production after some 
>>> months ?  Did you move to Kubernetes or still with Swarn ?
>>> 
>>> Thanks a lot !
>>> 
>>> Sébastien 
>>> 
>>>> Le 14 août 2022 à 23:20, Oleksii Serhiienko via Webobjects-dev 
>>>>  a écrit :
>>>> 
>>>> Good evening everyone,
>>>> 
>>>> In the past, I was working with a WebObjects application which was 
>>>> migrated to the Cloud.
>>>> To share more findings and experience, I have created a demo application 
>>>> <https://github.com/lexxito/webobjects_docker> 
>>>> You should be able to run with docker-compose and docker swarm.
>>>> I have some more explanations in the post I made 
>>>> <https://medium.com/@oleksii.serhiienko_58987/deploying-webobjects-applications-in-containerized-environments-e49011d60732>
>>>>  and some helpful docker images <https://hub.docker.com/u/lexxito>.
>>>> 
>>>> Hope, my experience will be helpful and feel free to ask some questions. 
>>>> 
>>>> best,
>>>> Oleksii
>>>> 
>>>> ___
>>>> 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/sebro%40mac.com
>>>> 
>>>> This email sent to se...@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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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/ginokris%40mac.com
>> 
>> This email sent to ginok...@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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WebObjects Docker Deployment

2023-04-13 Thread Jesse Tayler via Webobjects-dev
I’m using Docker for WO and like it.

It controls the environment and tames our big industrial giant stuff and makes 
it quite manageable.


> On Apr 13, 2023, at 4:22 AM, Sébastien Rottiers via Webobjects-dev 
>  wrote:
> 
> Hi Oleksii,
> 
> Very interesting blog post ! I’m very interested to move our classical 
> WebObjects deployment on AWS ec2 with auto scaling, to your Cloud-native 
> WebObjects deployment solution.
> Have you some new feedback about your solution in production after some 
> months ?  Did you move to Kubernetes or still with Swarn ?
> 
> Thanks a lot !
> 
> Sébastien 
> 
>> Le 14 août 2022 à 23:20, Oleksii Serhiienko via Webobjects-dev 
>>  a écrit :
>> 
>> Good evening everyone,
>> 
>> In the past, I was working with a WebObjects application which was migrated 
>> to the Cloud.
>> To share more findings and experience, I have created a demo application 
>>  
>> You should be able to run with docker-compose and docker swarm.
>> I have some more explanations in the post I made 
>> 
>>  and some helpful docker images .
>> 
>> Hope, my experience will be helpful and feel free to ask some questions. 
>> 
>> best,
>> Oleksii
>> 
>> ___
>> 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/sebro%40mac.com
>> 
>> This email sent to se...@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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: choosing the submit for Enter in a textfield?

2023-03-28 Thread Jesse Tayler via Webobjects-dev
Did you try Ajax? It’s reasonably simple to wrap things individually but I try 
to keep my forms simple wherever possible so I’m not at all certain about the 
results you’re after


> On Mar 28, 2023, at 9:31 AM, OCsite via Webobjects-dev 
>  wrote:
> 
> René,
> 
>> On 28. 3. 2023, at 14:23, René Bock > > wrote:
>> I guess the only non JS solution would be to split the form in two different 
>> forms.
> 
> Thanks, but since the layout is
> 
> [some form 1 items]
> [complete form 2]
> [other form 1 items]
> 
> I don't think I can do that. Perhaps if I could add the “form” attribute to 
> the form 2 inputs it might work; but far as I know, with standard WO/nder 
> inputs and submits that is not possible (or is it?), and although I could 
> write my own ones, well, it's still easier to use the darned JS :)
> 
> Thanks and all the best,
> OC
> 
>>> Am 26.03.2023 um 23:05 schrieb ocs--- via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>>:
>>> 
>>> Hi there,
>>> 
>>> I've got a form (combined from more separate components) whose overall 
>>> layout is
>>> 
>>>  
>>> ... lots of inputs incl. a number of textfields ...
>>> 
>>> 
>>> 
>>> ... other inputs and textfields ...
>>> 
>>> 
>>> 
>>> I would need that an Enter in the "bar" textfield triggers "barAction"; an 
>>> Enter in any other textfield triggers "fooAction".
>>> 
>>> Can this be done in a clean, preferably non-JS way?
>>> 
>>> I've found that I can put an invisible submit/fooAction at the place of 
>>> [1], in which case _all_ Enters in _all_ textfields trigger "fooAction", 
>>> but I haven't been able to find any nice way to ensure an Enter in the 
>>> "bar" textfield triggers "barAction". With JS, I can do that, but it is 
>>> really darn ugly (and besides it wouldn't work if the user switches off JS 
>>> for security).
>> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Asking questions

2023-03-07 Thread Jesse Tayler via Webobjects-dev
Just write st...@mac.com and the lists will be fixed!

There is also a slack channel, I invited you





> On Mar 7, 2023, at 8:14 AM, Theodore Petrosky via Webobjects-dev 
>  wrote:
> 
> Looks like the list archive is screwy...  there are no posts to the archive 
> in February and/or March. But I know there was traffic. Who do we talk to at 
> Apple to reset the list archive to show posts (or are they lost?).
> 
> Ted 
> List top level:   https://lists.apple.com/mailman/listinfo
> 
> 2023 archive:  https://lists.apple.com/archives/webobjects-dev/2023
> 
> January:
> https://lists.apple.com/archives/webobjects-dev/2023/Jan/index.html
> 
> Feb
> https://lists.apple.com/archives/webobjects-dev/2023/Feb
> 
> Mar
> https://lists.apple.com/archives/webobjects-dev/2023/Mar
> 
> 
> 
> On 3/7/23, 2:08 AM, "Jérémy DE ROYER via Webobjects-dev" 
> mailto:webobjects-dev@lists.apple.com>> 
> wrote:
> 
> 
> +1
> 
> 
> Jérémy
> 
> 
>> Le 7 mars 2023 à 05:09, Michael Kondratov via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> a 
>> écrit :
>> 
>> I think there are people on the list still.
>> 
>> 
>> Michael
>> 
>> Sent from my iPhone
>> 
>>> On Mar 6, 2023, at 18:32, Theodore Petrosky via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> So I see there are no messages in the lists.appple.com webobjects archive. 
>>> But, I see emails from posts to webobjects-dev@lists.apple.com 
>>> 
>>> 
>>> So I am picking up a project shelved a long time ago. I have no intention 
>>> of trying to redo this project in something else.
>>> 
>>> If I were to ask WO questions, where should they be posted?
>>> 
>>> I hope there are still voices around that can answer and are willing.
>>> 
>>> 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/michael%40aspireauctions.com
>>>  
>>> 
>>> 
>>> This email sent to mich...@aspireauctions.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/jeremy.deroyer%40ingencys.net
>>  
>> 
>> 
>> This email sent to jeremy.dero...@ingencys.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/tpetrosky%40agencysacks.com
>  
> 
> 
> 
> This email sent to tpetro...@agencysacks.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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WOCompile error

2022-09-01 Thread Jesse Tayler via Webobjects-dev
Ha! Ok, I’ll read the next email next time...

> On Sep 1, 2022, at 7:52 AM, Gino Pacitti via Webobjects-dev 
>  wrote:
> 
> Hi all
> 
> Scrap that.. just an oversight…its ok!
> 
> Thanks...
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WOCompile error

2022-09-01 Thread Jesse Tayler via Webobjects-dev
No idea really — Did you make clean first? Do you have specific JAVA versions 
set in your properties/preferences? Are frameworks in the build and do they 
have specified settings?


> On Sep 1, 2022, at 7:43 AM, Gino Pacitti via Webobjects-dev 
>  wrote:
> 
> Hi there…
> 
> Can anyone point me in the right direction:
> 
> I am trying to ant build and all my projects are reporting this - (I have 
> tried changing the JRE etc but still the error)
> 
> I am using Eclipse Version: 2021-12 (4.22.0) 
> 
> java.lang.UnsupportedClassVersionError: 
> org/objectstyle/woproject/ant/WOCompile has been compiled by a more recent 
> version of the Java Runtime (class file version 55.0), this version of the 
> Java Runtime only recognizes class file versions up to 52.0
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: [Proposal] Drop Wonder's Ant Build

2022-06-28 Thread Jesse Tayler via Webobjects-dev
I admit I’m only half following this thread but I am still using Ant right now 
— I’ve tried to move to Maven once or twice, but it was a fair amount of work 
from where I was at

Are we considering removal of ant as an option?

> On Jun 28, 2022, at 9:43 AM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> I use maven almost exclusively for all my projects.  Wonder and otherwise.
> 
>> On Jun 16, 2022, at 17:42, Henrique Prange via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> Hey guys,
>> 
>> I've been talking to other Wonder users/committers lately. Keeping the Ant 
>> build configuration up to date in Wonder is becoming increasingly 
>> counterproductive. Most of us have been using Maven for years. As a result, 
>> our environments are not prepared to build the project with Ant, making it 
>> hard to check if we broke something after every change. For this reason, I'd 
>> like to propose the removal of the Ant build configuration from project 
>> Wonder.
>> 
>> What do you think?
>> 
>> Cheers,
>> 
>> HP
>> ___
>> 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/pccdonl%40icloud.com 
>> 
>> 
>> This email sent to pccd...@icloud.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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: owns destination + deny prohibited?

2022-02-27 Thread Jesse Tayler via Webobjects-dev
You are missing the code to do just that policy. The model rules are simplistic 
and so owning means it owns and removes so your rules don’t work together but 
you’d be needing and wanting to trigger that delete with your own policy and 
code

> On Feb 27, 2022, at 6:45 AM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> as I am checking all my relationships to make sure I did not another mistake, 
> I've bumped into something strange.
> 
> It looks like EOF prohibits a combination of “owns destination” and the 
> “deny” delete rule.
> 
> Can perhaps anybody explain the rationale behind that?
> 
> I must be overlooking something of importance, for it seems to me it is quite 
> acceptable approach something like “a company owns all the departments. 
> Whenever one is removed from the relationship, it should be deleted, no point 
> for it existing separately. Still, I want to prevent deletion of a whole 
> company which contains a non-zero number of departments; to prevent user 
> errors, if somebody does want to delete a company, I want him to remove all 
> its departments first”.
> 
> What am I missing?
> 
> Thanks,
> OC
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: deletion of objects in relationships?

2022-02-25 Thread Jesse Tayler via Webobjects-dev
Definitely test your delete rules. Sounds like you just forgot to properly set 
delete rules on the relationship

> On Feb 25, 2022, at 2:50 PM, ocs--- via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> lately, I was for the first time in a quarter of century of working with 
> WO/EOF bitten in my tender parts by the following scenario:
> 
> - there's a 1:N relationship
> - one of its objects is deleted using the plainest 
> “eo.editingContext().deleteObject(eo)” approach
> - which deletes the object all right, but _keeps the relationship snapshot 
> EODatabase-level unchanged_
> - thus, if now e.g., another user logs in and uses the relationship, he gets 
> (from the snapshot, presumed his EC has old enough fetch timestamp) a list of 
> gids containing one for the non-existing object, leading to 
> “ObjectNotAvailableException: No  found with globalID  deleted>”
> 
> Until now, I've naïvely thought EOF would solve all such problems 
> automagically inside of the saveChanges code (i.e., that among many other 
> things, if a deleted object is part of a relationship, it gets automatically 
> and properly removed; snapshot-level immediately upon save, in all the ECs 
> later when they process the appropriate notification). So far it seemed to 
> actually happen, always and reliably. Weird.
> 
> Looks like in fact this does _not_ happen, but I _do_ wonder. While the 
> natural fix of course is to remove the object from the relationship(s) first 
> (e.g., through removeObjectFromBothSidesOfRelationshipWithKey), and only then 
> delete it (unless the relationship happens to be owning, in which case the 
> deletion is not needed and happens automatically), there are _many_ cases 
> where this approach could lead to problems, e.g.,
> 
> (i) objects which could be part of _many_ different relationships. Should we 
> really manually remove the object from _all of them_ before we delete it?
> 
> (ii) what about relationships without an inverse? While EOF might be able to 
> track internally those which (a) contain a given object, (b) and are in 
> snapshots, and clean them up upon object deletion, I can't see any reasonable 
> way to do that from the application-level code;
> 
> (iii) what if the app is being improved, and an already existing object is 
> added into a new relationship? That object might be deleted for years through 
> ec.deleteObject (or a plethora of other means, like WODisplayGroup, 
> you-name-it). With a big legacy project it well might get next-to-impossible 
> to find all such places. How do we ensure all the relationship snapshots 
> which might contain the deleted object are properly cleaned up?
> 
> How do you solve this kind of problems?
> 
> And one bonus question: how comes the problem is rare enough that I've never 
> bumped to it until now? Far as I understand, when one deletes objects using 
> ec.deleteObject (I do most times), and when those objects are part of 
> relationships (many of them are), it should be pretty common. It is not, for 
> whatever reason.
> 
> Thanks for any insight,
> OC
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: target-page-based (instead of hyperlink-based) fragment?

2022-01-16 Thread Jesse Tayler via Webobjects-dev

Not sure of the details on these requirements but I’d bet your client is seeing 
things like twitter feeds or various similar interfaces? I’m pretty sure these 
are almost all done using javascript to just store a scroll position on page 
exit



> On Jan 16, 2022, at 3:53 PM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> my client wants me to ensure that a page, when accessed/refreshed in any way, 
> automatically scrolls to a specific place (which depends on previous usage of 
> the thing).
> 
> Is there some place/hook in WebObjects which would allow me to automatically 
> add a fragment (whose value is set up e.g., as 
> component.currentFragmentIdentifier) to any URL which goes into that page, 
> regardless the URL source?
> 
> Adding manually the fragment to all hyperlinks and forms which happen to lead 
> to the particular page is conceptually possible, but lots of legwork I could 
> do without, if there's another way to do that.
> 
> Thanks a lot,
> OC
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Mac OS Monterey

2021-12-19 Thread Jesse Tayler via Webobjects-dev
So basically everything went to shit right there 

> On Dec 19, 2021, at 5:14 PM, Jérémy DE ROYER via Webobjects-dev 
>  wrote:
> 
> 
> Until now, everything works fine

 ___
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: WebObjects REST vs Node Multithreading

2021-12-16 Thread Jesse Tayler via Webobjects-dev
ERRest + ERXKeys is just plain solid stuff, I can tell you that I like it very 
much, the compiler is deeply involved in structure and so if you are looking 
for reliable infrastructure? It’s hard to beat ERRest in my book.

> On Dec 16, 2021, at 11:52 AM, Gino Pacitti via Webobjects-dev 
>  wrote:
> 
> Hi Group..
> 
> Genuine question… :-)
> 
> Just wondered if anyone had a word to say about whether to use Node.js or 
> WebObjects + REST for datasource retrieval and manipulation?
> 
> What are any advantages/disadvantages of each?
> 
> Maybe this is more a Java vs Javascript contemplation server side and 
> building an API.
> 
> Gino
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Single thread creation queue?

2021-11-24 Thread Jesse Tayler via Webobjects-dev
Thanks Ted, actually I was looking to see how to make a compound constraint - 
one static string type=“twitter” and I guess a lowercase version of a 
user-entered display string keyStringToLowercase = username and the only way I 
saw to add that into migrations was to write SQL and inject it?

But I did NOT know how to adjust those error strings! I have several bothersome 
error reports so, you’ve opened my eyes! I’ll look into that .strings key stuff 
there and see if I can figure that out. I might ping you about it...

> On Nov 24, 2021, at 2:43 PM, Theodore Petrosky  
> wrote:
> 
> An example of a migration:
> Postgresql throws the exception then in ValidationException.strings I have:
> {
>"UniqueConstraintException.login_idx" = "Please choose a different 
> login (It must be unique).";
>
>"Quote.quoteAmount"="You must enter a dollar amount in the format 
> 123.00 (you entered @@escapedValue@@)!";
>
> }
> To present readable error.
> Is this what you are looking for?
>  
> ERXMigrationTable personTable = database.newTableNamed("Person");
>   personTable.newFlagBooleanColumn("active", NOT_NULL);
>   personTable.newLargeStringColumn("addressline1", ALLOWS_NULL);
>   personTable.newLargeStringColumn("addressline2", ALLOWS_NULL);
>   personTable.newLargeStringColumn("city", ALLOWS_NULL);
>   personTable.newDateColumn("creationdate", NOT_NULL);
>   personTable.newIntegerColumn("financialID", NOT_NULL);
>   personTable.newLargeStringColumn("firstname", NOT_NULL);
>   personTable.newIntegerColumn("id", NOT_NULL);
>   personTable.newLargeStringColumn("lastname", NOT_NULL);
>   personTable.newLargeStringColumn("login", ALLOWS_NULL);
>   personTable.newLargeStringColumn("password", ALLOWS_NULL);
>   personTable.newIntegerColumn("securityID", NOT_NULL);
>   personTable.newLargeStringColumn("state", ALLOWS_NULL);
>   personTable.newLargeStringColumn("zipcode", ALLOWS_NULL);
>   personTable.create();
>   personTable.setPrimaryKey("id");
>   personTable.addIndex(new ERXMigrationIndex(
>  "login_idx", true 
>  ,new ColumnIndex("login")
>   ));
>  
>  
> From: "Ted Petrosky (WO)" 
> Reply-To: Jesse Tayler 
> Date: Wednesday, November 24, 2021 at 9:41 AM
> To: Samuel Pelletier 
> Cc: "Ted Petrosky (WO)" 
> Subject: Re: Single thread creation queue?
>  
> A collation would also work, I don’t think there’s a need to preserve case 
> but I guess I have thus far and perhaps that’s an easier route than 
> attempting to alter data in place, I could simply add the function in a way 
> it can blend in perhaps.
>  
> I tried to find a decent wiki page, but does anyone have good examples of 
> migrations that add constraints or do fancy stuff? 
>  
> Do I have to stuff raw SQL into a migration or are there functions I can’t 
> see in there--
> 
> 
>> On Nov 24, 2021, at 8:52 AM, Samuel Pelletier  wrote:
>>  
>> Jesse,
>>  
>> If you specify a case insensitive collation for your column in the table, 
>> you can preserve case and maintains case insensitive uniqueness. If you do 
>> not know about collation, begin by reading on the subject, they basically 
>> define how to compare and sort strings values.
>>  
>> Depending on the probability of duplicate and how you want to handle this 
>> problem, you can try-catch or pre check before saving, you probably prefer 
>> try-catch because it save a round-trip to the database. Tu use try-catch, 
>> you need the contraint in the database though.
>>  
>> Samuel
>> 
>> 
>>> Le 24 nov. 2021 à 08:02, Jesse Tayler  a écrit :
>>>  
>>> so, basically, you are suggesting that I store them flat lowercase and put 
>>> a constraint on these two strings and just lose any case the user entered 
>>> which is fine I think.
>>>  
>>> With the lowercase assured the constraint will prevent duplicates and I’d 
>>> catch that exception during creation and handle it
>>> 
>>> 
>>>> On Nov 24, 2021, at 12:19 AM, Samuel Pelletier  wrote:
>>>>  
>>>> If your usernames (or keyString) are case insensitive, store them in a 
>>>> normalized case (in lowercase for exemple). 
>>>>  

Re: Single thread creation queue?

2021-11-24 Thread Jesse Tayler via Webobjects-dev
A collation would also work, I don’t think there’s a need to preserve case but 
I guess I have thus far and perhaps that’s an easier route than attempting to 
alter data in place, I could simply add the function in a way it can blend in 
perhaps.

I tried to find a decent wiki page, but does anyone have good examples of 
migrations that add constraints or do fancy stuff? 

Do I have to stuff raw SQL into a migration or are there functions I can’t see 
in there--

> On Nov 24, 2021, at 8:52 AM, Samuel Pelletier  wrote:
> 
> Jesse,
> 
> If you specify a case insensitive collation for your column in the table, you 
> can preserve case and maintains case insensitive uniqueness. If you do not 
> know about collation, begin by reading on the subject, they basically define 
> how to compare and sort strings values.
> 
> Depending on the probability of duplicate and how you want to handle this 
> problem, you can try-catch or pre check before saving, you probably prefer 
> try-catch because it save a round-trip to the database. Tu use try-catch, you 
> need the contraint in the database though.
> 
> Samuel
> 
>> Le 24 nov. 2021 à 08:02, Jesse Tayler > <mailto:jtay...@oeinc.com>> a écrit :
>> 
>> so, basically, you are suggesting that I store them flat lowercase and put a 
>> constraint on these two strings and just lose any case the user entered 
>> which is fine I think.
>> 
>> With the lowercase assured the constraint will prevent duplicates and I’d 
>> catch that exception during creation and handle it
>> 
>>> On Nov 24, 2021, at 12:19 AM, Samuel Pelletier >> <mailto:sam...@samkar.com>> wrote:
>>> 
>>> If your usernames (or keyString) are case insensitive, store them in a 
>>> normalized case (in lowercase for exemple). 
>>> 
>>> You can add an overridden 
>>> public void setKeyString(String value) {
>>> if (value != null) {
>>> value = value.toLowerCase();
>>> }
>>> super.setKeyString(value);
>>> }
>>> 
>>> You may also specify a collation to the column in the database if you want 
>>> to preserve case but index and compare as case insensitive.
>>> 
>>> Samuel
>>> 
>>>> Le 23 nov. 2021 à 17:26, Jesse Tayler via Webobjects-dev 
>>>> mailto:webobjects-dev@lists.apple.com>> a 
>>>> écrit :
>>>> 
>>>> 
>>>> 
>>>>> On Nov 23, 2021, at 5:17 PM, Paul Hoadley >>>> <mailto:pa...@logicsquad.net>> wrote:
>>>>> 
>>>>> Are you able to paste in some code? There's probably a solution, but this 
>>>>> is getting a bit hard to follow in the abstract.
>>>>> 
>>>> 
>>>> So, I fetch first
>>>> 
>>>>EOQualifier qual = 
>>>> DataPoint.TYPE.eq("twitter").and(DataPoint.KEY_STRING.likeInsensitive(username));
>>>> 
>>>> If there’s no EO, I create and save right away but at high volumes this 
>>>> CREATE statement must create only unique entries and those entries must 
>>>> match this qualifier which uses insensitive case
>>>> 
>>>> I figure the pattern should be to create an object with a DB level 
>>>> constraint such that a duplicate raises an error, upon catching that 
>>>> error, I can simply fetch again and return the one, single EO representing 
>>>> that record
>>>> 
>>>> When I tried regular constraints I did not see a way to replicate the 
>>>> required logic, so I found some advise about triggers and some other 
>>>> things I didn’t fully understand.
>>>> 
>>>> I realize usernames generally have this kind of issue, so I figure this is 
>>>> a design pattern that is hardly unique to us and I should get advice!
>>>> 
>>>> ___
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>>> <mailto:Webobjects-dev@lists.apple.com>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com 
>>>> <https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com>
>>>> 
>>>> This email sent to sam...@samkar.com <mailto:sam...@samkar.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: Single thread creation queue?

2021-11-24 Thread Jesse Tayler via Webobjects-dev
so, basically, you are suggesting that I store them flat lowercase and put a 
constraint on these two strings and just lose any case the user entered which 
is fine I think.

With the lowercase assured the constraint will prevent duplicates and I’d catch 
that exception during creation and handle it

> On Nov 24, 2021, at 12:19 AM, Samuel Pelletier  wrote:
> 
> If your usernames (or keyString) are case insensitive, store them in a 
> normalized case (in lowercase for exemple). 
> 
> You can add an overridden 
> public void setKeyString(String value) {
>   if (value != null) {
>   value = value.toLowerCase();
>   }
>   super.setKeyString(value);
> }
> 
> You may also specify a collation to the column in the database if you want to 
> preserve case but index and compare as case insensitive.
> 
> Samuel
> 
>> Le 23 nov. 2021 à 17:26, Jesse Tayler via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> a 
>> écrit :
>> 
>> 
>> 
>>> On Nov 23, 2021, at 5:17 PM, Paul Hoadley >> <mailto:pa...@logicsquad.net>> wrote:
>>> 
>>> Are you able to paste in some code? There's probably a solution, but this 
>>> is getting a bit hard to follow in the abstract.
>>> 
>> 
>> So, I fetch first
>> 
>>  EOQualifier qual = 
>> DataPoint.TYPE.eq("twitter").and(DataPoint.KEY_STRING.likeInsensitive(username));
>> 
>> If there’s no EO, I create and save right away but at high volumes this 
>> CREATE statement must create only unique entries and those entries must 
>> match this qualifier which uses insensitive case
>> 
>> I figure the pattern should be to create an object with a DB level 
>> constraint such that a duplicate raises an error, upon catching that error, 
>> I can simply fetch again and return the one, single EO representing that 
>> record
>> 
>> When I tried regular constraints I did not see a way to replicate the 
>> required logic, so I found some advise about triggers and some other things 
>> I didn’t fully understand.
>> 
>> I realize usernames generally have this kind of issue, so I figure this is a 
>> design pattern that is hardly unique to us and I should get advice!
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com>
>> 
>> This email sent to sam...@samkar.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: Single thread creation queue?

2021-11-23 Thread Jesse Tayler via Webobjects-dev


> On Nov 23, 2021, at 5:17 PM, Paul Hoadley  wrote:
> 
> Are you able to paste in some code? There's probably a solution, but this is 
> getting a bit hard to follow in the abstract.
> 

So, I fetch first

EOQualifier qual = 
DataPoint.TYPE.eq("twitter").and(DataPoint.KEY_STRING.likeInsensitive(username));

If there’s no EO, I create and save right away but at high volumes this CREATE 
statement must create only unique entries and those entries must match this 
qualifier which uses insensitive case

I figure the pattern should be to create an object with a DB level constraint 
such that a duplicate raises an error, upon catching that error, I can simply 
fetch again and return the one, single EO representing that record

When I tried regular constraints I did not see a way to replicate the required 
logic, so I found some advise about triggers and some other things I didn’t 
fully understand.

I realize usernames generally have this kind of issue, so I figure this is a 
design pattern that is hardly unique to us and I should get advice!

 ___
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: Single thread creation queue?

2021-11-23 Thread Jesse Tayler via Webobjects-dev
Ok wait — I have a question

I see my qualifier and the constraint needs to be equivalent 

The qualifier has one fixed string and the second string is — case-insensitive 
— constraints don’t seem to allow this notion?

I see a several suggestions on what is clearly the same, common issue - often 
usernames have this quality

https://stackoverflow.com/questions/637030/lowercase-constraint-sql-server

Anyone have insight?



> On Nov 22, 2021, at 10:07 AM, Samuel Pelletier  wrote:
> 
> Jesse,
> 
> So your row have a primary key and some other unique identifier derived other 
> attributes.
> 
> If the compound key is a combinaison of full attribute values, you cana a 
> compound unique key in the database. CREATE UNIQUE INDEX ON Table (col1, 
> col2, ..., coln)
> 
> If it is from partial values, the most reliable way is to add a string column 
> with the computed key with it's unique constraint.
> 
> If you already have duplicate, you can add a method in the migration to 
> resolve them before adding the constraint or do it manually...
> 
> Regards,
> 
> Samuel
> 
>> Le 22 nov. 2021 à 09:27, Jesse Tayler  a écrit :
>> 
>> It’s likely just a unique constraint perhaps.
>> 
>> It’s not UIDs or primary keys it’s a unique row type based on a couple 
>> strings where there should be only one, and that one should last forever.
>> 
>> There’s an API where calls can come in basically at the same time and 
>> instead of fetching first to see if the object exists, I should likely 
>> respond to an SQL error rejecting a new row and then fetch and return that 
>> existing object based on that error condition.
>> 
>> I’d suppose the database is the best place for that policy, but I don’t 
>> think I’ve implemented constraints quite like that before so I’d need to 
>> write some sort of Migrations for it if it’s to be reliable in all those 
>> situations where it might encounter duplicate data…hmmm…
>> 
>> 
>> 
>> 
>>> On Nov 22, 2021, at 8:59 AM, Samuel Pelletier  wrote:
>>> 
>>> Hi Jesse,
>>> 
>>> Your question may have multiple answers, can you describe the contexts and 
>>> duplicate sources you fear ?
>>> 
>>> Is the primary key generated by the WO app or it is external (like a GUID) ?
>>> 
>>> Do you have a secondary identifier that should be unique ?
>>> 
>>> Anyway, you should add constraint in to the database if uniqueness is 
>>> required (this apply to all frameworks in all language)
>>> 
>>> If you use EOF primary key generation, you should not have problems with 
>>> duplicate keys. If you require high throughput, using UUID primary key or 
>>> implementing a custom generator will help by saving round trips to the 
>>> database server. If you insert in batch, it will be also faster than 
>>> individual inserts.
>>> 
>>> Regards,
>>> 
>>> Samuel
>>> 
>>>> Le 22 nov. 2021 à 08:34, Jesse Tayler via Webobjects-dev 
>>>>  a écrit :
>>>> 
>>>> I asked on slack but I figured I’d ping the list
>>>> 
>>>> Who has a good way to ensure a serial EO creation queue when the system 
>>>> could be hit really fast and you must avoid duplicate entries?
>>>> 
>>>> I’m a bit surprised I don’t recall EOF style solutions for such things and 
>>>> maybe the Amazon RDS database has a shared connection pattern the apps can 
>>>> use, I didn’t see anything so I figure this is application level stuff.
>>>> 
>>>> Thoughts? Suggestions?
>>>> ___
>>>> 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/samuel%40samkar.com
>>>> 
>>>> This email sent to sam...@samkar.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: Single thread creation queue?

2021-11-22 Thread Jesse Tayler via Webobjects-dev
Oh? Thanks - I hadn’t heard of such a thing. This would be Amazon RDS which is 
basically MySQL and likely has similar.

Either way I guess I should delete any dups, they either cause an error 
somewhere or at least integrity problems I don’t need.

Is there a good wiki page on migration examples out there?



> On Nov 22, 2021, at 11:19 AM, Aaron Rosenzweig  wrote:
> 
> Sounds like you are using Postgres?
> 
> You can use the syntax “not valid” when you create a constraint to stop the 
> bleeding immediately. It will then only check for new and modified records 
> allowing the bad rows to co-exist. When you get around to it, you can remove 
> the duplicates. 
> 
> If it’s another database, they likely have something similar. 
> 
>> On Nov 22, 2021, at 10:18 AM, Jesse Tayler  wrote:
>> 
>> It’s not a compound key so much as just policy — it’s a handle for social 
>> service and so there should just be one row with that value and don’t need 
>> to tie into the key
>> 
>> I guess I can create a unique index just for that one attribute and it would 
>> presumedly return an error upon save. I should re-write the EO to handle 
>> that error raise and respond by returning the existing object…
>> 
>> I guess that is not hard to figure if that approach sounds sane.
>> 
>> I do have dups and I’d guess the constraint will simply fail if the database 
>> has any dups in it.
>> 
>> I guess writing a migration to handle / remove dups is not practical so I’d 
>> likely remove them by hand, then add the constraint in a migration update 
>> that would gently fail until there are no more dups…
>> 
>> 
>> 
>>> On Nov 22, 2021, at 10:07 AM, Samuel Pelletier  wrote:
>>> 
>>> Jesse,
>>> 
>>> So your row have a primary key and some other unique identifier derived 
>>> other attributes.
>>> 
>>> If the compound key is a combinaison of full attribute values, you cana a 
>>> compound unique key in the database. CREATE UNIQUE INDEX ON Table (col1, 
>>> col2, ..., coln)
>>> 
>>> If it is from partial values, the most reliable way is to add a string 
>>> column with the computed key with it's unique constraint.
>>> 
>>> If you already have duplicate, you can add a method in the migration to 
>>> resolve them before adding the constraint or do it manually...
>>> 
>>> Regards,
>>> 
>>> Samuel
>>> 
>>>> Le 22 nov. 2021 à 09:27, Jesse Tayler  a écrit :
>>>> 
>>>> It’s likely just a unique constraint perhaps.
>>>> 
>>>> It’s not UIDs or primary keys it’s a unique row type based on a couple 
>>>> strings where there should be only one, and that one should last forever.
>>>> 
>>>> There’s an API where calls can come in basically at the same time and 
>>>> instead of fetching first to see if the object exists, I should likely 
>>>> respond to an SQL error rejecting a new row and then fetch and return that 
>>>> existing object based on that error condition.
>>>> 
>>>> I’d suppose the database is the best place for that policy, but I don’t 
>>>> think I’ve implemented constraints quite like that before so I’d need to 
>>>> write some sort of Migrations for it if it’s to be reliable in all those 
>>>> situations where it might encounter duplicate data…hmmm…
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On Nov 22, 2021, at 8:59 AM, Samuel Pelletier  wrote:
>>>>> 
>>>>> Hi Jesse,
>>>>> 
>>>>> Your question may have multiple answers, can you describe the contexts 
>>>>> and duplicate sources you fear ?
>>>>> 
>>>>> Is the primary key generated by the WO app or it is external (like a 
>>>>> GUID) ?
>>>>> 
>>>>> Do you have a secondary identifier that should be unique ?
>>>>> 
>>>>> Anyway, you should add constraint in to the database if uniqueness is 
>>>>> required (this apply to all frameworks in all language)
>>>>> 
>>>>> If you use EOF primary key generation, you should not have problems with 
>>>>> duplicate keys. If you require high throughput, using UUID primary key or 
>>>>> implementing a custom generator will help by saving round trips to the 
>>>>> database server. If you insert in batch, it will be also faster than 
>>>>> individual inserts.
>>>>> 
&g

Re: Single thread creation queue?

2021-11-22 Thread Jesse Tayler via Webobjects-dev
It’s not a compound key so much as just policy — it’s a handle for social 
service and so there should just be one row with that value and don’t need to 
tie into the key

I guess I can create a unique index just for that one attribute and it would 
presumedly return an error upon save. I should re-write the EO to handle that 
error raise and respond by returning the existing object…

I guess that is not hard to figure if that approach sounds sane.

I do have dups and I’d guess the constraint will simply fail if the database 
has any dups in it.

I guess writing a migration to handle / remove dups is not practical so I’d 
likely remove them by hand, then add the constraint in a migration update that 
would gently fail until there are no more dups…



> On Nov 22, 2021, at 10:07 AM, Samuel Pelletier  wrote:
> 
> Jesse,
> 
> So your row have a primary key and some other unique identifier derived other 
> attributes.
> 
> If the compound key is a combinaison of full attribute values, you cana a 
> compound unique key in the database. CREATE UNIQUE INDEX ON Table (col1, 
> col2, ..., coln)
> 
> If it is from partial values, the most reliable way is to add a string column 
> with the computed key with it's unique constraint.
> 
> If you already have duplicate, you can add a method in the migration to 
> resolve them before adding the constraint or do it manually...
> 
> Regards,
> 
> Samuel
> 
>> Le 22 nov. 2021 à 09:27, Jesse Tayler  a écrit :
>> 
>> It’s likely just a unique constraint perhaps.
>> 
>> It’s not UIDs or primary keys it’s a unique row type based on a couple 
>> strings where there should be only one, and that one should last forever.
>> 
>> There’s an API where calls can come in basically at the same time and 
>> instead of fetching first to see if the object exists, I should likely 
>> respond to an SQL error rejecting a new row and then fetch and return that 
>> existing object based on that error condition.
>> 
>> I’d suppose the database is the best place for that policy, but I don’t 
>> think I’ve implemented constraints quite like that before so I’d need to 
>> write some sort of Migrations for it if it’s to be reliable in all those 
>> situations where it might encounter duplicate data…hmmm…
>> 
>> 
>> 
>> 
>>> On Nov 22, 2021, at 8:59 AM, Samuel Pelletier  wrote:
>>> 
>>> Hi Jesse,
>>> 
>>> Your question may have multiple answers, can you describe the contexts and 
>>> duplicate sources you fear ?
>>> 
>>> Is the primary key generated by the WO app or it is external (like a GUID) ?
>>> 
>>> Do you have a secondary identifier that should be unique ?
>>> 
>>> Anyway, you should add constraint in to the database if uniqueness is 
>>> required (this apply to all frameworks in all language)
>>> 
>>> If you use EOF primary key generation, you should not have problems with 
>>> duplicate keys. If you require high throughput, using UUID primary key or 
>>> implementing a custom generator will help by saving round trips to the 
>>> database server. If you insert in batch, it will be also faster than 
>>> individual inserts.
>>> 
>>> Regards,
>>> 
>>> Samuel
>>> 
>>>> Le 22 nov. 2021 à 08:34, Jesse Tayler via Webobjects-dev 
>>>>  a écrit :
>>>> 
>>>> I asked on slack but I figured I’d ping the list
>>>> 
>>>> Who has a good way to ensure a serial EO creation queue when the system 
>>>> could be hit really fast and you must avoid duplicate entries?
>>>> 
>>>> I’m a bit surprised I don’t recall EOF style solutions for such things and 
>>>> maybe the Amazon RDS database has a shared connection pattern the apps can 
>>>> use, I didn’t see anything so I figure this is application level stuff.
>>>> 
>>>> Thoughts? Suggestions?
>>>> ___
>>>> 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/samuel%40samkar.com
>>>> 
>>>> This email sent to sam...@samkar.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: Single thread creation queue?

2021-11-22 Thread Jesse Tayler via Webobjects-dev
It’s likely just a unique constraint perhaps.

It’s not UIDs or primary keys it’s a unique row type based on a couple strings 
where there should be only one, and that one should last forever.

There’s an API where calls can come in basically at the same time and instead 
of fetching first to see if the object exists, I should likely respond to an 
SQL error rejecting a new row and then fetch and return that existing object 
based on that error condition.

I’d suppose the database is the best place for that policy, but I don’t think 
I’ve implemented constraints quite like that before so I’d need to write some 
sort of Migrations for it if it’s to be reliable in all those situations where 
it might encounter duplicate data…hmmm…




> On Nov 22, 2021, at 8:59 AM, Samuel Pelletier  wrote:
> 
> Hi Jesse,
> 
> Your question may have multiple answers, can you describe the contexts and 
> duplicate sources you fear ?
> 
> Is the primary key generated by the WO app or it is external (like a GUID) ?
> 
> Do you have a secondary identifier that should be unique ?
> 
> Anyway, you should add constraint in to the database if uniqueness is 
> required (this apply to all frameworks in all language)
> 
> If you use EOF primary key generation, you should not have problems with 
> duplicate keys. If you require high throughput, using UUID primary key or 
> implementing a custom generator will help by saving round trips to the 
> database server. If you insert in batch, it will be also faster than 
> individual inserts.
> 
> Regards,
> 
> Samuel
> 
>> Le 22 nov. 2021 à 08:34, Jesse Tayler via Webobjects-dev 
>>  a écrit :
>> 
>> I asked on slack but I figured I’d ping the list
>> 
>> Who has a good way to ensure a serial EO creation queue when the system 
>> could be hit really fast and you must avoid duplicate entries?
>> 
>> I’m a bit surprised I don’t recall EOF style solutions for such things and 
>> maybe the Amazon RDS database has a shared connection pattern the apps can 
>> use, I didn’t see anything so I figure this is application level stuff.
>> 
>> Thoughts? Suggestions?
>> ___
>> 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/samuel%40samkar.com
>> 
>> This email sent to sam...@samkar.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


Single thread creation queue?

2021-11-22 Thread Jesse Tayler via Webobjects-dev
I asked on slack but I figured I’d ping the list

Who has a good way to ensure a serial EO creation queue when the system could 
be hit really fast and you must avoid duplicate entries?

I’m a bit surprised I don’t recall EOF style solutions for such things and 
maybe the Amazon RDS database has a shared connection pattern the apps can use, 
I didn’t see anything so I figure this is application level stuff.

Thoughts? Suggestions?
 ___
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 JavaMonitor behavior — Failed to contact 127.0.0.1-1085

2021-05-06 Thread Jesse Tayler via Webobjects-dev


> On May 5, 2021, at 8:43 PM, Paul Hoadley via Webobjects-dev 
>  wrote:
> 
>> I notice I seem to have JavaMonitor running inside JavaMonitor which I guess 
>> is how we ensure it is available — so, that’s a normal config everyone does? 
>> I’m not even sure…
> 
> No, that sounds quite unusual.
> 

HA! Good, well then something good comes of it!

Monitor should not be in itself but should be run and left running, mine is 
only available via IP:port and not via domains.

I’d remove it from itself because that’s not needed and I guess if it ever goes 
down for some reason, I’d log into the instance and spark it up which is all I 
did for wotaskd

I noticed a startup script with basically two lines, one to start wotaskd and 
the other to start monitor, so I can always look there if it is not running.

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

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


Re: strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085

2021-05-05 Thread Jesse Tayler via Webobjects-dev
Ya, I just restarted the wotaskd by hand and I did have to synchronize the 
server to wake things up again

> On May 5, 2021, at 1:03 PM, Jesse Tayler  wrote:
> 
> 
> One of my servers is running ok, but JavaMonitor isn’t getting any contact 
> with what I guess must be wotaskd?
> 
> Any suggestions or seeing what might be down or how to get that back up most 
> properly? I see some notes in the wiki but nothing seemed like a ringer and I 
> can’t recall ever having this happen before? 
> 
> Maybe it’s no worry.
> 
> I notice I seem to have JavaMonitor running inside JavaMonitor which I guess 
> is how we ensure it is available — so, that’s a normal config everyone does? 
> I’m not even sure…
> 
> 

 ___
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


strange JavaMonitor behavior — Failed to contact 127.0.0.1-1085

2021-05-05 Thread Jesse Tayler via Webobjects-dev

One of my servers is running ok, but JavaMonitor isn’t getting any contact with 
what I guess must be wotaskd?

Any suggestions or seeing what might be down or how to get that back up most 
properly? I see some notes in the wiki but nothing seemed like a ringer and I 
can’t recall ever having this happen before? 

Maybe it’s no worry.

I notice I seem to have JavaMonitor running inside JavaMonitor which I guess is 
how we ensure it is available — so, that’s a normal config everyone does? I’m 
not even sure…


 ___
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: macOS deployment?

2021-04-30 Thread Jesse Tayler via Webobjects-dev
It’s not an ecosystem, it’s a container.

You contain your entire deployment and this makes it portable so that it acts 
the same on your desk as as it does on the cloud or anywhere else the container 
runs.

What is it you need for deployment specifically? Or, why is running the app at 
your desk insufficient?

> On Apr 30, 2021, at 10:13 AM, o...@ocs.cz wrote:
> 
> Jesse,
> 
>> On 30. 4. 2021, at 15:50, Jesse Tayler  wrote:
>> I’ve been using Docker which of course, contains the whole thing quite 
>> nicely for this sort of portability
> 
> Thanks!
> 
> Nevertheless, I regret to say I never ever heard of the Docker thing so far. 
> Of course I can just open docker.com and start learning a whole new 
> ecosystem, but frankly, I don't need any other great services it might offer; 
> all I need is simply to deploy a couple of apps, and learning a whole new 
> environment seems a bit steep price for that — is that the only way?
> 
> Or perhaps it would really help if there was a document “how to set up and 
> deploy a WO application through Docker on Big Sur/Catalina 101 for complete 
> dummies who more or less understand WO, JavaMonitor etc., but know zilch of 
> Docker“. Is there something like that? I've tried to find one, but in vain 
> (there seem to be similar things for Tomcat and Azure and whatsnot, there's 
> even a “docker-webobjects-wotaskd” on github without seemingly any 
> documentation... perhaps self-evident for people who understand Docker, but 
> I've no idea :/ )
> 
> Thanks a lot,
> OC
> 
>> 
>>> On Apr 30, 2021, at 9:49 AM, ocs--- via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hi there,
>>> 
>>> for my own local testing purposes, I would need to deploy a couple of WO 
>>> apps locally on a macOS, Catalina or Big Sur.
>>> 
>>> The traditional deployment approach bumps into lots of problems, starting 
>>> with /System being very R/O, new Apache, etc. I've tried to find a page 
>>> explaining howto, but in vain.
>>> 
>>> Did someone succeed to deploy on a current macOS? What's the easiest way to 
>>> do that? (Load and security requirements are very low, for this case, I can 
>>> accept a solution which works, even if it is slow/unsecure.)
>>> 
>>> Thanks a lot,
>>> OC
>>> 
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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: macOS deployment?

2021-04-30 Thread Jesse Tayler via Webobjects-dev
I’ve been using Docker which of course, contains the whole thing quite nicely 
for this sort of portability

> On Apr 30, 2021, at 9:49 AM, ocs--- via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> for my own local testing purposes, I would need to deploy a couple of WO apps 
> locally on a macOS, Catalina or Big Sur.
> 
> The traditional deployment approach bumps into lots of problems, starting 
> with /System being very R/O, new Apache, etc. I've tried to find a page 
> explaining howto, but in vain.
> 
> Did someone succeed to deploy on a current macOS? What's the easiest way to 
> do that? (Load and security requirements are very low, for this case, I can 
> accept a solution which works, even if it is slow/unsecure.)
> 
> Thanks a lot,
> OC
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WOLips bugfixes and new features planning

2021-04-26 Thread Jesse Tayler via Webobjects-dev
I sure look forward to a refresh, not sure why but my current install often 
renders wrong, or basically you have to assume a file is what you expect and 
double-smack and then it draws the fresh name but mostly it is stale screen 
dirt leftover from whatever was there before…



> On Apr 26, 2021, at 8:54 AM, Maik Musall via Webobjects-dev 
>  wrote:
> 
> Hi everyone,
> 
> regarding our WOLips project, I’d like to give a short progress update that I 
> received from Stepan.
> 
> As he can only work on this on weekends, and vacations happened, there’s 
> nothing to show yet, but he’s in the midst of working on migration to the 
> latest Eclipse version. This work could be splitted into 2 parts: code 
> migration and build migration. He reports good progress with code migration 
> but the build system being used is really old. So, he's currently trying to 
> change it to the new build framework based on Maven.
> 
> I’ll keep you updated.
> 
> Maik
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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


Third party cookies not working from an iFrame

2020-12-12 Thread Jesse Tayler via Webobjects-dev
I have cookies not working from an iFrame and I need to set the SameSite 
settings browsers now require

samesite=none and secure=true   

I have apache header rewrites turned on and I try this rule, but I can’t seem 
to figure it out


Header always edit Set-Cookie (.*) “$1;HTTPOnly;Secure;SameSite=none”


Anyone know how I can stuff those cookies to I can get by this SameSite stuff?


 ___
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: Licence for WebObjects

2020-12-08 Thread Jesse Tayler via Webobjects-dev
Ya, the answer is don’t worry about it.

Apple long since dropped support and that’s that. Don’t call it “WO” just say 
it is JAVA, there’s really very little “WO” but for the app server part 



> On Dec 8, 2020, at 6:01 PM, frelin--- via Webobjects-dev 
>  wrote:
> 
> Licensing and WebObjects
> 
> I have a couple of lawyers wondering about the licensing situation for 
> applications developed with WebObjects and Wonder. 
> 
> If anyone here has been in a similar situation and have a readily answer i 
> would really appreciate it!
> 
> /Fredrik
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Quick Q regarding D2W smartAttributes

2020-12-02 Thread Jesse Tayler via Webobjects-dev
Just as a thought, I look and noted I have a component rule for boolean in my 
app with much the same logic at 100 priority. This suggests you’ve just got 
some OTHER rule cranked up and don’t forget that rule could just be VERY strict 
with greater specificity vs. priority.


100 : (smartAttribute.className = 'java.lang.Boolean' and task != 'edit') => 
componentName = ERD2WCustomDisplayBoolean 
[com.webobjects.directtoweb.Assignment]



> On Dec 2, 2020, at 6:15 AM, Markus Ruggiero via Webobjects-dev 
>  wrote:
> 
> Quick question:
> Why does this rule
> 
> 200 : (smartAttribute.className = 'java.lang.Boolean' and task = 'list') => 
> componentName = "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
> 
> not fire (even with a bumped-up prio)? A more specific rule however works but 
> is a nuisance because I have tons of such isXyz propertyKeys. 
> 
> 100 : (propertyKey = 'isActive' and task = 'list') => componentName = 
> "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
> 
> I must be missing something trivial (it's always the trivial things that ruin 
> the day).
> 
> Thanks a lot
> ---markus---
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Quick Q regarding D2W smartAttributes

2020-12-02 Thread Jesse Tayler via Webobjects-dev
Did you make certain your className does indeed report as that form of boolean? 
These things resolve from your model and you can fish around those attributes 
for information.

Honestly, I’ve found that in these cases with D2W I resort to simply reporting 
things from the D2WContext right onto the display (since you are a list there, 
put a string reporting values into your html repetition there)

You should also generally open up the various D2Ws loading from frameworks to 
see where your last firing rule really is.

Although there are better tools for this, I never really learned to use them - 
more like avoid these things where I can and generally just interrogate at 
runtime to see what rules are firing and what values are in the context and 
when.

I’m sure others know how to use the rule firing tools in a more suitable manner.





> On Dec 2, 2020, at 6:15 AM, Markus Ruggiero via Webobjects-dev 
>  wrote:
> 
> Quick question:
> Why does this rule
> 
> 200 : (smartAttribute.className = 'java.lang.Boolean' and task = 'list') => 
> componentName = "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
> 
> not fire (even with a bumped-up prio)? A more specific rule however works but 
> is a nuisance because I have tons of such isXyz propertyKeys. 
> 
> 100 : (propertyKey = 'isActive' and task = 'list') => componentName = 
> "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment]
> 
> I must be missing something trivial (it's always the trivial things that ruin 
> the day).
> 
> Thanks a lot
> ---markus---
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: The secret WOCommunity Slack channel?

2020-11-17 Thread Jesse Tayler via Webobjects-dev
Even if we replace the footer of this email list with links to other resources 
— we don’t need to reflect all the conversations, but folks should have equal 
visible access to all the places information is.

I have also not found anything to really store new stuff in, WIKIs SUCK!! They 
are ugly and lame like we’re back in the 90’s

The new stuff I see, google docs — these are thoughtless ideas that are hard to 
give a place on the web— a domain or even a strong page somewhere.

Maybe we should use GITHub more?

I have all this container deployment stuff I can push he documentation and 
instructions for online, but we have to find a decent location people can 
access…

Suggestions?



> On Nov 17, 2020, at 9:51 AM, Maik Musall via Webobjects-dev 
>  wrote:
> 
> Hi everyone,
> 
> FWIW I added a notice to the main wiki page mentioning both this mailing list 
> and the slack channel. Yeah I know, the Wiki, but that’s what there is right 
> now.
> 
> Maik
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Webobjects-dev Digest, Vol 17, Issue 168

2020-11-02 Thread Jesse Tayler via Webobjects-dev
Is it not possible to make it public?

I think I tried to get in, but honestly, I have so much trouble logging into 
slack with their truly bizarre idea of how to find what channels you belong to 
and log them in on each device you use…a super pain in the butt.

Also, does slack integrate with emails lists such that we can bind these two 
tougher so we all communicate as one list?

> On Nov 2, 2020, at 11:10 AM, Lockhart, Dawn via Webobjects-dev 
>  wrote:
> 
> Please add me to the Slack channel. Thanks.
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: The secret WOCommunity Slack channel?

2020-11-01 Thread Jesse Tayler via Webobjects-dev

This Wiki is disgusting.

Firstly, it looks like ass. 

Secondly you have to edit in bare-knuckles wiki script which is arcane and 
silly.

The world can’t be like this!

Surely, there is some nice looking software you can easily cooperatively edit 
and add photos or whatever links…and don’t say google docs!

Maintaining stuff like this wiki thing is for the birds.


 ___
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: The secret WOCommunity Slack channel?

2020-11-01 Thread Jesse Tayler via Webobjects-dev
Well I was able to get MediWiki up and running and I can post that and start 
off a new party with modern-only information.

I was not able to load the bootstrap framework and the look of these wikis are 
eye-watering.

https://www.mediawiki.org/wiki/Extension_talk:Bootstrap

Anyway, I can try that or if someone throws me a bone on some better idea I can 
try that as well.



> On Nov 1, 2020, at 5:35 PM, Matt Lee via Webobjects-dev 
>  wrote:
> 
> Slack sucks. Wikis are hard. 
> 
> I’m here to help with whatever we need to keep moving. I have a GitLab server 
> (git.gnu.io) and the wiki there is git based. There’s also Mattermost which 
> is like Slack. 
> 
> 
> On Sunday, November 1, 2020, Jérémy DE ROYER via Webobjects-dev 
>  wrote:
> Yes, I do agree with Hugi, we need to re-establish WOCommunity... with a 
> board... to structure things and organize the decisions to be made
> 
> I miss the WO-days.
> 
> I hate covid
> 
> Jérémy
> 
>> Le 1 nov. 2020 à 20:53, Hugi Thordarson via Webobjects-dev 
>>  a écrit :
>> 
>> I kind of hate Slack as well. But unfortunately it currently seems like the 
>> nicest place for real time chat.
>> 
>> I agree about the worries of divergence. We need to re-establish WOCommunity.
>> 
>> As for the old wiki pages, I think they should just be plain abandoned and 
>> buried. There's more misinformation there than information. If we make a 
>> replacement I think it should be more of a blog-style, linking to articles 
>> that people can maintain themselves, like your Docker/WO work that I would 
>> love to hear more about :).
>> 
>> - hugi
>> 
>> 
>> 
>>> On 1 Nov 2020, at 18:09, Jesse Tayler  wrote:
>>> 
>>> I hate slack but we could use a channel like that, I worry about any form 
>>> of divergence because we’re already few and far between
>>> 
>>> I have had great luck with Docker and WO and have a few modern frameworks 
>>> that help keep our apps nicely modern and I’m actually really happy with 
>>> the results so I still love WO and haven’t found anything I could wield 
>>> that kind of power.
>>> 
>>> I should put the Docker stuff into a WIKI page, but I’m also wondering 
>>> about the ‘old’ wiki and who’s maintaining any of that or if we should 
>>> largely start again or something.
>>> 
>>> Ideas?
>>> 
>>> 
>>> 
>>>> On Nov 1, 2020, at 1:06 PM, Hugi Thordarson via Webobjects-dev 
>>>>  wrote:
>>>> 
>>>> The Slack channel is in no way or form meant to be a secret. It's 
>>>> something I started for fun a during a WOWODC session and the more people 
>>>> that join the better!
>>>> 
>>>> I thought it was "common knowledge" by now but I can absolutely understand 
>>>> how the channel can be perceived as "secret", since it's not mentioned 
>>>> anywhere. Totally my bad and I'll work to fix it. It's a problem that goes 
>>>> deeper than just that particular channel.
>>>> 
>>>> - hugi
>>>> 
>>>> 
>>>> 
>>>>> On 1 Nov 2020, at 17:49, Marc Günther via Webobjects-dev 
>>>>>  wrote:
>>>>> 
>>>>> Hi all,
>>>>> 
>>>>> Sorry to bother everyone, but I can find absolutely no information about 
>>>>> this anywhere. I wouldn't even know whom to ask.
>>>>> 
>>>>> Apparently there is a WOCommunity Slack channel since quite a while now:
>>>>> - https://wocommunity.slack.com
>>>>> 
>>>>> I would be very interested to join, but I cannot find a sign up link 
>>>>> anywhere, or a contact person, or any mention of it on the wiki. Is there 
>>>>> a particular reason that this channel is kept so secret? Only for the 
>>>>> elite clique of WOnder contributers and not for the common WebObjects 
>>>>> developer?
>>>>> 
>>>>> I was recently interested in Elm, and I could just join their Slack and 
>>>>> say Hi, and ask questions. It felt very welcoming for new users.
>>>>> 
>>>>> Now, I know there won't be any new users for WO, but it would still be 
>>>>> nice if there wouldn't be this air of mystery about the whole thing. I 
>>>>> mean with the Wiki being out of date for like 5 years, WOInstaller 
>>>>> broken, etc. I recently had to setup WebObjects for development and for 
>>>>> deployment on

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Jesse Tayler via Webobjects-dev
I know EXACTLY what you mean...

> On Nov 1, 2020, at 3:15 PM, Hugi Thordarson  wrote:
> 
> A wiki is a lovely idea, but what I saw happen with the previous wiki was 
> that everyone was "too nice" to just re-edit things, throw out outdated info 
> and correct errors. So if you want to know how something works, you now 
> basically have to read through 15 meters of non-documentation and polite 
> conversation about how things might or might not work.
> 
> So… Sure. We could have a wiki. But I don't think a wiki can serve as the 
> primary source of truth—unless we appoint a merciless editor.
> 
> Anyway, as for the future—we're making a web framework, shouldn't we be using 
> our own medicine? :p
> 
> 
> 
>> On 1 Nov 2020, at 19:57, Jesse Tayler > <mailto:jtay...@oeinc.com>> wrote:
>> 
>> I think “wiki" itself works well for this, real-time chat and pages where we 
>> can use images and formatting and various linking and keep it simple. A 
>> little less ‘moderated’ and a bit more a shared scratch area people can post 
>> whatever they think is useful.
>> 
>> I also agree the old stuff is more outdated or misinformation and really we 
>> should just start again.
>> 
>> Where can we put this sort of thing? A free wiki service or install one on a 
>> server? I guess I could set something up--
>> 
>> 
>>> On Nov 1, 2020, at 2:53 PM, Hugi Thordarson >> <mailto:h...@karlmenn.is>> wrote:
>>> 
>>> I kind of hate Slack as well. But unfortunately it currently seems like the 
>>> nicest place for real time chat.
>>> 
>>> I agree about the worries of divergence. We need to re-establish 
>>> WOCommunity.
>>> 
>>> As for the old wiki pages, I think they should just be plain abandoned and 
>>> buried. There's more misinformation there than information. If we make a 
>>> replacement I think it should be more of a blog-style, linking to articles 
>>> that people can maintain themselves, like your Docker/WO work that I would 
>>> love to hear more about :).
>>> 
>>> - hugi
>>> 
>>> 
>>> 
>>>> On 1 Nov 2020, at 18:09, Jesse Tayler >>> <mailto:jtay...@oeinc.com>> wrote:
>>>> 
>>>> I hate slack but we could use a channel like that, I worry about any form 
>>>> of divergence because we’re already few and far between
>>>> 
>>>> I have had great luck with Docker and WO and have a few modern frameworks 
>>>> that help keep our apps nicely modern and I’m actually really happy with 
>>>> the results so I still love WO and haven’t found anything I could wield 
>>>> that kind of power.
>>>> 
>>>> I should put the Docker stuff into a WIKI page, but I’m also wondering 
>>>> about the ‘old’ wiki and who’s maintaining any of that or if we should 
>>>> largely start again or something.
>>>> 
>>>> Ideas?
>>>> 
>>>> 
>>>> 
>>>>> On Nov 1, 2020, at 1:06 PM, Hugi Thordarson via Webobjects-dev 
>>>>> mailto:webobjects-dev@lists.apple.com>> 
>>>>> wrote:
>>>>> 
>>>>> The Slack channel is in no way or form meant to be a secret. It's 
>>>>> something I started for fun a during a WOWODC session and the more people 
>>>>> that join the better!
>>>>> 
>>>>> I thought it was "common knowledge" by now but I can absolutely 
>>>>> understand how the channel can be perceived as "secret", since it's not 
>>>>> mentioned anywhere. Totally my bad and I'll work to fix it. It's a 
>>>>> problem that goes deeper than just that particular channel.
>>>>> 
>>>>> - hugi
>>>>> 
>>>>> 
>>>>> 
>>>>>> On 1 Nov 2020, at 17:49, Marc Günther via Webobjects-dev 
>>>>>> mailto:webobjects-dev@lists.apple.com>> 
>>>>>> wrote:
>>>>>> 
>>>>>> Hi all,
>>>>>> 
>>>>>> Sorry to bother everyone, but I can find absolutely no information about 
>>>>>> this anywhere. I wouldn't even know whom to ask.
>>>>>> 
>>>>>> Apparently there is a WOCommunity Slack channel since quite a while now:
>>>>>> - https://wocommunity.slack.com <https://wocommunity.slack.com/>
>>>>>> 
>>>>>> I would be very inter

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Jesse Tayler via Webobjects-dev
I think “wiki" itself works well for this, real-time chat and pages where we 
can use images and formatting and various linking and keep it simple. A little 
less ‘moderated’ and a bit more a shared scratch area people can post whatever 
they think is useful.

I also agree the old stuff is more outdated or misinformation and really we 
should just start again.

Where can we put this sort of thing? A free wiki service or install one on a 
server? I guess I could set something up--


> On Nov 1, 2020, at 2:53 PM, Hugi Thordarson  wrote:
> 
> I kind of hate Slack as well. But unfortunately it currently seems like the 
> nicest place for real time chat.
> 
> I agree about the worries of divergence. We need to re-establish WOCommunity.
> 
> As for the old wiki pages, I think they should just be plain abandoned and 
> buried. There's more misinformation there than information. If we make a 
> replacement I think it should be more of a blog-style, linking to articles 
> that people can maintain themselves, like your Docker/WO work that I would 
> love to hear more about :).
> 
> - hugi
> 
> 
> 
>> On 1 Nov 2020, at 18:09, Jesse Tayler > <mailto:jtay...@oeinc.com>> wrote:
>> 
>> I hate slack but we could use a channel like that, I worry about any form of 
>> divergence because we’re already few and far between
>> 
>> I have had great luck with Docker and WO and have a few modern frameworks 
>> that help keep our apps nicely modern and I’m actually really happy with the 
>> results so I still love WO and haven’t found anything I could wield that 
>> kind of power.
>> 
>> I should put the Docker stuff into a WIKI page, but I’m also wondering about 
>> the ‘old’ wiki and who’s maintaining any of that or if we should largely 
>> start again or something.
>> 
>> Ideas?
>> 
>> 
>> 
>>> On Nov 1, 2020, at 1:06 PM, Hugi Thordarson via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> The Slack channel is in no way or form meant to be a secret. It's something 
>>> I started for fun a during a WOWODC session and the more people that join 
>>> the better!
>>> 
>>> I thought it was "common knowledge" by now but I can absolutely understand 
>>> how the channel can be perceived as "secret", since it's not mentioned 
>>> anywhere. Totally my bad and I'll work to fix it. It's a problem that goes 
>>> deeper than just that particular channel.
>>> 
>>> - hugi
>>> 
>>> 
>>> 
>>>> On 1 Nov 2020, at 17:49, Marc Günther via Webobjects-dev 
>>>> mailto:webobjects-dev@lists.apple.com>> 
>>>> wrote:
>>>> 
>>>> Hi all,
>>>> 
>>>> Sorry to bother everyone, but I can find absolutely no information about 
>>>> this anywhere. I wouldn't even know whom to ask.
>>>> 
>>>> Apparently there is a WOCommunity Slack channel since quite a while now:
>>>> - https://wocommunity.slack.com <https://wocommunity.slack.com/>
>>>> 
>>>> I would be very interested to join, but I cannot find a sign up link 
>>>> anywhere, or a contact person, or any mention of it on the wiki. Is there 
>>>> a particular reason that this channel is kept so secret? Only for the 
>>>> elite clique of WOnder contributers and not for the common WebObjects 
>>>> developer?
>>>> 
>>>> I was recently interested in Elm, and I could just join their Slack and 
>>>> say Hi, and ask questions. It felt very welcoming for new users.
>>>> 
>>>> Now, I know there won't be any new users for WO, but it would still be 
>>>> nice if there wouldn't be this air of mystery about the whole thing. I 
>>>> mean with the Wiki being out of date for like 5 years, WOInstaller broken, 
>>>> etc. I recently had to setup WebObjects for development and for deployment 
>>>> on some new machines (MacOS Catalina), and documented the entire process, 
>>>> so I thought, I could update the information on the wiki, but I don't have 
>>>> an account there either, and likewise, no idea on who to ask about it.
>>>> 
>>>> Greetings from Sweden,
>>>> Marc
>>>> 
>>>> ___
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>>> <mailto:Webobjects-dev@lists.apple.com

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Jesse Tayler via Webobjects-dev
I hate slack but we could use a channel like that, I worry about any form of 
divergence because we’re already few and far between

I have had great luck with Docker and WO and have a few modern frameworks that 
help keep our apps nicely modern and I’m actually really happy with the results 
so I still love WO and haven’t found anything I could wield that kind of power.

I should put the Docker stuff into a WIKI page, but I’m also wondering about 
the ‘old’ wiki and who’s maintaining any of that or if we should largely start 
again or something.

Ideas?



> On Nov 1, 2020, at 1:06 PM, Hugi Thordarson via Webobjects-dev 
>  wrote:
> 
> The Slack channel is in no way or form meant to be a secret. It's something I 
> started for fun a during a WOWODC session and the more people that join the 
> better!
> 
> I thought it was "common knowledge" by now but I can absolutely understand 
> how the channel can be perceived as "secret", since it's not mentioned 
> anywhere. Totally my bad and I'll work to fix it. It's a problem that goes 
> deeper than just that particular channel.
> 
> - hugi
> 
> 
> 
>> On 1 Nov 2020, at 17:49, Marc Günther via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> Hi all,
>> 
>> Sorry to bother everyone, but I can find absolutely no information about 
>> this anywhere. I wouldn't even know whom to ask.
>> 
>> Apparently there is a WOCommunity Slack channel since quite a while now:
>> - https://wocommunity.slack.com
>> 
>> I would be very interested to join, but I cannot find a sign up link 
>> anywhere, or a contact person, or any mention of it on the wiki. Is there a 
>> particular reason that this channel is kept so secret? Only for the elite 
>> clique of WOnder contributers and not for the common WebObjects developer?
>> 
>> I was recently interested in Elm, and I could just join their Slack and say 
>> Hi, and ask questions. It felt very welcoming for new users.
>> 
>> Now, I know there won't be any new users for WO, but it would still be nice 
>> if there wouldn't be this air of mystery about the whole thing. I mean with 
>> the Wiki being out of date for like 5 years, WOInstaller broken, etc. I 
>> recently had to setup WebObjects for development and for deployment on some 
>> new machines (MacOS Catalina), and documented the entire process, so I 
>> thought, I could update the information on the wiki, but I don't have an 
>> account there either, and likewise, no idea on who to ask about it.
>> 
>> Greetings from Sweden,
>> Marc
>> 
>> ___
>> 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/hugi%40karlmenn.is 
>> 
>> 
>> This email sent to h...@karlmenn.is 
> 
> ___
> 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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Simplifying Wonder

2020-10-14 Thread Jesse Tayler via Webobjects-dev
Are we talking bifurcation of the root here?

I mean, as long as we’ve lic. code such that it allows us all to freely 
contribute, clearly open-source- we can work things out, but could this not 
make things more complicated for the community?

Also, what are you targeting? I have my own list of grievances but have a 
limited ability to address them because they are DEEP — So, I have a 
framework that my apps are based on to try to modernize and organize and it is 
effectively a ‘patch’ system to try and work around the problem I have and get 
me to a modern interface I can rely on.

Here’s my ‘modern’ look framework

https://github.com/jtayler/BootstrapModernLook

This approach patches on top what you suggest is of course a preferable 
solution, but one that I could not afford the resources to do.

Actually the Ajax.framework is totally cool but built on prototype and the 
internals are just so funky that I was unable to move to modern stuff and 
there’s actually a pinch of javascript in bootstrap modern that allows me to 
trigger menu actions and other things that generally don’t work on Wonder when 
you want to use jQuery based interfaces.

Your solutions may vary!

I’d love to get us all closer together on these central issues like updating 
the Ajax frameworks or WOLips progress because they benefit us all



> On Oct 14, 2020, at 6:11 AM, Hugi Thordarson via Webobjects-dev 
>  wrote:
> 
> Hi all,
> for the past couple of days I've been doing some simplification of Project 
> Wonder with the help of Paul (Hoadley). The goal is to shed some of the 
> weight that Wonder carries and make it easier to develop and make it easier 
> to use it as a tool to carry WO forward.
> 
> What we've got so far is a GitHub community with three repos.
> 
> https://github.com/undur
> 
> - wo-deployment
> -- JavaMonitor
> -- wotaskd
> -- JavaMonitorFramework
> 
> - wonder-slim
> -- ERExtensions
> -- JavaWOExtensions
> -- WOOgnl
> 
> - ajax
> - Well… Ajax
> 
> Although split up, the projects are still basically the same projects as 
> exist within Wonder—although moved to a maven project structure. There's 
> still a lot of cleanup to do, as in, "we're going to have to let 
> 'ERXEuropeanUnionsEnums' go" (sorry about that).  But it's a first step.
> 
> It's very much a work in progress but I'm interested in hearing your 
> opinions, what you think about this and where you'd like to see it going, if 
> anywhere. As for myself, splitting up the monolith of Wonder and making it 
> easier to improve and work on feels pretty awesome. Not to mention the hugely 
> reduced depency graph this results in.
> I'm already using the new projects in production and everything seems to work 
> well.
> 
> There are active discussions going on in the WOCommunity Slack channel, so if 
> you're not there but would like to add your voice to the conversion, it would 
> be lovely to see you there. Or just discuss here if you prefer.
> 
> - hugi
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Headers and AJAX?

2020-10-03 Thread Jesse Tayler via Webobjects-dev
Right, so CORS is basically a browser thing and thus my command line or mobile 
app requests have all worked

So, I added in my virtual host apache configuration

Header set Access-Control-Allow-Origin "*"

But I’m not sure that’s allowing the headers through still?

Imagine a node.js server will just hit an API->JSON and I need to get a Key 
privately from that request

I realize I’m just using those javascript fiddle editor things like postman or 
whatever which I suppose isn’t entirely the same as a node.js request from a 
server since I guess the request is coming out of the web page/browser in those 
cases.

hmm…


> On Oct 3, 2020, at 11:46 AM, Samuel Pelletier  wrote:
> 
> Hi Jesee,
> 
> If your queries are crossing origins, you need to add CORS headers in your 
> responses or on your server configuration.
> 
> Those includes rules for allowed cookies and headers.
> 
> I do not think they are required for same origin requests but this may be 
> something added lately.
> 
> Regards,
> 
> Samuel
> 
>> Le 3 oct. 2020 à 08:18, Jesse Tayler via Webobjects-dev 
>>  a écrit :
>> 
>> 
>> I have relied on passing auth keys in headers from mobile apps and scripts.
>> 
>> I can even stuff a header into a curl statement
>> 
>>  curl -H "Authorization: MY_PRIVATE_KEY"
>> 
>> In WO I can simply ask
>> 
>>  request().headerForKey("Authorization”);
>> 
>> And I get that key,  always works as I’d expect
>> 
>> now I’m testing some AJAX and I see a few things
>> 
>> 1. It makes my header lowercase?
>> 2. I can print out all headers and all keys from WO and I can see my header 
>> listed but I’m never able to read it? Even if I use lowercase or change keys 
>> I never get a header in WO when I send it from AJAX
>> 
>> How could this be?
>> 
>> Is this some OTHER form of header or something?
>> 
>> 
>> I try a few ways to insert headers all to the same effect
>> 
>> 
>> 
>>  beforeSend: function (xhr) {
>>  xhr.setRequestHeader ("Authorization", "MY_PRIVATE_KEY”);
>>  },
>> 
>> 
>> 
>> 
>> Or--
>> 
>> 
>> 
>>  headers: {
>>   "Authorization": "MY_PRIVATE_KEY”,
>>  "my-second-header": "second value”
>>  },
>> 
>> 
>> ___
>> 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/samuel%40samkar.com
>> 
>> This email sent to sam...@samkar.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


Headers and AJAX?

2020-10-03 Thread Jesse Tayler via Webobjects-dev

I have relied on passing auth keys in headers from mobile apps and scripts.

I can even stuff a header into a curl statement

curl -H "Authorization: MY_PRIVATE_KEY"

In WO I can simply ask

request().headerForKey("Authorization”);

And I get that key,  always works as I’d expect

now I’m testing some AJAX and I see a few things

1. It makes my header lowercase?
2. I can print out all headers and all keys from WO and I can see my header 
listed but I’m never able to read it? Even if I use lowercase or change keys I 
never get a header in WO when I send it from AJAX

How could this be?

Is this some OTHER form of header or something?


I try a few ways to insert headers all to the same effect



beforeSend: function (xhr) {
xhr.setRequestHeader ("Authorization", "MY_PRIVATE_KEY”);
},




Or--



headers: {
 "Authorization": "MY_PRIVATE_KEY”,
"my-second-header": "second value”
},


 ___
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: How to Manually edit SiteConfig.xml

2020-10-01 Thread Jesse Tayler via Webobjects-dev

I was thinking I could stub out the scripts I’m using, some are quite generic 
some just have some handy little parts to them.

Maybe there is a good wiki area I should use? 

What I think is best is if those of us interested can all basically call upon 
the same stuff and share best practices as we go,




> On Oct 1, 2020, at 7:09 PM, Paul Hoadley  wrote:
> 
> Hi Jesse,
> 
> On 2 Oct 2020, at 00:24, Jesse Tayler via Webobjects-dev 
>  wrote:
> 
>> Robert Hannah and I have worked out a GREAT deployment using GIT where the 
>> files end up being right where wodocker mount points are, and with a 
>> "user-data" script to start off the EC2 instances -- I run a single script 
>> to configure the whole thing from keys to the app to the containers, 
>> configurations, javamonitor setup. Done and starts up on its own, reliably, 
>> from scratch.
>> 
>> I’m happy to share any or all of these config files, we’ve been delighted 
>> with the results so far!
> 
> I'd be very interested to hear more about what you're doing. Is there any 
> chance you'd do a write-up of the whole thing? Obviously that's work for you, 
> but if you were thinking about it, then I am one guaranteed set of eyeballs, 
> and I have no doubt there would be lots of other interested readers on this 
> list!
> 
> 
> -- 
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
> 

 ___
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: How to Manually edit SiteConfig.xml

2020-10-01 Thread Jesse Tayler via Webobjects-dev
I’ve picked up that very same docker and can’t quite edit that original it but 
I do have one based on top of it.

Adding Python3 and ImageMagic and a couple tools like S3 bucket stuff for AWS, 
this builds our entire environment.

https://hub.docker.com/r/truanon/server

I find this container to work great with WO— from load balancing to spinning up 
new instances it is testable and reliable.

Robert Hannah and I have worked out a GREAT deployment using GIT where the 
files end up being right where wodocker mount points are, and with a 
"user-data" script to start off the EC2 instances -- I run a single script to 
configure the whole thing from keys to the app to the containers, 
configurations, javamonitor setup. Done and starts up on its own, reliably, 
from scratch.

I’m happy to share any or all of these config files, we’ve been delighted with 
the results so far!

I think we can all pool together our docker related configs and create a 
baseline everyone can benefit from




> On Oct 1, 2020, at 10:38 AM, Aaron Rosenzweig via Webobjects-dev 
>  wrote:
> 
> Thanks Don,
> 
> How do you like that setup? 
> 
> Why do you have both Kubernetes and Elastic Beanstalk? Is one new and you are 
> testing the waters? 
> AARON ROSENZWEIG / Chat 'n Bike
> e:  aa...@chatnbike.com  t:  (301) 956-2319
>   
> 
>> On Sep 30, 2020, at 10:03 PM, Don Lindsay  wrote:
>> 
>> I have a working Docker, Kubernetes implementation in AWS 
>> 
>> I also have a Elastic Beanstalk Docker functional stack with Wotaskd and 
>> JavaMonitor with NGINX as the proxy
>> 
>> You can start looking at how to do it by searching WebObjects Docker
>> 
>> rentzsch/docker-webobjects
>> alextu/wodocker
>> 
>> Both of these will help you get started but you will have to build your own 
>> Docker recipe to match your configuration.
>> 
>> Thanks,
>> 
>> Don
>> 
>>> On Aug 25, 2020, at 16:57, Aaron Rosenzweig via Webobjects-dev 
>>>  wrote:
>>> 
>>> On a related note, I’m wondering how many people have ditched the Apple 
>>> DevOps tools and started managing their .woa instances with Kubernetes 
>>> containers? Would that solve some of what Bob is wanting to do and maybe 
>>> also be more robust and flexible? 
>>> AARON ROSENZWEIG / Chat 'n Bike
>>> e:  aa...@chatnbike.com  t:  (301) 956-2319
>>> 
>>> 
 On Aug 24, 2020, at 9:23 PM, bob--- via Webobjects-dev 
  wrote:
 
 I have to do a bunch of configuring of apps that I would rather script 
 than do by hand. Mainly it’s adding new instances and then ensuring the 
 names match a naming convention. There does not appear to be a way of 
 renaming instances via REST so I was looking at editing the SiteConfig.xml 
 file on the WOMonitor machine. BUT I’m concerned I don’t know what I need 
 to do to do that safely / correctly. 
 
 Any help would be appreciated including telling me I should just suck it 
 up and edit by hand, although that is sad for 100+ instance names.
 ___
 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/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.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/pccdonl%40me.com
>>> 
>>> This email sent to pccd...@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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: ERAttachment Framework Broken by Anjo Krank's ERXDatabaseContect "HACK"

2020-09-09 Thread Jesse Tayler via Webobjects-dev
I use S3 to store attachments so I likely can’t help but wonder if you can use 
an alternate method of storage?

What is it that you are trying to do or change that causes this to arise?

> On Sep 9, 2020, at 8:01 PM, Kwasi O-Ahoofe via Webobjects-dev 
>  wrote:
> 
> Problem: [ak] Hack: Will/Can NEVER be met/satisfied because NEWLY created 
> ERAttachment has an inaccessible relationship to it’s corresponding data in 
> ERAttachmentData. 
> 
> The stringent data validation below throws exception and can’t save the data! 
> Any ideas and/or work arounds?
> 
> Thanks.
> 
> Kwasi O-Ahoofe
> 
> ===
> The link to repository: 
> https://github.com/wocommunity/wonder/blob/master/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXDatabaseContext.java
>  
> 
> 
> 
> Offending Code:
> 
> Begins: ===
>   @Override
>   public void _verifyNoChangesToReadonlyEntity(EODatabaseOperation dbOp) {
>   EOEntity entity = dbOp.entity();
>   
>   NSLog.out.appendln(
>   "\n \n Begin:  << _verifyNoChangesToReadonlyEntity>>  " + 
> this.name() + " \n \n" +
>   "\n \n mEOEntity entity: \n \t"  + ((EOEnterpriseObject) 
> dbOp.entity()).entityName()  +   
>   "\n \n EODatabaseOperation dbOp(): \n \t"  +   
> dbOp.databaseOperator()  +
>   
>   "\n \n dbOp << primaryKeyAttributeNames() >>: \n \t"  + 
> dbOp.entity().primaryKeyAttributeNames()  + 
>   "\n \n  [ dbOp.dbSnapshot() ] : \n \t"  + 
>   ERXMutableDictionary.toPropertyList( dbOp.dbSnapshot() 
> ) +   
>   "\n \n End:  << _verifyNoChangesToReadonlyEntity >>: " + 
> this.name() + "  Method \n \n");
>   
>   
>   if (entity.isReadOnly()) {
>   switch (dbOp.databaseOperator()) {
>   case 0: // '\0'
>   return;
> 
>   case 1: // '\001'
>   throw new IllegalStateException("cannot insert 
> object:" + dbOp.object() + " that corresponds to read-only entity: " + 
> entity.name() + " in databaseContext " + this);
> 
>   case 3: // '\003'
>   throw new IllegalStateException("cannot delete 
> object:" + dbOp.object() + " that corresponds to read-only entity:" + 
> entity.name() + " in databaseContext " + this);
> 
>   case 2: // '\002'
>   if (!dbOp.dbSnapshot().equals(dbOp.newRow())) {
>   throw new IllegalStateException("cannot 
> update '" + dbOp.rowDiffsForAttributes(entity.attributes()).allKeys() + "' 
> keys on object:" + dbOp.object() + " that corresponds to read-only entity: " 
> + entity.name() + " in databaseContext " + this);
>   }
>   return;
>   }
>   }
>   
>   // HACK: ak these methods are protected, so we call them via KVC
>   if (dbOp.databaseOperator() == 2 && ((Boolean) 
> NSKeyValueCoding.Utility.valueForKey(entity, 
> "_hasNonUpdateableAttributes")).booleanValue()) {
>   NSArray keys = (NSArray) 
> NSKeyValueCoding.Utility.valueForKey(entity, "dbSnapshotKeys");
>   NSDictionary dbSnapshot = dbOp.dbSnapshot();
>   NSDictionary newRow = dbOp.newRow();
>   for (int i = keys.count() - 1; i >= 0; i--) {
>   String key = (String) keys.objectAtIndex(i);
>   EOAttribute att = entity.attributeNamed(key);
>   // FIX: ak when you have single-table 
> inheritance and in the
>   // child there are foreign keys that are not in 
> the parent
>   // THEN, if the entity 
> _hasNonUpdateableAttributes (public PK or
>   // read only props) the DB op is checked
>   // against the attributes. BUT this dictionary 
> has all entries,
>   // even from the child (most likely NULL values)
>   // and the current implementation doesn't check 
> against the case
>   // when the attribute isn't present in the 
> first place.
>   // SO we add this check and live happily ever 
> after
>   if (att != null && att._isNonUpdateable() && 
> !dbSnapshot.objectForKey(key).equals(newRow.objectForKey(key))) {
>   if (att.isReadOnly()) {
>   throw new 
> 

Re: Monitor problem

2020-09-09 Thread Jesse Tayler via Webobjects-dev
You do have to have some args I think to tell monitor and wotaskd to spin the 
instance and all that.

As to why it would not start? That doesn’t sound good and you should try to see 
what went down — RAM? Who knows…

Look for clues in logs or other

> On Sep 9, 2020, at 2:02 AM, GILQUIN Pierre via Webobjects-dev 
>  wrote:
> 
> Hi all,
>  
> I have a issue with Monitor. I use 2 instances of an app (XX-1 and XX-2).
> They are restarted every night :  XX-1 at 3h and XX-2 at 4h so as not 
> interfering during their initialization start.
> In some circumstance, XX-1 did not restart.
> Then, I restarted XX-1 manually (using Autorecover) and even if everything 
> seems good in Monitor, all sessions go only to XX-2.
>  
> Any idea what can be wrong in my monitor config ?  
>  
> Thanks in advance
> Pierre
> ___
> 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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Apps not showing in adaptor info but are in WOMonitor

2020-09-05 Thread Jesse Tayler via Webobjects-dev
No, but the number is obviously suspect as a "limit" and so just google that, 
repair and go on about your day...

> On Sep 5, 2020, at 9:04 PM, b...@xmsi.com wrote:
> 
> So I believe all the apps are running but I don’t think the Apache WOAdaptor 
> believes that. I just noticed that It shows 128 running instances instead of 
> the proper 180. 128 seems like a suspicious number does anyone know if there 
> is some limit set in place X  to number of running instances the adaptor will 
> allow? 
> 
> 
> 
>> On Sep 5, 2020, at 20:52, Jesse Tayler  wrote:
>> 
>> Well, I don’t know but each app has a port assigned and you should see that 
>> in monitor and in ps -axww or whatever you should be able to see which 
>> instances are which.
>> 
>> You should be able to hit instances specifically using a URL with the woport 
>> somehow on the URL, perhaps someone recalls or you can look that up.
>> 
>> But from the sound of it, those tools should tell you what instances are in 
>> the load balance or not.
>> 
>> 
>>> On Sep 5, 2020, at 8:44 PM, bob--- via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hi I would really appreciate any help you have to offer. 
>>> 
>>> I’m looking for help debugging why the Adaptor does not show all the 
>>> instances that monitor shows as running. I believe this is causing users 
>>> not to hit many instances that are running. 
>>> 
>>> I have a single webserver with 6 appservers. I have 2 applications all them 
>>> A and B, A  is configured for 25 instances per server B has 10 per server. 
>>> A has the complication that there are Odd/Even week executables so there 
>>> are actually 50 configured but only 25 running at a time.  Everything looks 
>>> fine in WOMonitor and the apps do launch. I enabled adaptorInfo so I could 
>>> see more about my problem.
>>> 
>>> I am able to hit instances of B and WOStats seems to show that users are 
>>> spread across B. However Users are not hitting all the instances of A. I 
>>> see the A’s are all running as expected, The A logs look fine and do show 
>>> that noone is hitting them. I looked in the Adaptor info and found that 
>>> servers 6,7 don’t show up in the Adaptor info. 
>>> 
>>> I had been using named host 1085 style for WebObjectsConfig
>>> 
>>> I changed to the XML file and didn’t see any change in the adaptor. 
>>> 
>>> I worried that maybe all the not running A instances were somehow 
>>> interfering since the config.xml file did have ALL the instances not just 
>>> the running ones.  So I manually removed 1/2 of the A entries to only have 
>>> the running ones. No change.
>>> 
>>> B does have fewer total instances but they all show up in the adaptor info. 
>>> 
>>> Would really appreciate any thoughts on how to get the apps to show up for 
>>> the adaptor so users can actually hit them. 
>>> 
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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: Apps not showing in adaptor info but are in WOMonitor

2020-09-05 Thread Jesse Tayler via Webobjects-dev
Well, I don’t know but each app has a port assigned and you should see that in 
monitor and in ps -axww or whatever you should be able to see which instances 
are which.

You should be able to hit instances specifically using a URL with the woport 
somehow on the URL, perhaps someone recalls or you can look that up.

But from the sound of it, those tools should tell you what instances are in the 
load balance or not.


> On Sep 5, 2020, at 8:44 PM, bob--- via Webobjects-dev 
>  wrote:
> 
> Hi I would really appreciate any help you have to offer. 
> 
> I’m looking for help debugging why the Adaptor does not show all the 
> instances that monitor shows as running. I believe this is causing users not 
> to hit many instances that are running. 
> 
> I have a single webserver with 6 appservers. I have 2 applications all them A 
> and B, A  is configured for 25 instances per server B has 10 per server. A 
> has the complication that there are Odd/Even week executables so there are 
> actually 50 configured but only 25 running at a time.  Everything looks fine 
> in WOMonitor and the apps do launch. I enabled adaptorInfo so I could see 
> more about my problem.
> 
> I am able to hit instances of B and WOStats seems to show that users are 
> spread across B. However Users are not hitting all the instances of A. I see 
> the A’s are all running as expected, The A logs look fine and do show that 
> noone is hitting them. I looked in the Adaptor info and found that servers 
> 6,7 don’t show up in the Adaptor info. 
> 
> I had been using named host 1085 style for WebObjectsConfig
> 
> I changed to the XML file and didn’t see any change in the adaptor. 
> 
> I worried that maybe all the not running A instances were somehow interfering 
> since the config.xml file did have ALL the instances not just the running 
> ones.  So I manually removed 1/2 of the A entries to only have the running 
> ones. No change.
> 
> B does have fewer total instances but they all show up in the adaptor info. 
> 
> Would really appreciate any thoughts on how to get the apps to show up for 
> the adaptor so users can actually hit them. 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: New installation fail?

2020-09-02 Thread Jesse Tayler via Webobjects-dev


> On Sep 1, 2020, at 8:34 PM, Paul Hoadley  wrote:
> 
> 4. Make the usual Apache config modifications for WebObjects.
> 

Interestingly, I was able to find these scripts on my production server still 
sitting there.

And they did indeed do a lot of fun and interesting stuff.

I can see there’s an Adaptor in Wonder for apache but I was totally unable to 
build the mod_WebObjects.so and get apache running and that’s where I’m at now.

I should just be able to download the binary from a build somewhere shouldn’t I?


 ___
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: New installation fail?

2020-09-01 Thread Jesse Tayler via Webobjects-dev
Same

I hack a bit further and might get through but I still hope some’s got working 
scripts still…

If not, we’ll make one!



> On Sep 1, 2020, at 1:18 PM, Theodore Petrosky  wrote:
> 
> i feel i should zip up my installer folder and send it. there were so many 
> experiments. i was looking to create a script that would install everything 
> and compile on the target EC box what was needed.
> 
> I got most of the way there. it still required some hand tweaking at the end.
> 
> the real issue is that it was so long ago in a solar system that doesn’t 
> exist anymore
> 
> Ted
> 
>> On Sep 1, 2020, at 1:04 PM, Jesse Tayler  wrote:
>> 
>> 
>> Well, it seems I was able to find some decade old scripts that had a LOT of 
>> important things in them all working at one time.
>> 
>> This fails in several ways like not finding this public S3 bucket or 
>> dependencies and I figure other folks must rely on EC2/S3
>> 
>> I can make sure I script out whatever I eventually get working for it but me 
>> thinks other folks are using something else or maintaining their instances 
>> another way?
>> 
>> 
>> 
>> 
>>> On Sep 1, 2020, at 1:00 PM, Theodore Petrosky  wrote:
>>> 
>>> All of my experiments revolved around compiling everything on the target 
>>> machine.
>>> 
>>> I will look around for the link, but there is a section that has an 
>>> installer script that is quite awesome.
>>> 
>>> Give me a little to look around.
>>> 
>>> Ted
>>> 
>>>> On Sep 1, 2020, at 11:45 AM, Jesse Tayler  wrote:
>>>> 
>>>> 
>>>> I'm launching a new EC2 Instance and just installing from scratch and I 
>>>> found my way to this page
>>>> 
>>>> https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux
>>>> 
>>>> These WO installs all have bad links or dead services?
>>>> 
>>>> sudo yum install wotaskd
>>>> sudo yum install womonitor
>>>> sudo yum install woadaptor
>>>> 
>>>> 
>>>> I notice there’s stuff here
>>>> 
>>>> https://packages.wocommunity.org/CentOS/latest/i386/
>>>> 
>>>> I'm not even certain I recall what CentOS is, I’m apparently on Amazon 
>>>> Linux 2
>>>> 
>>>> Ok, so what’s the latest working method for updating an EC2 instance?
>>>> 
>>>> 
>>> 
>> 
> 

 ___
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: New installation fail?

2020-09-01 Thread Jesse Tayler via Webobjects-dev

Well, it seems I was able to find some decade old scripts that had a LOT of 
important things in them all working at one time.

This fails in several ways like not finding this public S3 bucket or 
dependencies and I figure other folks must rely on EC2/S3

I can make sure I script out whatever I eventually get working for it but me 
thinks other folks are using something else or maintaining their instances 
another way?


#!/bin/bash

### All userdata scripts should include this section ###

### ---8<-- ###

yum -y install make

# Install WebObjects deployment environment
echo "Installing the WebObjects deployment environment"
wget http://webobjects.s3.amazonaws.com/wo-install.sh -O /wo-install.sh
chmod 775 /wo-install.sh
/wo-install.sh

# Next we install s3 command line tools (http://timkay.com/aws/). 
# We need these to enable us to fetch stuff from private s3 buckets.
echo "s3get is not installed so installing it now"
# Fetch the aws cli tool
curl -L github.com/timkay/aws/raw/master/aws -o aws
# Install the aws cli tool
perl aws --install

# Create an .awssecret file
touch /root/.awssecret
cat >> /root/.awssecret << END
ITWASANOLDCODEANYWAY
THISISNOTTHEREALCODEBUTTHEREISANS3KEY/wsYB544 
END

### ---8<-- ###

# Add a helloworld user. The default user is appserver, which might suffice for 
your needs. We
# run each cluster of servers as a specific named user as we load properties 
(using ERXProperties)
# on a per-cluster basis.
echo "Adding a helloworld user to the appserveradm group"
useradd -g appserveradm helloworld

# Change the user in the WebObjects init.d script
echo "Changing the user who runs WebObjects services to helloworld"
cd /etc/init.d/
sed --in-place=.backup 's/USER=appserver/USER=helloworld/g' webobjects

# Fix the permissions
echo "Fixing permissions"
chmod 755 /etc/init.d/webobjects

# Fix user and group
echo "Fixing users and groups"
chown -R helloworld:appserveradm /opt/WOApplications
chown -R helloworld:appserveradm /opt/WOWebServerResources
chown -R helloworld:appserveradm /opt/WODeployment

# Wait for 10 seconds to ensure that the user and group changes have propogated
echo "Wait for 10 seconds to ensure that the user and group changes have 
propogated"
sleep 10

# Restart WO services
echo "Starting WebObjects services"
/etc/init.d/webobjects start

# Wait for 30 seconds to ensure that WebObjects services have booted before 
continuing
echo "Wait for 30 seconds to ensure that WebObjects services have booted before 
continuing"
sleep 30

# Add a host
echo "Adding a host"
curl -X POST -d "{id: '127.0.0.1',type: 'MHost', osType: 'UNIX',address: 
'127.0.0.1', name: '127.0.0.1'}" 
http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mHosts.json

# Configure the WOAdaptorURL
echo "Configuring the WOAdaptorURL in Java Monitor"
curl -X PUT -d "{woAdaptor:'http://prod.clicktravel.com/apps/WebObjects'}" 
http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mSiteConfig.json

# Fetch and run our install dependencies script. We fetch this from the public 
webobjects s3 bucket.
echo "Fetch and run the helloworld server installation dependencies script"
touch /helloworld-deps-install.sh
s3get webobjects/helloworld-deps-install.sh /helloworld-deps-install.sh
chmod 775 /helloworld-deps-install.sh
/helloworld-deps-install.sh

# Fetch and run our apps install script. We fetch this from the public 
webobjects s3 bucket.
echo "Fetch and run our helloworld server application install script"
touch /helloworld-install.sh
s3get webobjects/helloworld-install.sh /helloworld-install.sh
chmod 775 /helloworld-install.sh
/helloworld-install.sh

# Configure the WOAdaptorURL and password
echo "Configuring the password in Java Monitor"
curl -X PUT -d "{password:'wonderful'}" 
http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mSiteConfig.json

sudo ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime

echo "Job done!"


> On Sep 1, 2020, at 1:00 PM, Theodore Petrosky  wrote:
> 
> All of my experiments revolved around compiling everything on the target 
> machine.
> 
> I will look around for the link, but there is a section that has an installer 
> script that is quite awesome.
> 
> Give me a little to look around.
> 
> Ted
> 
>> On Sep 1, 2020, at 11:45 AM, Jesse Tayler  wrote:
>> 
>> 
>> I'm launching a new EC2 Instance and just installing from scratch and I 
>> found my way to this page
>> 
>> https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux
>> 
>> These WO installs all have bad links or dead services?
>> 
>> sudo yum install wotaskd
>> sudo yum instal

New installation fail?

2020-09-01 Thread Jesse Tayler via Webobjects-dev

I'm launching a new EC2 Instance and just installing from scratch and I found 
my way to this page

https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux

These WO installs all have bad links or dead services?

sudo yum install wotaskd
sudo yum install womonitor
sudo yum install woadaptor


I notice there’s stuff here

https://packages.wocommunity.org/CentOS/latest/i386/

I'm not even certain I recall what CentOS is, I’m apparently on Amazon Linux 2

Ok, so what’s the latest working method for updating an EC2 instance?


 ___
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: Anything to help implement SSO in WO/WONDER?

2020-08-29 Thread Jesse Tayler via Webobjects-dev
Single sign on? What involved? Don’t you just wire up to google or some oauth?

> On Aug 28, 2020, at 11:45 PM, Robert Hanviriyapunt via Webobjects-dev 
>  wrote:
> 
> Anything to help implement SSO in WO/WONDER?
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Apache rules and SSL

2020-08-27 Thread Jesse Tayler via Webobjects-dev
On the way I notice that some URLs don’t honor secure

String link = context().directActionURLForActionNamed("dash", 
null);

I should be using a Wonder API for a regular DA url? Odd I was using that…

Paul?

Redirect permanent / https://foo.example.com/

Sounds smart — but doesn’t that simply change the entrance vs force ssl/https 
version of all urls?




> On Aug 27, 2020, at 7:56 PM, Paul Hoadley  wrote:
> 
> Hi Jesse,
> 
> On 28 Aug 2020, at 07:10, Jesse Tayler via Webobjects-dev 
>  wrote:
> 
>> I use AWS+Route53 for SSL and I really just want to force all requests to 
>> HTTPS and I’m having trouble
> 
> This should be sufficient in vhosts.conf:
> 
> 
> ServerName foo.example.com
> Redirect permanent / https://foo.example.com/
> 
> 
> 
> -- 
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
> 
> 
> 

 ___
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


Apache rules and SSL

2020-08-27 Thread Jesse Tayler via Webobjects-dev

I use AWS+Route53 for SSL and I really just want to force all requests to HTTPS 
and I’m having trouble

I have a few common WO rewrites to shorten URLs


RewriteRule ^/signup /apps/WebObjects/MyAppName.woa/wa/signup 
[last,passthrough]
RewriteRule ^/default /apps/WebObjects/MyAppName.woa/wa/default 
[last,passthrough]

RewriteRule ^/myappname(.*)$ /apps/WebObjects/MyAppName.woa$1 [PT,L]


And I seem to have these SSL related:

RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]



And no matter how I try to program this, I get too many redirects because 
apparently my rules run a loop or something?

Basic redirects are not unique to WebObjects!

How are you guys programming apache to shorten URLs and also bounce to SSL if 
it is not already?


 ___
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: anyone else tried Big Sur? - DirectConnect problem

2020-08-25 Thread Jesse Tayler via Webobjects-dev
I use something like that, I’d bet it is still a stale handle somehow.

If you can’t see a task, then restart? Works on windows...

> On Aug 25, 2020, at 2:06 PM, Tim W via Webobjects-dev 
>  wrote:
> 
> I know, I probably shouldn’t have done this. But,
> 
> Everything seems to be going well for dev. Except…..when I try to run any of 
> my apps, I get 
> 
> Aug 25 10:55:26 eTimesheet[N/A] INFO  er.extensions.appserver.ERXApplication  
> - WODefaultAdaptor
> Aug 25 10:55:26 eTimesheet[N/A] INFO  er.extensions.appserver.ERXApplication  
> - {WOHost = "127.0.0.1"; WOWorkerThreadCountMin = 16; WOWorkerThreadCountMax 
> = 256; WOPort = 5; WOListenQueueSize = 128; WOAdaptor = 
> "WODefaultAdaptor"; WOMaxSocketIdleTime = 18; WOWorkerThreadCount = 8; }
> Aug 25 10:55:26 eTimesheet[N/A] WARN  NSLog  - Unable to establish a 
> connection to port 5 on this host.  Perhaps this port is already in use 
> by another WebObjects application instance.
> 
> Caused by: com.webobjects.foundation.NSForwardException 
> [java.net.BindException] Address already in use:java.net.BindException: 
> Address already in use
> 
> This happens regardless of whether I declare a WOPort argument. Since there 
> is a BindException, ERXApplication.stopPreviousDevInstance() is called. lsof 
> indicates there isn’t anything else using the port in question.
> 
> lsof -nP -iTCP -sTCP:LISTEN | grep 5
> 
> …returns no results. Maybe Big Sur is blocking certain localhost connections 
> by default. Looking into it more but if anyone has gotten past this already 
> I’d love to hear suggestions/solutions.
> 
> Tim
> UCLA GSE
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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


add an onClick to a CCSmartAjaxButton?

2020-08-19 Thread Jesse Tayler via Webobjects-dev

I notice that if I bind an onClick to a CCSmartAjaxButton I don’t see that tag 
in the DOM later

Leading me to think it was stripped

Leading me to wonder if you can use javascript in the href as the 
CCSmartAjaxButton does and still have an onclick behavior?

I'm really just trying to make sure my form submit buttons generally do some 
fancy animation while loading…not a high priority

Anyone know what’s up with that?



SaveButton: CCSmartAjaxButton {
action = submitAction;
onClick = "setLoading()";
alt = "Saves your changes";



 ___
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: Storing serialized object in MySql Database

2020-08-11 Thread Jesse Tayler via Webobjects-dev
hmmm…what’s your model look like? Or how are you setting up the storage of that 
data?

Sounds like you want a string and might watch the encoding of it before storage 
— 

It sounds perhaps like this error could occur because your data types are 
mismatched in a way that results in a validation error that doesn’t sound 
helpful or familiar…

Sometimes databases or models have fancy options when really you just need a 
string and it’s no big deal and so, you might look that over for sanity...

> On Aug 11, 2020, at 3:17 PM, Don Lindsay  wrote:
> 
> Hello;
> 
> I am not using JSON here, I certainly could but that is not what the customer 
> has requested.  They want serialized Java Objects, not Java Script Object 
> Notation.  Java Serialized objects are byte arrays, much like a stream of 
> file contents read from a disk with Reader object.
> 
> I have checked all my types and they are fine, I have even tried different 
> types (var binary, BLOB, etc) all puke on a byte array.
> 
> None of the other columns have an issue, if I comment out 
> getSelectedTile().takeStoredValueForKey(Session.convertObject(new
>  TileStorage(this)),"serial”); the object inserts into the EC and save works.
> 
> Thanks,
> 
> Don
> 
>> On Aug 11, 2020, at 09:30, Jesse Tayler  wrote:
>> 
>> Well, I’m sure there is validation for JSON since that has issues with 
>> format and encodings, so I’d expect some of that sort of thing here.
>> 
>> I don’t really see the value or whatever expected type, so I’d find that 
>> value that breaks it and test it —
>> 
>> One thing I wonder is about text encoding, are you certain you’ve got all 
>> your types correct?
>> 
>> I mean, it is gaging on a value somewhere, it could be a small as an invalid 
>> character or sequence.
>> 
>>> On Aug 11, 2020, at 8:26 AM, Don Lindsay  wrote:
>>> 
>>> The value entered for Serial is not a valid ?.
>>> 
>>> ERXVaidationException
>>> 
>>> I have setup no Validation, so it must be Wonder or WebObjects base 
>>> validation that is throwing the error
>>> 
>>>> On Aug 10, 2020, at 18:20, Jesse Tayler  wrote:
>>>> 
>>>> Did you list your error?
>>>> 
>>>>> On Aug 10, 2020, at 6:08 PM, Don Lindsay via Webobjects-dev 
>>>>>  wrote:
>>>>> 
>>>>> Hello;
>>>>> 
>>>>> I have an app that the ucxstomer has asked to store specific serialized 
>>>>> objects into a MySQL database.  I have stored serialized objects in MySQL 
>>>>> many times, at customer request.  I get an error  am trying to populate 
>>>>> the field with incorrect data type.  The convertObject method is a 
>>>>> standard format method for serializing a java object.  It is the same 
>>>>> code we use for converting objects to byte arrays in another application 
>>>>> that uses jdbc.  The object is able to be serialized fine, but can’t be 
>>>>> put into the column and then saved to the database by EOF.
>>>>> 
>>>>> The Code:
>>>>> getSelectedTile().takeStoredValueForKey(Session.convertObject(new
>>>>>  TileStorage(this)),"serial");
>>>>> 
>>>>> Tile entity :
>>>>> 
>>>>> attributes = (
>>>>>   {columnName = description; name = description; prototypeName = 
>>>>> longText; }, 
>>>>>   {
>>>>>   className = "java.lang.Number"; 
>>>>>   columnName = id; 
>>>>>   externalType = INT; 
>>>>>   name = id; 
>>>>>   precision = 10; 
>>>>>   valueType = l; 
>>>>>   }, 
>>>>>   {columnName = name; name = name; prototypeName = longText; }, 
>>>>>   {
>>>>>   allowsNull = Y; 
>>>>>   className = "com.webobjects.foundation.NSData";
>>>>>   columnName = serial; 
>>>>>   externalType = BLOB; 
>>>>>   name = serial; 
>>>>>   width = 65535; 
>>>>>   }, 
>>>>>   {
>>>>>   allowsNull = Y; 
>>>>>   className = "com.webobjects.foundation.NSData"; 
>>>>>   columnName = tilejson; 
>>>>>   externalType = BLOB; 
>>>>>   name = tilejson; 
>>>>>   width = 65535; 
>>>>>   }, 
>>>>>   {
>>>>>   allowsNull = 

Re: Storing serialized object in MySql Database

2020-08-11 Thread Jesse Tayler via Webobjects-dev
Well, I’m sure there is validation for JSON since that has issues with format 
and encodings, so I’d expect some of that sort of thing here.

I don’t really see the value or whatever expected type, so I’d find that value 
that breaks it and test it —

One thing I wonder is about text encoding, are you certain you’ve got all your 
types correct?

I mean, it is gaging on a value somewhere, it could be a small as an invalid 
character or sequence.

> On Aug 11, 2020, at 8:26 AM, Don Lindsay  wrote:
> 
> The value entered for Serial is not a valid ?.
> 
> ERXVaidationException
> 
> I have setup no Validation, so it must be Wonder or WebObjects base 
> validation that is throwing the error
> 
>> On Aug 10, 2020, at 18:20, Jesse Tayler  wrote:
>> 
>> Did you list your error?
>> 
>>> On Aug 10, 2020, at 6:08 PM, Don Lindsay via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hello;
>>> 
>>> I have an app that the ucxstomer has asked to store specific serialized 
>>> objects into a MySQL database.  I have stored serialized objects in MySQL 
>>> many times, at customer request.  I get an error  am trying to populate the 
>>> field with incorrect data type.  The convertObject method is a standard 
>>> format method for serializing a java object.  It is the same code we use 
>>> for converting objects to byte arrays in another application that uses 
>>> jdbc.  The object is able to be serialized fine, but can’t be put into the 
>>> column and then saved to the database by EOF.
>>> 
>>> The Code:
>>> getSelectedTile().takeStoredValueForKey(Session.convertObject(new
>>>  TileStorage(this)),"serial");
>>> 
>>> Tile entity :
>>> 
>>> attributes = (
>>> {columnName = description; name = description; prototypeName = 
>>> longText; }, 
>>> {
>>> className = "java.lang.Number"; 
>>> columnName = id; 
>>> externalType = INT; 
>>> name = id; 
>>> precision = 10; 
>>> valueType = l; 
>>> }, 
>>> {columnName = name; name = name; prototypeName = longText; }, 
>>> {
>>> allowsNull = Y; 
>>> className = "com.webobjects.foundation.NSData";
>>> columnName = serial; 
>>> externalType = BLOB; 
>>> name = serial; 
>>> width = 65535; 
>>> }, 
>>> {
>>> allowsNull = Y; 
>>> className = "com.webobjects.foundation.NSData"; 
>>> columnName = tilejson; 
>>> externalType = BLOB; 
>>> name = tilejson; 
>>> width = 65535; 
>>> }, 
>>> {
>>> allowsNull = Y; 
>>> className = "com.webobjects.foundation.NSData"; 
>>> columnName = visualization; 
>>> externalType = BLOB; 
>>> name = visualization; 
>>> width = 65535; 
>>> }
>>> ); 
>>> I have tried to set the classname of the serial field to the class being 
>>> stored but that does not work either.I figure if all else fails I can 
>>> do a RAW SQL and store the serialized object, but I would prefer that EOF 
>>> handle all that.
>>> 
>>> Thanks in advance for any help.
>>> 
>>> Don
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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: Storing serialized object in MySql Database

2020-08-10 Thread Jesse Tayler via Webobjects-dev
Did you list your error?

> On Aug 10, 2020, at 6:08 PM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Hello;
> 
> I have an app that the ucxstomer has asked to store specific serialized 
> objects into a MySQL database.  I have stored serialized objects in MySQL 
> many times, at customer request.  I get an error  am trying to populate the 
> field with incorrect data type.  The convertObject method is a standard 
> format method for serializing a java object.  It is the same code we use for 
> converting objects to byte arrays in another application that uses jdbc.  The 
> object is able to be serialized fine, but can’t be put into the column and 
> then saved to the database by EOF.
> 
> The Code:
> getSelectedTile().takeStoredValueForKey(Session.convertObject(new
>  TileStorage(this)),"serial");
> 
> Tile entity :
> 
> attributes = (
> {columnName = description; name = description; prototypeName = longText; 
> }, 
> {
> className = "java.lang.Number"; 
> columnName = id; 
> externalType = INT; 
> name = id; 
> precision = 10; 
> valueType = l; 
> }, 
> {columnName = name; name = name; prototypeName = longText; }, 
> {
> allowsNull = Y; 
> className = "com.webobjects.foundation.NSData";
> columnName = serial; 
> externalType = BLOB; 
> name = serial; 
> width = 65535; 
> }, 
> {
> allowsNull = Y; 
> className = "com.webobjects.foundation.NSData"; 
> columnName = tilejson; 
> externalType = BLOB; 
> name = tilejson; 
> width = 65535; 
> }, 
> {
> allowsNull = Y; 
> className = "com.webobjects.foundation.NSData"; 
> columnName = visualization; 
> externalType = BLOB; 
> name = visualization; 
> width = 65535; 
> }
> ); 
> I have tried to set the classname of the serial field to the class being 
> stored but that does not work either.I figure if all else fails I can do 
> a RAW SQL and store the serialized object, but I would prefer that EOF handle 
> all that.
> 
> Thanks in advance for any help.
> 
> Don
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: How often do you bounce your apps?

2020-08-05 Thread Jesse Tayler via Webobjects-dev
What do you use to keep an eye on memory? JAVA has such an old-school approach 
with the VM I use AWS and really don’t have any good automated visualizing 
report on how instances or JAVA is running under the hood.

My apps seem to run for a long time as a few times my scheduler has failed and 
they racked up 10X or even 100X normal sessions, but who knows what the user 
patterns were really — I have had to increase my JAVA VM and set memory stuff 
from JavaMonitor to keep things sane.



> On Aug 5, 2020, at 3:35 AM, Jérémy DE ROYER via Webobjects-dev 
>  wrote:
> 
> Hi Aaron,
> 
> (I’m still using EOF) and, for the main apps, I bounce every morning.
> 
> After updates I sometimes forget to activate the schedules without any 
> problems… but I’m used to do it in the pasts where I had a lot of meomry 
> leaks so I still do it.
> 
> Jérémy
> 
>> Le 5 août 2020 à 00:04, Hugi Thordarson via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> a 
>> écrit :
>> 
>> Never. Uptime on my apps is usually weeks or months.
>> 
>> Cycled regularly when I used EOF though. That thing leaks.
>> 
>> - hugi
>> 
>> 
>> 
>>> On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev 
>>>  wrote:
>>> 
>>> Personally I feel better bouncing my .woa instances daily. Even if it is a 
>>> small site I have at least two instances and I gracefully cycle them on a 
>>> daily schedule. I feel better knowing that it is fresh every morning for 
>>> the new day. 
>>> 
>>> On the other hand, I could see an argument that a java app shouldn’t have 
>>> any memory leaks. The garbage collector should get everything. If it cannot 
>>> do so, then you’ve got something messed up in your app that you should 
>>> track down and rectify. So maybe it’s better to just leave your .woa 
>>> instances running forever until the next redeployment to get new features. 
>>> 
>>> What does the community do? Do you cycle often (daily, twice per day, or 
>>> once per week) or do you leaving your instances running without a scheduled 
>>> restart? 
>>> 
>>> Thanks to all those who chime in :-)
>>> ___
>>> 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/hugi%40karlmenn.is
>>> 
>>> This email sent to h...@karlmenn.is
>> 
>> ___
>> 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/jeremy.deroyer%40ingencys.net
>>  
>> 
>> 
>> This email sent to jeremy.dero...@ingencys.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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Creating a EOModel in code

2020-06-28 Thread Jesse Tayler via Webobjects-dev

Nothing stops you from connecting to the database however you’d like. I can’t 
quite imagine what scenario a user would enter the full connection dictionary 
or how an app would then connect to a database that is somehow ‘unknown’ or 
introduced by the user, so maybe it’s just hard for folks to get an idea of why 
this would exist in the first place?

I'd elaborate on your goals rather than your chosen course of action because I 
don’t think it’s easy to imagine for folks to help you.



> On Jun 28, 2020, at 11:51 AM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Sorry if I was not clear in my first email.
> 
> I don’t want to create a EOModel file.  I want to take database connection 
> properties from the user of an application and use those to build an EOModel 
> that is used in the application while it is running on the server.  The 
> database connection parameters would be stored in a settings database and 
> retrieved when the user wants to load data from that connection.  This is a 
> tool to allow users to specify their own data sources and compare data 
> between different datasources in whatever manner the user wishes to compare 
> or display it.
> 
> Thanks for all the answers so far I was not aware Apache Cayenne could be 
> used as a full replacement for EOF
> 
> Don 
> 
> 
>> On Jun 25, 2020, at 20:53, Don Lindsay via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> Hello;
>> 
>> The Documentation for EOModel states that you can build one in code, but 
>> there are no examples or further information that I can find. Does anyone 
>> have any documentation or samples that they can direct me to so I can create 
>> EOModels while the application is running:
>> 
>> What I want to do is connect to a database that my app does not know about, 
>> someone provides connection parameters and I create an EOModel and connect 
>> to that database or rest and access it using the EOModel created using new 
>> EOModel().
>> 
>> Thanks
>> 
>> Don
>> ___
>> 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/pccdonl%40me.com 
>> 
>> 
>> This email sent to pccd...@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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Creating a EOModel in code

2020-06-26 Thread Jesse Tayler via Webobjects-dev

so, my simple EOF/ERXKey qualifiers and stuff would work, I’d use EOModeler?

MySQL works fine it sounds, I’m using AWS stuff myself…



> On Jun 26, 2020, at 3:27 PM, Hugi Thordarson  wrote:
> 
>> Ok, so are all the cool guys using Cayenne now then? 
> 
> I've seen some pretty cool guys use it but I also use it.
> 
> 
>> I'm sure I should read some page about it rather than waste everyone’s time 
>> reiterating why it’s better and why we should be moving to that sort of 
>> thing etc.
> 
> It's awesome in so many ways. But for people that already know EOF, it's 
> probably best described as "EOF without that darned locking thing". And 
> there's seriously exciting stuff happening in the most recent releases 
> (subqueries, SQL-functions and more, all type safe using "Properties", the 
> Cayenne version of ERXKey.
> 
> API-wise it can pretty much be a drop-in replacement for EOF and from 
> experience I can say there's nothing to lose and much to gain. (assuming 
> you're using an SQL db. Cayenne is explicitly an SQL DB framework, not a 
> "generic everything framework" like EOF wants to be).
> 
> - hugi
> 
> 
>>> On Jun 26, 2020, at 3:10 PM, Hugi Thordarson via Webobjects-dev 
>>>  wrote:
>>> 
>>> You might also want to take a look at Cayenne. It's well documented and 
>>> we're eager to help where the docs fall short. And most importantly; it's 
>>> an active and maintained project that didn't die over a decade ago :)
>>> 
>>> - hugi
>>> 
>>> 
>>> 
 On 26 Jun 2020, at 19:04, Aaron Rosenzweig via Webobjects-dev 
  wrote:
 
 Hi Don,
 
 Have a look at EOEntity and friends: EOAttribute, EORelationship. 
 
 You can build them out and setup the “external” name for the column, etc. 
 I did it once as an exercise many moons ago. The only practical use I got 
 out of it was sometimes sanity checking keyPaths to see if they hit things 
 “in memory” or if they were completely traversable through EOEntity 
 relationships. Something that trips an in-memory method call is not 
 something you can use to build a complex SQL query. 
 
 Like other people have said, the “reverse engineering” of the original WO 
 tools is more likely what you want to use instead. You point Entity 
 Modeler at a database and it can make a surprisingly good model file from 
 it. Depending on how big the database is… it might be worth your trouble 
 of firing up MacOS Tiger and installing the NeXTStep GUI tools to do the 
 reverse engineering. I don’t think that the Eclipse java based 
 EntityModeler can reverse engineer. I don’t know if Cayenne can reverse 
 engineer. 
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319

 
> On Jun 25, 2020, at 8:53 PM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Hello;
> 
> The Documentation for EOModel states that you can build one in code, but 
> there are no examples or further information that I can find.  Does 
> anyone have any documentation or samples that they can direct me to so I 
> can create EOModels while the application is running:
> 
> What I want to do is connect to a database that my app does not know 
> about, someone provides connection parameters and I create an EOModel and 
> connect to that database or rest and access it using the EOModel created 
> using new EOModel().
> 
> Thanks
> 
> Don
> ___
> 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/aaron%40chatnbike.com
> 
> This email sent to aa...@chatnbike.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/hugi%40karlmenn.is
 
 This email sent to h...@karlmenn.is
>>> 
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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 null pointer error

2020-06-26 Thread Jesse Tayler via Webobjects-dev
Heh, ya, I figured you’d say that…and who does? I’m sure someone…

If you don’t have a clue, read your SQL and find those timestamps and see what 
transactions were going on.

If you can’t reproduce it, I’d guess you’ll want to turn up a bit of logging 
and just do a "hunt and peck” until you see where it comes from.

I'm not aware of any EOF type bugs relating to such things, but maybe others do.




> On Jun 26, 2020, at 3:16 PM, Michael Kondratov  
> wrote:
> 
> Jesse,
> 
> 
>   I believe we do not have any read only objects in out application…
> 
> 
> Michael
> 
> 
>> On Jun 26, 2020, at 12:55 PM, Jesse Tayler > <mailto:jtay...@oeinc.com>> wrote:
>> 
>> Well something triggered a change in a read only entity
>> 
>> I’d guess you can see specifically by checking sql output 
>> 
>> 
>>> On Jun 26, 2020, at 12:24 PM, Michael Kondratov via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> Hello everybody!
>>> 
>>> 
>>> We started to see a strange error:
>>> 
>>> 
>>> java.lang.NullPointerException
>>> at 
>>> er.extensions.eof.ERXDatabaseContext._verifyNoChangesToReadonlyEntity(ERXDatabaseContext.java:125)
>>> at 
>>> com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6187)
>>> at 
>>> com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
>>> at 
>>> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
>>> at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1178)
>>> at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
>>> at 
>>> artstore.components.EditOrderNew.saveEditingContext(EditOrderNew.java:224)
>>> 
>>> 
>>> 
>>> Any ideas what may be causing it?
>>> 
>>> Sincerely,
>>> 
>>> 
>>> Michael
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>> <mailto:Webobjects-dev@lists.apple.com>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com 
>>> <https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com>
>>> 
>>> This email sent to jtay...@oeinc.com <mailto:jtay...@oeinc.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: Creating a EOModel in code

2020-06-26 Thread Jesse Tayler via Webobjects-dev
Ok, so are all the cool guys using Cayenne now then? 

I'm sure I should read some page about it rather than waste everyone’s time 
reiterating why it’s better and why we should be moving to that sort of thing 
etc.



> On Jun 26, 2020, at 3:10 PM, Hugi Thordarson via Webobjects-dev 
>  wrote:
> 
> You might also want to take a look at Cayenne. It's well documented and we're 
> eager to help where the docs fall short. And most importantly; it's an active 
> and maintained project that didn't die over a decade ago :)
> 
> - hugi
> 
> 
> 
>> On 26 Jun 2020, at 19:04, Aaron Rosenzweig via Webobjects-dev 
>>  wrote:
>> 
>> Hi Don,
>> 
>> Have a look at EOEntity and friends: EOAttribute, EORelationship. 
>> 
>> You can build them out and setup the “external” name for the column, etc. I 
>> did it once as an exercise many moons ago. The only practical use I got out 
>> of it was sometimes sanity checking keyPaths to see if they hit things “in 
>> memory” or if they were completely traversable through EOEntity 
>> relationships. Something that trips an in-memory method call is not 
>> something you can use to build a complex SQL query. 
>> 
>> Like other people have said, the “reverse engineering” of the original WO 
>> tools is more likely what you want to use instead. You point Entity Modeler 
>> at a database and it can make a surprisingly good model file from it. 
>> Depending on how big the database is… it might be worth your trouble of 
>> firing up MacOS Tiger and installing the NeXTStep GUI tools to do the 
>> reverse engineering. I don’t think that the Eclipse java based EntityModeler 
>> can reverse engineer. I don’t know if Cayenne can reverse engineer. 
>> AARON ROSENZWEIG / Chat 'n Bike
>> e:  aa...@chatnbike.com  t:  (301) 956-2319
>>  
>> 
>>> On Jun 25, 2020, at 8:53 PM, Don Lindsay via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hello;
>>> 
>>> The Documentation for EOModel states that you can build one in code, but 
>>> there are no examples or further information that I can find.  Does anyone 
>>> have any documentation or samples that they can direct me to so I can 
>>> create EOModels while the application is running:
>>> 
>>> What I want to do is connect to a database that my app does not know about, 
>>> someone provides connection parameters and I create an EOModel and connect 
>>> to that database or rest and access it using the EOModel created using new 
>>> EOModel().
>>> 
>>> Thanks
>>> 
>>> Don
>>> ___
>>> 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/aaron%40chatnbike.com
>>> 
>>> This email sent to aa...@chatnbike.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/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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 null pointer error

2020-06-26 Thread Jesse Tayler via Webobjects-dev
Well something triggered a change in a read only entity

I’d guess you can see specifically by checking sql output 


> On Jun 26, 2020, at 12:24 PM, Michael Kondratov via Webobjects-dev 
>  wrote:
> 
> Hello everybody!
> 
> 
>   We started to see a strange error:
> 
> 
> java.lang.NullPointerException
> at 
> er.extensions.eof.ERXDatabaseContext._verifyNoChangesToReadonlyEntity(ERXDatabaseContext.java:125)
> at 
> com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6187)
> at 
> com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
> at 
> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
> at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1178)
> at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
> at 
> artstore.components.EditOrderNew.saveEditingContext(EditOrderNew.java:224)
> 
> 
> 
> Any ideas what may be causing it?
> 
> Sincerely,
> 
> 
> Michael
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Creating a EOModel in code

2020-06-25 Thread Jesse Tayler via Webobjects-dev
Hey, I use EOF!

> On Jun 25, 2020, at 10:25 PM, Hugi Thordarson  wrote:
> 
> And if you're creating a new project, don't use EOF. If you must? Have a 
> really. really. really. good reason.
> 
>> On 26 Jun 2020, at 01:32, Jesse Tayler via Webobjects-dev 
>>  wrote:
>> 
>> You can generate your model based on your data-schema. I think that’s what 
>> you want, but you can also create entities in memory and relate them by hand 
>> but I’m not sure how that would result in a model file if that’s your goal.
>> 
>>> On Jun 25, 2020, at 8:53 PM, Don Lindsay via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hello;
>>> 
>>> The Documentation for EOModel states that you can build one in code, but 
>>> there are no examples or further information that I can find.  Does anyone 
>>> have any documentation or samples that they can direct me to so I can 
>>> create EOModels while the application is running:
>>> 
>>> What I want to do is connect to a database that my app does not know about, 
>>> someone provides connection parameters and I create an EOModel and connect 
>>> to that database or rest and access it using the EOModel created using new 
>>> EOModel().
>>> 
>>> Thanks
>>> 
>>> Don
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 

 ___
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: Creating a EOModel in code

2020-06-25 Thread Jesse Tayler via Webobjects-dev
You can generate your model based on your data-schema. I think that’s what you 
want, but you can also create entities in memory and relate them by hand but 
I’m not sure how that would result in a model file if that’s your goal.

> On Jun 25, 2020, at 8:53 PM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Hello;
> 
> The Documentation for EOModel states that you can build one in code, but 
> there are no examples or further information that I can find.  Does anyone 
> have any documentation or samples that they can direct me to so I can create 
> EOModels while the application is running:
> 
> What I want to do is connect to a database that my app does not know about, 
> someone provides connection parameters and I create an EOModel and connect to 
> that database or rest and access it using the EOModel created using new 
> EOModel().
> 
> Thanks
> 
> Don
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: GID for deleted objects

2020-06-15 Thread Jesse Tayler via Webobjects-dev
Turn on/off an active flag rather than actual delete

> On Jun 15, 2020, at 6:14 AM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> I've just bumped into another problem which seems it should be pretty common, 
> but I can't see a decent solution (due to my blindness quite probably).
> 
> I am caching some information for EOs; the info is EC-independent, and 
> therefore the cache is keyed by global IDs.
> 
> When an EO is successfully deleted, I want to remove the info from the cache. 
> Thus, the cache observes EditingContextDidSaveChangesNotification and would 
> remove the userInfo[EOObjectStore.DeletedKey] objects.
> 
> The problem is that these objects are already unregistered from the EC and I 
> can't get their GIDs anymore.
> 
> Is there a decent known solution of this problem? I probably can do something 
> like storing GIDs of objects which are only being deleted somewhere and use 
> these stored GIDs later when the deletion succeeds, but that seems to be 
> rather at the complex and awkward side for a conceptually simple operation. 
> Do I overlook some simpler solution, or is this indeed the only way?
> 
> Thanks,
> OC
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Jesse Tayler via Webobjects-dev
EOF uses this template system -- don’t think of it as generated code but rather 
boiler plates no different than using Wonder or even a library to do math.

Read the code and you’ll see it’s quite intelligently surrounding your object 
model with useful, reliable foundations that are valuable.

Your model is text, this needs to reflect as an object in memory and this 
template bridge starts off that process for you in a way that makes sense and 
you’ll find useful for sure.


> On Jun 2, 2020, at 1:36 PM, ocs--- via Webobjects-dev 
>  wrote:
> 
> Paul,
> 
>> On 2. 6. 2020, at 2:05 PM, Paul Yu  wrote:
>> There are two templates _EO and EO.java that are used by eogenerate to 
>> create your EO classes.  If you open your Eogenerate File you can see where 
>> your templates are.
> 
> Can't recall anything like that from WO. Isn't that some 
> Eclipse/WOLips-specific thing? I don't use Eclipse anymore; I am yet to see a 
> worse IDE. Having tested many of them (and having suffered with Eclipse for 
> some years), eventually I stick with Xcode, which is far from perfect too and 
> it definitely has a plethora of ugly quirks, but at the very least it is 
> infinitely better than the Eclipse disaster (and aside of that, I do all my 
> *OS development in there, and it's quite convenient to use one and the same 
> IDE for all the work; myself, I found switching IDEs really inconvenient. As 
> always, your mileage may vary ;))
> 
> Besides, well, you got me ranting, but anyway: I do not, not, not use 
> generated code, in my opinion and experience, that's one very very bad 
> approach. My EO classes are based on my own superclass which reads in the 
> model at startup and installs the appropriate accessors dynamically (in a way 
> quite similar, though of course not identical, to CoreData). And it, quite 
> naturally, also contains my own overridden toString.
> 
> Which all seems to me completely beside the point. From the very beginning, I 
> am writing of entities/attributes/relationships, not EO classes. I can do 
> almost whatever I want with the EO classes, but so far, I haven't succeeded 
> to find any way to affect toStrings of entities/attributes/relationships 
> (i.e., the EOEntity, EOAttribute and EORelationship class).
> 
> Or do I miss something of importance here?
> 
> Thanks,
> OC
> 
>>> On Jun 2, 2020, at 7:04 AM, OCsite via Webobjects-dev 
>>>  wrote:
>>> 
>>> Markus,
>>> 
 On 2 Jun 2020, at 12:09, Markus Ruggiero  wrote:
 Why not simply override toString() in EOGenerate templates once and for 
 all?
>>> 
>>> What are “EOGenerate templates” and how they affect the 
>>> entities/attributes/relationships toStrings? I can't find anything like 
>>> that in my WO documentation. Seems it might be the right solution... if I 
>>> knew what it is :)
>>> 
>>> Thanks!
>>> OC
>>> 
 
>> On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev 
>>  wrote:
> 
> Hi there,
> 
> occasionally, I need to put entities/attributes/relationships into 
> complex nested property lists. Occasionally for debug, I need to print 
> out these property lists.
> 
> Alas, entities/attributes/relationships normally print out their complete 
> contents in their toStrings, which makes the logs completely unuseable 
> (and when there's more of them in a property list, actually bogs down the 
> application so much it must be killed).
> 
> Isn't there some trick to make those darned model classes toString 
> something reasonable, e.g., just their class, name and hash?
> 
> Thanks,
> OC
> 
> ___
> 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/steiner%40rucotec.ch
> 
> This email sent to stei...@rucotec.ch
 
>>> 
>>> ___
>>> 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/pyu%40mac.com
>>> 
>>> This email sent to p...@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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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


Re: Sign in with apple?

2020-06-02 Thread Jesse Tayler via Webobjects-dev


> On Jun 1, 2020, at 9:40 PM, Ray Kiddy  wrote:
> 
> 
> Somebody comes in to the app, I get their e-mail address and sent them an 
> "invite" into the app. This is exactly as secure as any password-storage 
> system that uses e-mail to reset passwords


This means the user has to invoke a new session by getting a link in email each 
time they access? 

I suppose that link cannot be shared since it expires?

I mean it sounds interesting, I am interested in what is going on with your 
suggestion.

Just seems like sending around links that allow people to enter directly has 
various dangers and complexities itself, and I wonder what the resulting 
experience is and what the level of security is. 

Isn’t this technically pushing the password back to your email login and isn’t 
that really no different than the O-Auth or Apple sign in? 

Apple sign in is preferable to users because it is easy and doesn’t offer 
private information to the site, Facebook login seems the same but is reversed. 
Facebook login is there to let Facebook see where you login and when so it can 
sell that data to advertisers.

The idea of not using passwords at all is interesting, but I’m not sure this 
would be what I’m thinking about.

I’m going to guess this is not a bank, but what sort of service uses this email 
authentication and why was it implemented?

 ___
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: Sign in with apple?

2020-05-31 Thread Jesse Tayler via Webobjects-dev
That sounds sensible...

> On May 31, 2020, at 7:04 PM, Amedeo Mantica  wrote:
> 
> I did it using a Java library, not a wo project but this doesn’t matter. You 
> just need an awt token validation library. I’ll post it tomorrow. 
> Amedeo
> 
> Sent from my iPhone
> 
>> On 31 May 2020, at 17:31, Jesse Tayler via Webobjects-dev 
>>  wrote:
>> 
>> 
>> 
>> Indeed.
>> 
>> And I can see why without too much trouble right here... reminds me of APNS 
>> which I initially did by hand in JAVA but later so many services just worked 
>> so much better...
>> 
>> I’ll fish around and report if I learn anything interesting, but it does 
>> seem likely this would be the intelligent sort of route one would take.
>> 
>> 
>>> On May 31, 2020, at 11:20 AM, Aaron Rosenzweig >> <mailto:aa...@chatnbike.com>> wrote:
>>> 
>>> It’s a good question Jesse. Seems more people these days are paying a small 
>>> fee to people who have perfect solutions we can use immediately. Auth0 and 
>>> Okta come to mind but there are a plethora of choices.
>>> 
>>> https://auth0.com/blog/try-sign-in-with-apple-in-your-auth0-apps-today/ 
>>> <https://auth0.com/blog/try-sign-in-with-apple-in-your-auth0-apps-today/>
>>> 
>>> https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple
>>>  
>>> <https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple>
>>> 
>>> 
>>> https://auth0.com/docs/quickstart/webapp/java/01-login 
>>> <https://auth0.com/docs/quickstart/webapp/java/01-login>
>>> 
>>> https://developer.okta.com/code/java/ 
>>> <https://developer.okta.com/code/java/>
>>> 
>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>>> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319   
>>> 
>>> 
>>>> On May 31, 2020, at 8:35 AM, Jesse Tayler via Webobjects-dev 
>>>> mailto:webobjects-dev@lists.apple.com>> 
>>>> wrote:
>>>> 
>>>> 
>>>> I thought to myself, say —  I should support "Sign in with Apple” —  and 
>>>> wondered if anyone has experiences they’d like to share about integrating 
>>>> with your WO Apps??
>>>> 
>>>> 
>>>> ___
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>>> <mailto:Webobjects-dev@lists.apple.com>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
>>>>  
>>>> <https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com>
>>>> 
>>>> This email sent to aa...@chatnbike.com <mailto:aa...@chatnbike.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/amedeomantica%40me.com
>> 
>> This email sent to amedeomant...@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: Sign in with apple?

2020-05-31 Thread Jesse Tayler via Webobjects-dev

Indeed.

And I can see why without too much trouble right here... reminds me of APNS 
which I initially did by hand in JAVA but later so many services just worked so 
much better...

I’ll fish around and report if I learn anything interesting, but it does seem 
likely this would be the intelligent sort of route one would take.


> On May 31, 2020, at 11:20 AM, Aaron Rosenzweig  wrote:
> 
> It’s a good question Jesse. Seems more people these days are paying a small 
> fee to people who have perfect solutions we can use immediately. Auth0 and 
> Okta come to mind but there are a plethora of choices.
> 
> https://auth0.com/blog/try-sign-in-with-apple-in-your-auth0-apps-today/ 
> <https://auth0.com/blog/try-sign-in-with-apple-in-your-auth0-apps-today/>
> 
> https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple
>  
> <https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple>
> 
> 
> https://auth0.com/docs/quickstart/webapp/java/01-login 
> <https://auth0.com/docs/quickstart/webapp/java/01-login>
> 
> https://developer.okta.com/code/java/ <https://developer.okta.com/code/java/>
> 
> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
> e:  aa...@chatnbike.com <mailto:aa...@chatnbike.com>  t:  (301) 956-2319   
>   
> 
>> On May 31, 2020, at 8:35 AM, Jesse Tayler via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> 
>> I thought to myself, say —  I should support "Sign in with Apple” —  and 
>> wondered if anyone has experiences they’d like to share about integrating 
>> with your WO Apps??
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com>
>> 
>> This email sent to aa...@chatnbike.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


Sign in with apple?

2020-05-31 Thread Jesse Tayler via Webobjects-dev

I thought to myself, say —  I should support "Sign in with Apple” —  and 
wondered if anyone has experiences they’d like to share about integrating with 
your WO Apps??


 ___
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: EC locking/shared snapshots/old data saved

2020-05-29 Thread Jesse Tayler via Webobjects-dev
Well, I don’t know but I think the fact you’d be having this problem points to 
another problem.

I don’t know your traffic or architecture, but you really should not have that 
problem at all, I wonder if perhaps you are creating too many separate ECs?

I find myself generally putting the bulk of operations into one EC and 
sometimes creating others for one-off stuff or just because it is a linear 
process with clear results.

Recently I did a lot of invalidating objects based on flags that were likely to 
require updating from a remote thread, this isn’t a conflict but I did need to 
ensure those objects were fetched and their contents written over what is in 
memory.

In that case, the user operating the session was really the only part that 
needed instant updates and only in certain circumstances.

Anyway, I’d think about the problem more broadly since I’m personally confident 
WO/Wonder has the most logical locking and EC handling that has been honed and 
crafter over decades and used in all kinds of situations.

That confidence would lead me to at least try and solve your issues in another 
way perhaps

> On May 29, 2020, at 9:00 AM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there,
> 
> just again, I've been bit in my tender parts by the well-known problem that
> 
> 1. thread A locks its EC
> 2. thread B saves some change into DB
> 3. thread A saves its own changes (of different properties), which alas as a 
> side-effect also reverts B's changes ...
> 
> ... since A's EC still contains the state before B's changes, and when that 
> state is compared with the shared snapshot (updated in step 2), the original 
> outdated object state before B's changes looks like a new change done by A 
> and thus is saved.
> 
> Isn't there some general solution of this problem? I can think of at least 
> three:
> 
> (a) always unlock (and immediately re-lock) EC before saving, preferably 
> directly in the ERXEC.saveChanges() code (resp. overridden saveChanges of my 
> own ERXEC subclass, set as er.extensions.ERXEC.editingContextClassName). 
> That, far as I understand, would merge all the other changes (of which EOF 
> already well knows due to the notifications, but it can't merge them whilst 
> the EC is locked).
> 
> That would be pretty easy to do, but I am not sure of other dangers which it 
> possibly might bring? There could be plenty, I am afraid.
> 
> (b) implement EC-based non-shared snapshots and use them instead of (or 
> rather along with) the shared ones to determine what to save into the DB.
> 
> That would be considerably more work, again with possible dangers which I 
> can't quite see now.
> 
> (c) invent a scheme with timestamps attached to individual properties in 
> shapshots and compare them, letting the newest win.
> 
> Probably too much at the rube-goldbergish side to be practical.
> 
> Has somebody already tried and tested either (a) or (b) or (c) or any other 
> approach, better than those three, to alleviate this kind of problems with a 
> success?
> 
> Thanks,
> OC
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Direct to Web Documentation for Project Wonder

2020-05-18 Thread Jesse Tayler via Webobjects-dev
Look at the related movies demo app, I think you’ll see what you’re looking for 
there --

> On May 18, 2020, at 11:03 AM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Hello Jesse;
> 
> Looks great, pretty close to what I am looking to do.  I have built your 
> framework and included it in the project I have in Eclipse but it is not 
> rendering.  I have added and removed the ERModern* frameworks as I thought 
> they were conflicting but that did not have any effect.  I also looked at the 
> readme in GitHub and applied the script files that were needed according to 
> the document.
> 
> Thanks
> 
> Don
> 
>> On May 18, 2020, at 01:57, Don Lindsay via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> 
>> wrote:
>> 
>> Hello;
>> 
>> I have experience with D2W with WebObjects using Xcode.  I am modernizing an 
>> application and would like to explorer the newer frameworks for D2W 
>> (ERDirectToWeb, ERModern*).
>> 
>> Rather than blast the list with tons of questions, I was looking around for 
>> documentation for the Wonder Project DirectToWeb frameworks.  I have found 
>> the Wiki but it appears a bit out of date in places.
>> 
>> So here is what I want to do, and this was simple using the WebAssistanct 
>> which I think is now deprecated as I can’t get it to run.
>> 
>> I want to modify the pages for QueryAll, QueryEntity, ListAll, and provide 
>> additional functionality such as graphs to for instance the listing page.
>> 
>> That is a brief description of what I am trying to accomplish and I am 
>> hoping there is documentation that can help me to do what I want without 
>> having to scrape through the code to find all the pieces I need to modify 
>> and make rules for them.
>> 
>> Thanks
>> 
>> Don
>> ___
>> 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/pccdonl%40me.com 
>> 
>> 
>> This email sent to pccd...@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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Direct to Web Documentation for Project Wonder

2020-05-18 Thread Jesse Tayler via Webobjects-dev
You are welcome to check out the bootstrap modern framework as it overrides 
pages, adds components and is all D2W

https://github.com/jtayler/BootstrapModernLook



> On May 18, 2020, at 2:57 AM, Don Lindsay via Webobjects-dev 
>  wrote:
> 
> Hello;
> 
> I have experience with D2W with WebObjects using Xcode.  I am modernizing an 
> application and would like to explorer the newer frameworks for D2W 
> (ERDirectToWeb, ERModern*).
> 
> Rather than blast the list with tons of questions, I was looking around for 
> documentation for the Wonder Project DirectToWeb frameworks.  I have found 
> the Wiki but it appears a bit out of date in places.
> 
> So here is what I want to do, and this was simple using the WebAssistanct 
> which I think is now deprecated as I can’t get it to run.
> 
> I want to modify the pages for QueryAll, QueryEntity, ListAll, and provide 
> additional functionality such as graphs to for instance the listing page.
> 
> That is a brief description of what I am trying to accomplish and I am hoping 
> there is documentation that can help me to do what I want without having to 
> scrape through the code to find all the pieces I need to modify and make 
> rules for them.
> 
> Thanks
> 
> Don
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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


Valid rest route?

2020-04-27 Thread Jesse Tayler via Webobjects-dev

I’m sure there’s a rest route string parser that returns a valid route string?

Replacing any funny characters?

Anyone remember where that is?


 ___
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: [ERRest] - Manually generating rest URL

2020-04-16 Thread Jesse Tayler via Webobjects-dev
What I think you want is a DA to return JSON, perhaps like this:


public WOResponse responseForPoint(DataPoint point) {
ERXKeyFilter filter = DataPointController.showFilter();
String json = ERXRestFormat.json().toString(point, filter);
WOResponse aResponse = new WOResponse();
aResponse.appendContentString(json);
return aResponse;
}



> On Apr 16, 2020, at 3:03 PM, Dev WO  wrote:
> 
> I cannot really say it is solved based on the subject of the thread, but 
> regarding what I was actually trying to do, it is solved.
> I picked up just what was needed to generate the Json response in my 
> DirectAction class so I could keep what I was using the generate the url.
> 
> Thanks anyway, it gave me some time to look at ERRest:)
> 
> Xavier
> 
> 
> 
> 
>> On 16 Apr 2020, at 20:31, Dev WO via Webobjects-dev 
>>  wrote:
>> 
>> I was just looking at making a DirectAction to get a NSDict as a json output 
>> actually.
>> 
>> Searching for that it looked like ERRest was the answer, but maybe I should 
>> just “borrow” the method that actually generate the son response and stick 
>> with the regular DirectAction…
>> 
>> Xavier
>> 
>> 
>>> On 16 Apr 2020, at 20:11, Jesse Tayler  wrote:
>>> 
>>> I might be confused
>>> 
>>> Not sure this is the right API for what you want since this API is for a 
>>> specific page or object ID?
>>> 
>>> ra/Vote/2343.html
>>> 
>>> or
>>> 
>>> ra/User/jtayler.html
>>> 
>>> Is what I might expect
>>> 
>>> Those routes are HTML and either need default HTML or a static view page 
>>> for that entity that accepts an object to inspect.
>>> 
>>> Are you looking to invoke a list page?
>>> 
>>> This is a list with params and basically an apache rule redirects the URL 
>>> into the longer version and my app intercepts link URL requests and 
>>> exchanges links on production that are shorter.
>>> 
>>> http://planaby.com/event/nearby.html?distance=30.0=40.7450127906344=-73.9771424224899
>>> 
>>> or
>>> 
>>> http://planaby.com/person/1.html
>>> 
>>> Is just a simple ERRest route url translated by apache so it looks shorter 
>>> in production
>>> 
>>> Maybe that helps
>>> 
>>> 
>>> 
>>> 
>>>> On Apr 16, 2020, at 1:45 PM, Dev WO  wrote:
>>>> 
>>>> Hi Jesse,
>>>> 
>>>> Thanks for the pointer, that does look better, but I don’t understand 2 
>>>> things:
>>>> The method I have is
>>>> actionUrlForEntity(WOContext context, String entityName, Object entityID, 
>>>> String action, String format, NSDictionary 
>>>> queryParameters, boolean secure, boolean includeSessionID)
>>>> I’m doing “ERXRouteUrlUtils.actionUrlForEntity(context(), "Status", null, 
>>>> null, null, restDict, false, false)"
>>>> 
>>>> I’m expecting a url like 
>>>> ''/cgi-bin/WebObjects/CloudManager.woa/ra/Status?type=heat”
>>>> but I get "/cgi-bin/WebObjects/CloudManager.woa/ra/statuses.html?type=heat”
>>>> I don’t really get why I got “statuses.html” instead of “Status” (the 
>>>> capital S and the plural+.html).
>>>> 
>>>> Looking at the source, it seems whatever I choose as “format”, I’ll get a 
>>>> “.something” appended, but the response is still ok if I do 
>>>> '/cgi-bin/WebObjects/CloudManager.woa/ra/Status.json?type=heat” so that’s 
>>>> not an issue.
>>>> 
>>>> But the capital S and the plural do break my call, any idea about this?
>>>> 
>>>> Thanks, hope everything is as good as it could be in NYC,
>>>> 
>>>> Xavier
>>>> 
>>>> 
>>>>> On 16 Apr 2020, at 18:49, Jesse Tayler  wrote:
>>>>> 
>>>>> 
>>>>> If you want to generate an action URL, I think you’ll want this API
>>>>> 
>>>>> String link = ERXRouteUrlUtils.actionUrlForEntity(context, entityName, 
>>>>> entityID, action, format, queryParameters, secure, includeSessionID);
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Apr 16, 2020, at 12:42 PM, Dev WO via Webobjects-dev 
>>>>>>  wrote:
>>>>>> 
>>>>>> Hi everyone,
>>>>>> 
&

Re: [ERRest] - Manually generating rest URL

2020-04-16 Thread Jesse Tayler via Webobjects-dev
I might be confused

Not sure this is the right API for what you want since this API is for a 
specific page or object ID?

ra/Vote/2343.html

or

ra/User/jtayler.html

Is what I might expect

Those routes are HTML and either need default HTML or a static view page for 
that entity that accepts an object to inspect.

Are you looking to invoke a list page?

This is a list with params and basically an apache rule redirects the URL into 
the longer version and my app intercepts link URL requests and exchanges links 
on production that are shorter.

http://planaby.com/event/nearby.html?distance=30.0=40.7450127906344=-73.9771424224899

or

http://planaby.com/person/1.html

Is just a simple ERRest route url translated by apache so it looks shorter in 
production

Maybe that helps




> On Apr 16, 2020, at 1:45 PM, Dev WO  wrote:
> 
> Hi Jesse,
> 
> Thanks for the pointer, that does look better, but I don’t understand 2 
> things:
> The method I have is
> actionUrlForEntity(WOContext context, String entityName, Object entityID, 
> String action, String format, NSDictionary queryParameters, 
> boolean secure, boolean includeSessionID)
> I’m doing “ERXRouteUrlUtils.actionUrlForEntity(context(), "Status", null, 
> null, null, restDict, false, false)"
> 
> I’m expecting a url like 
> ''/cgi-bin/WebObjects/CloudManager.woa/ra/Status?type=heat”
> but I get "/cgi-bin/WebObjects/CloudManager.woa/ra/statuses.html?type=heat”
> I don’t really get why I got “statuses.html” instead of “Status” (the capital 
> S and the plural+.html).
> 
> Looking at the source, it seems whatever I choose as “format”, I’ll get a 
> “.something” appended, but the response is still ok if I do 
> '/cgi-bin/WebObjects/CloudManager.woa/ra/Status.json?type=heat” so that’s not 
> an issue.
> 
> But the capital S and the plural do break my call, any idea about this?
> 
> Thanks, hope everything is as good as it could be in NYC,
> 
> Xavier
> 
> 
>> On 16 Apr 2020, at 18:49, Jesse Tayler  wrote:
>> 
>> 
>> If you want to generate an action URL, I think you’ll want this API
>> 
>> String link = ERXRouteUrlUtils.actionUrlForEntity(context, entityName, 
>> entityID, action, format, queryParameters, secure, includeSessionID);
>> 
>> 
>> 
>>> On Apr 16, 2020, at 12:42 PM, Dev WO via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hi everyone,
>>> 
>>> I’m currently trying a few things with ERRest.
>>> In a stateless component, I need to create some urls manually (they will be 
>>> used inside a script element).
>>> When I was calling my DirectAction class, I was just doing this:
>>> 
>>> context().generateRelativeURLs();
>>> NSMutableDictionary dict = new NSMutableDictionary>> String>();
>>> ...
>>> dict.put(key, value);
>>> ...
>>> String relativeUrl = context()._directActionURL(“myDirectAction", dict, 
>>> false);
>>> 
>>> 
>>> But I wasn’t able to find out the equivalent _directActionURL() method to 
>>> generate the Rest (with /ra) URL.
>>> 
>>> How would you manually generate a relative URL for an ERRest request?
>>> 
>>> Thanks a lot and stay safe,
>>> 
>>> Xavier
>>> 
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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: [ERRest] - Manually generating rest URL

2020-04-16 Thread Jesse Tayler via Webobjects-dev

If you want to generate an action URL, I think you’ll want this API

String link = ERXRouteUrlUtils.actionUrlForEntity(context, entityName, 
entityID, action, format, queryParameters, secure, includeSessionID);



> On Apr 16, 2020, at 12:42 PM, Dev WO via Webobjects-dev 
>  wrote:
> 
> Hi everyone,
> 
> I’m currently trying a few things with ERRest.
> In a stateless component, I need to create some urls manually (they will be 
> used inside a script element).
> When I was calling my DirectAction class, I was just doing this:
> 
>  context().generateRelativeURLs();
> NSMutableDictionary dict = new NSMutableDictionary String>();
> ...
> dict.put(key, value);
> ...
> String relativeUrl = context()._directActionURL(“myDirectAction", dict, 
> false);
> 
> 
> But I wasn’t able to find out the equivalent _directActionURL() method to 
> generate the Rest (with /ra) URL.
> 
> How would you manually generate a relative URL for an ERRest request?
> 
> Thanks a lot and stay safe,
> 
> Xavier
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Help with Apache... stuck

2020-04-06 Thread Jesse Tayler via Webobjects-dev
Let’s see…

RewriteRule ^/signup /apps/WebObjects/WOMan.woa/wa/signup 
[last,passthrough]

I notice my configuration shows /apps/

DocumentRoot "/var/www/html/planaby"
ServerName ec.planaby.com:80
ServerAlias planaby.com
ServerAlias 10.150.65.203


Not much there…

Then I have a variety of convenience rules to redirect.

Like the rewrite above, I can hardly even read them myself…

Maybe that helps give a clue


> On Apr 6, 2020, at 7:28 PM, Ken Anderson  wrote:
> 
> Jesse,
> 
> Hope all is well with you!
> 
> Yes, direct connect works if I enable it.
> 
> How do you configure it?  This is how I’ve always done it…
> 
> Ken
> 
>> On Apr 6, 2020, at 4:50 PM, Jesse Tayler  wrote:
>> 
>> You’ve tested to the ip:port directly and your app runs ok?
>> 
>> Then it would indeed sound like apache, since wotaskd or monitor would show 
>> other error types I’d think.
>> 
>> I think you could test wotaskd / monitor using a url with a port number like 
>> -2001 on the URL, but I don’t think that will reveal anything for you here.
>> 
>> Are you mixing html website with your app? I’m no good with apache rules 
>> myself, but your setup is different than what I typically do.
>> 
>> I’d fuss with apache first-there’s output logs listed in the config 
>> somewhere you might make sure there’s nothing printed there.
>> 
>> 
>> 
>>> On Apr 6, 2020, at 4:43 PM, Ken Anderson via Webobjects-dev 
>>>  wrote:
>>> 
>>> Hi everyone!
>>> 
>>> Well, I’ve circled back to a project I was half way through a year ago… and 
>>> I’m a little stuck. Trying to get a WO project off of AWS and running on a 
>>> home server.
>>> 
>>> CentOS 7
>>> Apache 2.4
>>> Wotaskd running
>>> WOMonitor running
>>> App installed and running
>>> 
>>> Unfortunately, when I go to the expected URL 
>>> (http://publicserver.anderhome.local//cgi-bin/WebObjects/TrainTime.woa), I 
>>> get:
>>> Not Found
>>> 
>>> The requested URL /cgi-bin/WebObjects/TrainTime.woa was not found on this 
>>> server.
>>> 
>>> 
>>> However, if I go to the root, I see the index.html file, so I know Apache 
>>> is responding.
>>> 
>>> Webobjects.conf is in the conf.d directory, with the following:
>>> 
>>> WebObjectsAlias /cgi-bin/WebObjects
>>> 
>>> # Specific to Apache 2.4
>>> 
>>> 
>>>   Require all granted
>>> 
>>> Require all denied
>>>
>>> 
>>> In the Apache error_log, I get this:
>>> 
>>> [Mon Apr 06 16:37:04.792319 2020] [cgi:error] [pid 19829] [client 
>>> 192.168.1.249:62985] script not found or unable to stat: 
>>> /var/www/cgi-bin/WebObjects
>>> 
>>> Which to me, means the module is not loaded. But I have this:
>>> 
>>> LoadModule WebObjects_modulemodules/mod_WebObjects.so
>>> 
>>> In the webobjects.conf file, and there is a file at 
>>> modules/mod_WebObjects.so. I don’t get any errors when starting Apache, and 
>>> the syntax check passes.
>>> 
>>> What am I doing wrong? Any thoughts are appreciated!!
>>> 
>>> Best,
>>> Ken
>>> 
>>> 
>>> 
>>> ___
>>> 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/jtayler%40oeinc.com
>>> 
>>> This email sent to jtay...@oeinc.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: Help with Apache... stuck

2020-04-06 Thread Jesse Tayler via Webobjects-dev
You’ve tested to the ip:port directly and your app runs ok?

Then it would indeed sound like apache, since wotaskd or monitor would show 
other error types I’d think.

I think you could test wotaskd / monitor using a url with a port number like 
-2001 on the URL, but I don’t think that will reveal anything for you here.

Are you mixing html website with your app? I’m no good with apache rules 
myself, but your setup is different than what I typically do.

I’d fuss with apache first-there’s output logs listed in the config somewhere 
you might make sure there’s nothing printed there.



> On Apr 6, 2020, at 4:43 PM, Ken Anderson via Webobjects-dev 
>  wrote:
> 
> Hi everyone!
> 
> Well, I’ve circled back to a project I was half way through a year ago… and 
> I’m a little stuck. Trying to get a WO project off of AWS and running on a 
> home server.
> 
> CentOS 7
> Apache 2.4
> Wotaskd running
> WOMonitor running
> App installed and running
> 
> Unfortunately, when I go to the expected URL 
> (http://publicserver.anderhome.local//cgi-bin/WebObjects/TrainTime.woa 
> ), I 
> get:
> Not Found
> 
> The requested URL /cgi-bin/WebObjects/TrainTime.woa was not found on this 
> server.
> 
> 
> However, if I go to the root, I see the index.html file, so I know Apache is 
> responding.
> 
> Webobjects.conf is in the conf.d directory, with the following:
> 
> WebObjectsAlias /cgi-bin/WebObjects
> 
> # Specific to Apache 2.4
> 
> 
>   Require all granted
> 
> Require all denied
>
> 
> In the Apache error_log, I get this:
> 
> [Mon Apr 06 16:37:04.792319 2020] [cgi:error] [pid 19829] [client 
> 192.168.1.249:62985] script not found or unable to stat: 
> /var/www/cgi-bin/WebObjects
> 
> Which to me, means the module is not loaded. But I have this:
> 
> LoadModule WebObjects_module  modules/mod_WebObjects.so
> 
> In the webobjects.conf file, and there is a file at 
> modules/mod_WebObjects.so. I don’t get any errors when starting Apache, and 
> the syntax check passes.
> 
> What am I doing wrong? Any thoughts are appreciated!!
> 
> Best,
> Ken
> 
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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 2020 - I'm afraid not

2020-03-16 Thread Jesse Tayler via Webobjects-dev
thanks.


> On Mar 16, 2020, at 12:32 PM, Maik Musall via Webobjects-dev 
>  wrote:
> 
> Hi everyone,
> 
> together with the Salient team from Frankfurt that organized the WO-Day 2019, 
> we were in the process of planning a full weekend WOWODC in late summer or 
> autumn this year. For obvious reasons, we had to put those efforts on hold 
> for now, and it’s unlikely anything of the sort can happen this year. I also 
> don’t think it would be fun to have an online-only event for this community, 
> so we will simply wait and resume planning when it becomes feasible again, 
> possibly next year.
> 
> Regards
> Maik
> Selbstdenker AG, Regensburg
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Multiple timezones

2020-02-26 Thread Jesse Tayler via Webobjects-dev
Just to complain about how hard this can be?

Our events service let’s you post events at certain times and locations. Great.

But those locations could be outside your timezone, or that date of the event 
might pass daylight savings…

So, first — we had to identify the location, venue and lat/lon to know the 
specific location.

From there, we called a google query to turn a lat/lon and time/date into a 
timezone offset!

Then we needed the fully qualified date in GMT or the local TZ of the user but 
then you’d need to translate that time into that specific place and time — so, 
the date might cross and boundary or the location etc. etc.

We also had web pages with TZ dates and times on them which could be the first 
thing you see as a public users, so a session timezone has to be set and the 
page gets refreshed before drawing anything and then comes back down again but 
with the local timezone as reported by javascript query on the client browser.

WHEW!

What a drag!




> On Feb 26, 2020, at 1:06 PM, Samuel Pelletier via Webobjects-dev 
>  wrote:
> 
> Hi Michael,
> 
> There is no easy or universal answer to this question. The best solution also 
> depends on the meaning of the timestamp data.
> 
> If your system is used on multiple timezones, ...
> 
> - you may have situation where you want to always display the time in the 
> event location time zone like airplane takeoff and landing;
> 
> - you may want to always display the event time in the user local timezone 
> like an event log;
> 
> - you may want to always display in a fixed time zone like a server log...
> 
> So you may or may not need to store the time zone of an event to display it 
> properly.
> 
> To add some ugliness to this already complex problem, we have a very nasty 
> thing called daylight saving time where we change the time zone of locations 
> based on the date. This can easily create situation where an event change 
> time when crossing the DST change dates...
> 
> First step is to analyse the problem and figure out how timestamps should be 
> displayed.
> 
> Regards,
> 
> Samuel
> 
> 
>> Le 25 févr. 2020 à 12:59, Michael Kondratov via Webobjects-dev 
>> mailto:webobjects-dev@lists.apple.com>> a 
>> écrit :
>> 
>> Hello!
>>   Whats the winning strategy on dealing with users / records in multiple 
>> timezones? We are starting add add companies that are few hours away from us 
>> and don't know how to best handle it.
>> 
>> 
>> 
>> Sincerely,
>> 
>> 
>> Michael
>> 
>> ___
>> 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/samuel%40samkar.com 
>> 
>> 
>> This email sent to sam...@samkar.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/jtayler%40oeinc.com 
> 
> 
> This email sent to jtay...@oeinc.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: Multiple timezones

2020-02-25 Thread Jesse Tayler via Webobjects-dev
I do a lot of timezone stuff, even had serious troubles with deciding how to 
handle certain problems like not already knowing a public user’s timezone until 
basically submitting and returning a page at least once to set the session TZ 
correctly.

Even then weird things like a timezone listing in ancient UNIX used by some ISP 
in Mexico had alternate names that we had to sort of fuss with to get into 
modern zone names

So, naturally the whole thing is…complicated…sigh.

I’m happy to help impart anything I know if you need help with something 
specific



> On Feb 25, 2020, at 12:59 PM, Michael Kondratov via Webobjects-dev 
>  wrote:
> 
> Hello!
>Whats the winning strategy on dealing with users / records in multiple 
> timezones? We are starting add add companies that are few hours away from us 
> and don't know how to best handle it.
> 
> 
> 
> Sincerely,
> 
> 
> Michael
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Back again....

2020-02-13 Thread Jesse Tayler via Webobjects-dev


> On Feb 13, 2020, at 9:56 AM, Tony Giaccone via Webobjects-dev 
>  wrote:
> 
> 
> I used to do WebObjects dev back in the day. Now I’m just a little curious to 
> see where things stand in WOWorld.
> 

Outstanding!

> I’m building a simple one page master detail app and I wanted to compare a 
> few different frameworks and tech stacks. As part of that I thought I’d go 
> back to my roots and do a WO version.
> 
> But I am having trouble getting a working installation. I have a few 
> questions.
> 
> Can I do WODev on a Linux box? Is there a package to install on Ubuntu 18.04? 
> 

I use Amazon linux, it’s pretty much just Java.

> I see that wolips is a thing and I have installed it locally in a copy of 
> eclipse 2019-12
> 
> Java 1.8? 
> 

Yes indeed

> I’ve tried using the instructions I’ve found on line using the WOInstaller 
> jar but I get a runtime exception.
> 
> I managed to get a copy of 5.4.3 and it seems to have installed but I can’t 
> create a new WOapp and not get problems with library references.  It looks 
> like something installed in /opt/Library. Any suggestions to verify my WO 
> package got installed correctly?
> 

Ok, well here’s where you are having trouble

Firstly, are you sure you have the WOLipse plugin working? Eclipse should have 
a specific look, eomodeler and layout options we like to use

And I’m thinking you can install your frameworks there, but I wonder if you 
know to specifically add each ER framework and whatever else you need in 
eclipse?

Verify those two issues and you might just be in luck - let us know.


 ___
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: SQL Error on fetch

2020-02-04 Thread Jesse Tayler via Webobjects-dev
Isn’t that just when the adaptor needs to reconnect after a period of rest?

> On Feb 4, 2020, at 4:00 PM, Gino Pacitti via Webobjects-dev 
>  wrote:
> 
> Hi 
> Has anyone encountered this sort of error before?
> 
> It does not happen all the time but just on occasion.
> 
> mysql  Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using  EditLine wrapper
> 
> Java 8
> 
> mysql-connector-java-8.0.19.jar
> 
> This is my connection URL
> jdbc:mysql://127.0.0.1/_UTF_8?capitalizeTypeNames=true=true=UTF-8=utf8=convertToNull=false=false=true=false=true=true
>  
> 
> 
> And here is the error
> Unexpected exception encountered during 
> query.java.lang.NullPointerExceptionat 
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2532)
> at 
> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
> at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296)
> at 
> er.extensions.jdbc.ERXJDBCAdaptor$Channel.evaluateExpression(ERXJDBCAdaptor.java:283)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220)
> at 
> er.extensions.jdbc.ERXJDBCAdaptor$Channel.selectAttributes(ERXJDBCAdaptor.java:200)
> at 
> com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897)
> at 
> com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234)
> at 
> com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055)
> at 
> com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
> at 
> com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
> at 
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
> at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1307)
> at 
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:)
> at 
> er.extensions.eof.ERXFetchSpecification.fetchObjects(ERXFetchSpecification.java:155)
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: REDIRECTED to non-refusing instance

2020-02-03 Thread Jesse Tayler via Webobjects-dev
Well, I don’t know the place where that log is made, but I’d guess there’s a 
TON of odd things that could cause an instance to pass on a session request 
like threads or memory

Have you got a handle on various measures of these instances you can compare to 
historical data?

Might reveal a chance in performance rather than seemingly related code.



> On Feb 3, 2020, at 1:58 PM, OCsite via Webobjects-dev 
>  wrote:
> 
> Hi there again,
> 
> is there any known situation/bug, which would lead to the logs of kind
> 
> DEBUG !!! Request will be REDIRECTED to non-refusing instance
> 
> without having set either Refuse new session or graceful scheduling in the JM?
> 
> I have found a debate in which Chuck asserts that WO might have long ago (WO 
> 5.1/2, 2003) contained a bug which would lead to this log when a direct 
> action URL contains a session ID; but far as I understand properly, even thus 
> it still would happen with Refuse/Graceful only, neither of which we use.
> 
> Thing is, we are lately getting lots of those REDIRECTED logs now at our 
> production server (not surprisingly it never happens at the test site). It 
> seems to be coming with a new version of the application, but none of the 
> changes in the code, far as I can say, seems to be remotely relevant to such 
> a problem.
> 
> Thanks!
> OC
> 
> 
> 
> 
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: Maven Unit tests with EOF

2020-01-23 Thread Jesse Tayler via Webobjects-dev
Isn’t that what you get with some java version mismatch ??

> On Jan 23, 2020, at 11:41 AM, Aaron Rosenzweig via Webobjects-dev 
>  wrote:
> 
> I tried this call:
> 
> NSBundle MYBUNDLE = NSBundle.mainBundle();
> 
> It fails immediately with:
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.webobjects.foundation.NSBundle
> 
> I’m suspecting it has to do with the static initializer of NSBundle.
> AARON ROSENZWEIG / Chat 'n Bike 
> e:  aa...@chatnbike.com   t:  (301) 956-2319  
> 
>   
> 
>> On Jan 23, 2020, at 11:23 AM, Aaron Rosenzweig > > wrote:
>> 
>> Riddle me this… how can you get a class not defined error from the class 
>> itself?
>> 
>> java.lang.NoClassDefFoundError: Could not initialize class 
>> com.webobjects.foundation.NSBundle
>>  at com.webobjects.foundation.NSBundle.mainBundle(NSBundle.java:526)
>> 
>> You are already in NSBundle.mainBundle() and then out pops a 
>> NoClassDefFoundError… that must be a red herring but I cannot figure it out. 
>> AARON ROSENZWEIG / Chat 'n Bike 
>> e:  aa...@chatnbike.com   t:  (301) 956-2319 
>> 
>>  
>> 
>>> On Jan 23, 2020, at 10:03 AM, Aaron Rosenzweig >> > wrote:
>>> 
>>> Hi Dennis - I hadn’t thought of that - we could have a fast failsafe and 
>>> then a slow one run at different times. Thanks! good idea. 
>>> AARON ROSENZWEIG / Chat 'n Bike 
>>> e:  aa...@chatnbike.com   t:  (301) 956-2319
>>> 
>>> 
>>> 
 On Jan 23, 2020, at 9:58 AM, Dennis Scheffer >>> > wrote:
 
 
> Cloning a “company” EO and testing unique constraints in SQL - is heavier 
> than testing an “isCamelCase()” function but lighter than selenium. Maybe 
> we have to do it in failsafe but it feels closer to regular unit tests 
> that should fire every time there is a checkin to the repo. In other 
> words if your tests take 5 minutes to run, why not let Agnes tell you 
> immediately that the build is broken rather than waiting till midnight 
> for selenium to do so?
 
 If there are multiple ways in which you would like to use the failsafe 
 plugin, you can always add multiple executions and put them in their own 
 build profiles 
 (https://maven.apache.org/guides/introduction/introduction-to-profiles.html
  
 ).
  Then you can fire failsafe every time you check in new code without 
 selenium and you can do something like this if your want selenium tests to 
 be run: 'mvn clean verify -P with-selenium'. There are a bunch of ways to 
 configure profiles to do something like that.
 
 -- 
 Dennis
 
> On 23. Jan 2020, at 15:39, Aaron Rosenzweig  > wrote:
> 
> Dennis that is a good point,
> 
> At the moment I have not cleaned and the product is there but it’s not 
> working but your point is still well taken. In Jenkins, in the cloud, it 
> will do a clean and I really should be doing a clean every time so the 
> product won’t be there to test with… there won’t be a bundle. 
> 
> Maven “Failsafe” makes sense for selenium… which is technically a JUnit 
> test too but it’s very heavy and flexes the UI of a bundled and launched 
> app. 
> 
> Cloning a “company” EO and testing unique constraints in SQL - is heavier 
> than testing an “isCamelCase()” function but lighter than selenium. Maybe 
> we have to do it in failsafe but it feels closer to regular unit tests 
> that should fire every time there is a checkin to the repo. In other 
> words if your tests take 5 minutes to run, why not let Agnes tell you 
> immediately that the build is broken rather than waiting till midnight 
> for selenium to do so?
> 
> http://www.globalnerdy.com/wp-content/uploads/2008/08/you_broke_the_build.jpg
>  
> 
> 
> When we run from within Eclipse we have a “bundless build” that uses the 
> Fluffy Bunny NSBundle variant and works great… without a product… and the 
> destructive EOF unit tests work there. I think what Markus did was patch 
> NSBundle to treat the maven target with the intermediate classes and 
> resources as a “maven bundless build” or a “maven black-ops bunny” 
> if-you-will. 
> 
> I’m still confused but clarity is setting in. Thank you everyone for this 
> hearty discussion. 
> AARON ROSENZWEIG / Chat 'n Bike 
> e:  aa...@chatnbike.com   t:  (301) 956-2319  
> 
>   
> 
>> On Jan 23, 

Re: Standalone D2W RuleModeler update?

2020-01-15 Thread Jesse Tayler via Webobjects-dev
I’m on Catalina?

Did I miss?

Version 1.6.0 (4)

Is what I’m running and it seems fine, but I’m not sure about bits



> On Jan 15, 2020, at 2:36 PM, Riccardo De Menna via Webobjects-dev 
>  wrote:
> 
> 
> 
>> On 28 Dec 2019, at 16:09, Markus Ruggiero via Webobjects-dev 
>>  wrote:
>> 
>> Is there a new(er) version of the standalone macOS D2W RuleModeler 
>> available? The version I have is 1.6.0.
>> 
>> I looked up the source in WonderSource but this also seems to be 1.6.0. 
>> Opening the xcodeproj file throws hundreds of issues at me. That is way over 
>> my head to fix (at leat at the moment).
>> 
>> Anyone compiled RuleModeler with a newer version of Xcode? 
> 
> Markus, Ted, Mark…
> 
> Anyone managed to get a working RuleModeler?
> Mine exhibits the same out of range errors after the Catalina/64bit upgrade.
> 
> Regards,
> Riccardo De Menna
> ___
> 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/jtayler%40oeinc.com
> 
> This email sent to jtay...@oeinc.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: WebObjects and Javascript Response Rewriter

2020-01-02 Thread Jesse Tayler via Webobjects-dev

I see.

Well, that’s a bit of a trick but of course, you can decide what you’d like to 
do.

I once realized that my UI elements often needed settings, defaults and 
configurations to exist in javascript — it seemed a waste and trouble to create 
new components of course, in my case, I use a lot of D2W and did not need 
programming outside the regular dev tools — but I did move the css and 
javascript additions into D2W rules, which made the component reliable and the 
programming of details often a matter of copying configurations you know work 
and writing the rule to determine when that script should be placed into the 
component.

In your case, it sounds like you might want a way they can write HTML / 
javascript components that are pulled from your app and then vended from the 
server.

Or better yet, a stub of your page with only the HTML required to jump off a 
few queries to render the rest of the page using largely website type tools 
with html segments deployed somewhere.

My sense is this would not be clean and likely won’t work out the way you’d 
really like it to, but who knows! Your situation might lend itself to some 
design choice like these and maybe that works for you.





> On Jan 2, 2020, at 1:40 PM, Jérémy DE ROYER  
> wrote:
> 
> Hi Jesse,
> 
> for the moment we are using jquery to modify the html code, but after 
> rendering in the client browser and our front end designers don’t feel like « 
> real » developpers.
> 
> I would like to give the possibility to our front-end (javascript) designers 
> to add their custom js code without having to change the back end that is all 
> written in java with webobjects
> 
> is this better explained ?
> 
> Jérémy
> 
>> Le 2 janv. 2020 à 19:33, Jesse Tayler > <mailto:jtay...@oeinc.com>> a écrit :
>> 
>> I might be confused —
>> 
>> Don’t you already have control at both ends?
>> 
>> 
>>> On Jan 2, 2020, at 1:31 PM, Jérémy DE ROYER via Webobjects-dev 
>>> mailto:webobjects-dev@lists.apple.com>> 
>>> wrote:
>>> 
>>> Hi all… and Happy New Year !
>>> 
>>> For this new year, I’de like to add a javascript postprocessor to the 
>>> webobjects response.
>>> 
>>> I mean I would like to give our front-end developpers the possiblity to 
>>> rewrite the reponse… before sending it to the customer.
>>> 
>>> Have any of you already done such a mechanism ?
>>> 
>>> Jérémy
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>> <mailto:Webobjects-dev@lists.apple.com>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com 
>>> <https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com>
>>> 
>>> This email sent to jtay...@oeinc.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


  1   2   3   4   5   6   7   >