Re: Multi-module maven release plugin

2025-08-17 Thread Aaron Rosenzweig via Webobjects-dev
Hi Ramsey, You’re right, using the multi-module-maven-release-plugin instead of the maven-release-plugin is a better fit. “multi-module” here means “multiple WO Frameworks” Seems like a good idea. > On Aug 16, 2025, at 3:08 PM, Ramsey Gurley via Webobjects-dev > wrote: > > Does anyone use

Re: Webobjects Facebook Group Needs a New Admin

2025-08-15 Thread Aaron Rosenzweig via Webobjects-dev
Hi Tom, Nice to hear from you, hope you are doing well. I didn’t know there was a Facebook WO group, but I don’t really use FaceBook either. Bummer you got blocked from Facebook. It is nice to talk about WO and many people are still productive with it. It’s made a big impact on my life and

Re: prototype.js

2025-08-13 Thread Aaron Rosenzweig via Webobjects-dev
For what it’s worth, I had TinyMCE working with the Ajax framework in the past. So if you aren’t married to Quill, maybe use TinyMCE instead. > On Aug 13, 2025, at 3:43 AM, Fredrik Lindgren via Webobjects-dev > wrote: > > Is there a way to opt out of using prototype.js with the Ajax framework.

Re: prototype.js

2025-08-13 Thread Aaron Rosenzweig via Webobjects-dev
Hi Fredrik, I read a little about Quill, it is modifying DOM with methods like “each” and “inject” which Prototype does too. Since they both do it, they clobber each other and the methods may have the same name but they work differently. You have a few options: 1) Use Quill inside an iframe s

Re: ERXOptGroupPopupButton vs List?

2025-08-04 Thread Aaron Rosenzweig via Webobjects-dev
I guess you could consider it a bug but I wouldn’t fight it. In your binding convert the ArrayList to an NSArray :-) > On Aug 3, 2025, at 7:17 PM, Paul Hoadley via Webobjects-dev > wrote: > > On 4 Aug 2025, at 02:11, Ondra Cada via Webobjects-dev > wrote: > >> whatever I try, it looks like

Re: Solved: weird fileupload behaviour: No form data left for WOFileUpload

2025-07-13 Thread Aaron Rosenzweig via Webobjects-dev
Yes, it’s a limitation. So try the ajax widget instead :-) See how that works out for you. > On Jul 13, 2025, at 4:39 PM, OCsite wrote: > > Aaron, > > well, your vague remembrance brought me to the very thing I should have done > at first, that is, digging up and checking the legacy WebObje

Re: weird fileupload behaviour: No form data left for WOFileUpload

2025-07-13 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, I vaguely remember that if there is a streaming upload it needs to be last in the form (vertically top-down). Anything after it won’t get synchronized to the bound variables. I also remember something about a legacy multipart parser that might help you do what you want but I couldn’t

Re: obtain a BLOB size without fetching the whole thing?

2025-06-25 Thread Aaron Rosenzweig via Webobjects-dev
Yes Samuel is right, a derived entity will help but it is only part of the answer. When an EO is fetched, all of it is fetched. In this case the blob plus the derived attribute so it defeats the purpose. You haven’t avoided fetching the blob. I’m going to give your EO a name, let’s call it “D

Re: AjaxFlexibleFileUpload, AjaxProgressBar

2025-05-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi Stavros, AjaxFlexibleFileUpload has an “oncomplete” (or something similar) binding. You could use that to invoke some javascript. For example you could add an “AjaxSubmitButton” and bind the “functionName” binding there and use that name in the “oncomplete” binding of the file upload. Imagin

Re: That pesky Amount read didn't match content-length ...

2025-02-23 Thread Aaron Rosenzweig via Webobjects-dev
There is likely an issue with how the WOAdaptor is compiled on a particular system. While some people are fine, others are not. We hit a stability issue similar to yours with file uploads and play back of video files as well. Direct connect was fine but the adaptor on the Linux server was gett

Re: Does anyone use WOLips groovy support?

2024-12-18 Thread Aaron Rosenzweig via Webobjects-dev
I also have not used groovy with WO > On Dec 18, 2024, at 4:55 PM, Paul Hoadley via Webobjects-dev > wrote: > > Hi Ramsey, > > On 18 Dec 2024, at 21:07, Ramsey Gurley via Webobjects-dev > wrote: > >> Which just leaves the WOLips groovy support. My question is again, does >> anyone use this

Re: WOLips development

2024-12-08 Thread Aaron Rosenzweig via Webobjects-dev
You’re the best, thank you Ramsey :-) > On Dec 8, 2024, at 6:30 PM, Ramsey Gurley wrote: > > Oh, I see, it's a new issue. This is why I haven't merged to master yet :) I > assumed it would take some time for issues to be reported. I can verify you > are right, it works on WOLips master branch

Re: WOLips development

2024-12-08 Thread Aaron Rosenzweig via Webobjects-dev
Yes I noticed this too, that dynamic elements like On Dec 7, 2024, at 6:43 AM, Ramsey Gurley via Webobjects-dev > wrote: > > If I have to hazard a guess, it is that WOString is not a WOComponent but a > WODynamicElement. It doesn't have an API file. ERXBooleanSelector is a > component and doe

Re: Java 11

2024-11-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi Michael, We’ve been running Java 17 for a while now. I’ve heard others run Java 21. The main issue is the lack of modules and newer java requires modules for scope. You’ll need to add the following VM arguments both in Eclipse and also in the launch script of your .woa VM Arguments: --add

Re: WOLips5 new update url

2024-11-28 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Ramsey. So much to be thankful for this time of year. I tried your new WOLips v5 using the update site url with Eclipse 2024-09 for enterprise and web developers. Works great :-) I can launch apps, use entity modeler, and the component editor. > On Nov 26, 2024, at 7:49 PM, Ramse

Re: WOLips5

2024-11-18 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Ramsey! > On Nov 17, 2024, at 10:12 PM, Ramsey Gurley via Webobjects-dev > wrote: > > I'm pleased to announce a new WOLips version: WOLips5. I've now pushed a new > branch to the WOLips repository where you can check it out and test it > yourselves. > > https://github.com/wocommunity/

Re: WOLips development

2024-11-05 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Ramsey, I used jprofiler once and it was useful but I would not be sad if we dropped it from Webobjects. Today I use visualvm which is a free standalone tool that comes with most java installations and provides good profiling. I never used jrebel. For those that aren’t familiar, if you

Re: JavaMemoryAdaptor not loading

2024-11-01 Thread Aaron Rosenzweig via Webobjects-dev
Hi Ramsey, I’ve never used the in-memory adaptor. That said, if I understand you correctly you are saying the source file has the correct info.plist file but when it gets built, it has the wrong one. In the very short term you could re-zip the correct file and place in your .m2/repository I

Re: Custom EOQualifier

2024-08-30 Thread Aaron Rosenzweig via Webobjects-dev
I agree with Xavier. Try it and see how it goes. You should be able to use the existing qualifier and it will work. Here’s a summary of things to try: 1) QualifierOperatorCaseInsensitiveLike - it should work. 2) Derived attribute - you can do “upper” in a derived attribute and then in java u

Re: overlapping R/Rs in same session

2024-08-21 Thread Aaron Rosenzweig via Webobjects-dev
If you open a second tab, using cookies, they are shared. If you continue doing more than 30 actions or so in the second tab, and then later try to do 1 action in the first tab, it will break. The first tab will try to do something but the page is out of the backtrack cache already. Last tab

Re: overlapping R/Rs in same session

2024-08-20 Thread Aaron Rosenzweig via Webobjects-dev
Sounds like maybe your session is in the URL? What if you put the session in a cookie? Then it’s not possible to have multiple tabs in the same browser. The last tab wins. > On Aug 19, 2024, at 9:25 AM, ocs--- via Webobjects-dev > wrote: > > Hi there, > > looks like the main cause of those

Re: awake-time long lags

2024-08-01 Thread Aaron Rosenzweig via Webobjects-dev
How is your RAM headspace? Is it possible you are running out of runway? Maybe it’s doing lots of garbage collection. > On Aug 1, 2024, at 8:32 PM, ocs--- via Webobjects-dev > wrote: > > Hi there, > > we are encountering another weird problem: a (very) long lag awake-time. > > We happen to

Solved: Properties file not loading

2024-07-31 Thread Aaron Rosenzweig via Webobjects-dev
WOLips. See lines 52-70 here, >> https://github.com/nullterminated/woarchetypes/blob/master/webobjects-app/src/main/resources/archetype-resources/pom.xml >> >> <https://github.com/nullterminated/woarchetypes/blob/master/webobjects-app/src/main/resources/archetype-resou

Re: Properties file not loading

2024-07-31 Thread Aaron Rosenzweig via Webobjects-dev
webobjects-app/src/main/resources/archetype-resources/pom.xml> > > > From: Aaron Rosenzweig via Webobjects-dev > Sent: Tuesday, July 30, 2024 5:34 PM > To: WebObjects-Dev List > Subject: Properties file not loading > > Anyone struggle with app not finding properties

Properties file not loading

2024-07-30 Thread Aaron Rosenzweig via Webobjects-dev
Anyone struggle with app not finding properties files when launching from Eclipse? I’m still trying to go form ANT -> Maven and there is a shared framework with a properties file in it that I want to be pulled into various apps. Curiously, app “A” is able to pull in the properties just fine b

Advisory: Eclipse bundless builds + maven = no está bien

2024-07-30 Thread Aaron Rosenzweig via Webobjects-dev
Do you know there is a concept of “bundless builds” ? It works with ANT but not with Maven. If you try to use bundless builds with Maven you’ll get runtime errors when launching via Eclipse related to “null” for "NSProperties._mainBundleName()” I've been using Eclipse bundless builds for a ver

Summary: modern maven requires secure HTTPS

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
I haven’t figured out all my ant -> maven conversion issues but wanted to summarize one finding. Newer maven installations require HTTPS (with an “S” for “secure”) for your connections to things such as the wocommunity repos. It wasn’t always this way and following community tutorials you mig

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
>>>>>> On Jul 29, 2024, at 12:02 PM, Aaron Rosenzweig >>>>> <mailto:aa...@chatnbike.com>> wrote: >>>>>> >>>>>> Hi Markus thanks for the quick reply! >>>>>> >>>>>> Good question, I don’t

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
haven’t tried it with Maven. It’s an interesting idea >>>> to try if I can figure it out. Maybe it will show a difference that leads >>>> to discovery. >>>> >>>>> On Jul 29, 2024, at 11:58 AM, Markus Stoll, junidas GmbH >>>>> mailt

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
t...@junidas.de>> wrote: >>>> >>>> Hi Aaron, >>>> >>>> I did the very thing just recently without any problems >>>> >>>> does the maven build run outside eclipse (standalone)? So does the problem >>>> occur

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
on, >> >> I did the very thing just recently without any problems >> >> does the maven build run outside eclipse (standalone)? So does the problem >> occur only when started from eclipse? >> >> Regards >> Markus >> >>> Am 29.07.2024 um 1

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Markus > >> Am 29.07.2024 um 17:49 schrieb Aaron Rosenzweig via Webobjects-dev >> : >> >> Hi, >> >> I’m trying to convert an ANT based webobjects application into a Maven >> build. At the moment It’s building in Eclipse without errors but when I try

Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi, I’m trying to convert an ANT based webobjects application into a Maven build. At the moment It’s building in Eclipse without errors but when I try to launch within the Eclipse environment I get errors due to not finding the main bundle. Specifically the following call inside of ERXApplicat

Re: WOAjaxCollapsibleComponentContent ???

2024-06-26 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus :-) Glad that worked out for you. I think there is an AjaxExamples project in WOnder which is an app you can run and see a few things. You pick up on things after toiling with it for a while. > On Jun 26, 2024, at 7:34 AM, mailinglists wrote: > > Thanks Aaron, works perfectly. >

Re: WOAjaxCollapsibleComponentContent ???

2024-06-23 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus, To use like you envision you need to add some scaffolding. Realize that the ajax link and the ajax submit button can be given a named function. When you do that, they don’t render, put provide a name you can call on the client side that will do a round trip to the server. So you n

Re: re/store context somehow? (OCsite)

2024-05-17 Thread Aaron Rosenzweig via Webobjects-dev
Your best bet is likely to store the entire WOComponent as an ivar in the session. You can get it from context().page() That way wen they return and the session is still alive you can return that ivar to render where they were and what they were doing. So you’ll need to store it in the session

Re: Thanks Stefan! (mod_proxy)

2024-03-08 Thread Aaron Rosenzweig via Webobjects-dev
erformance improvements are huge. So far so good :-) Thanks everyone, — Aaron > On Mar 8, 2024, at 9:15 AM, Michael Schmiedgen wrote: > > > On 3/8/2024 1:55 AM, Aaron Rosenzweig via Webobjects-dev wrote: >> Thank you Stefan, Johann, and the community for making the switch from >>

Thanks Stefan! (mod_proxy)

2024-03-07 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Stefan, Johann, and the community for making the switch from mod_Webobjects.so adaptor to the built-in Apache mod_proxy module. It helped us out this week to dig up Stefan’s 2015 video presentation on this topic, utilize the ERXApplication cookie generation, and the migration tab in

Re: loooong saveChanges prep-stage

2024-01-31 Thread Aaron Rosenzweig via Webobjects-dev
Check your "willUpdate()" logic and similar things such as "didUpdate()". It may be doing lots of calculations in certain situations that is almost but not quite an infinite loop. On Wed, Jan 31, 2024 at 5:59 AM OCsite via Webobjects-dev < webobjects-dev@lists.apple.com> wrote: > Thanks, guys! >

Re: Replay request

2023-11-14 Thread Aaron Rosenzweig via Webobjects-dev
Excellent André, Glad you found an alternate way than trying to replay requests which would be brittle if you could get it to work. Your new way is much better with the lambdas. It’s basically blocks (like in Smalltalk) that you can execute when you want. Javascript does this quite a bit to wi

Re: Replay request

2023-11-11 Thread Aaron Rosenzweig via Webobjects-dev
Hi André, At step 3 can you store a variable that remembers the page the user intends to go to? maybe you can make an enum with all the possible pages they could go to on the next step and the variable would be one of those values. Then, in 7b, you can reference that variable and create the

Re: AjaxAutoComplete

2023-11-11 Thread Aaron Rosenzweig via Webobjects-dev
That’s clever Samuel. Using the components as building blocks to piggy back from each other. Bravo :-) > On Nov 11, 2023, at 5:12 PM, Samuel Pelletier via Webobjects-dev > wrote: > > Hi, > > I managed to achieve your goal in my apps using this pattern : > - Create a submit js function u

Re: Replay request

2023-11-10 Thread Aaron Rosenzweig via Webobjects-dev
Hi André, I didn’t fully understand but it sounds like maybe you are working too hard. It’s easier to hold onto WOComponents than it is to hold onto contexts. If you have an “old page” hold onto it and just return the page. If you don’t have the outermost page you can find that quickly by doing

Re: wildcard search - how to escape asterisk?

2023-10-13 Thread Aaron Rosenzweig via Webobjects-dev
named” (a NeXT engineer). Cheers, — Aaron > On Oct 12, 2023, at 12:52 PM, Michael Kondratov > wrote: > > I think you can pass it as a variable to a fetch specification. > > > Sent from my iPhone > >> On Oct 12, 2023, at 10:45, Aaron Rosenzweig via Webobjects-dev

wildcard search - how to escape asterisk?

2023-10-12 Thread Aaron Rosenzweig via Webobjects-dev
Hi all, We can do a case insensitive like with EOF for *blue* on a text field (to find “blue” at the beginning, middle, or end of a field) But what if we want to find an asterisk anywhere in a text field? How do we do a case insensitive like looking for an asterisk anywhere in the text? Is thi

Re: Deployment Ubuntu 22.04

2023-10-02 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Tim, that’s a nice writeup :-) > On Oct 1, 2023, at 4:26 AM, D Tim Cummings via Webobjects-dev > wrote: > > I have deployed to ubuntu 22.04. I have added the steps I used to wocommunity > wiki > > https://wiki.wocommunity.org/display/documentation/Deploying+on+Ubuntu+22.04 > > Tim >

Re: Own Instance number

2023-03-01 Thread Aaron Rosenzweig via Webobjects-dev
Hi André, You can try: context.request.applicationNumber In other words once you have the WORequest you can get the application number from that. If you don’t have the WORequest handy, maybe you can get the WOContext (like from a WOComponent) and then get the request. Cheers, — Aaron > On

Re: Exception within EOModeler

2023-01-09 Thread Aaron Rosenzweig via Webobjects-dev
I’m a poet and didn’t know it :-) > On Jan 9, 2023, at 1:36 AM, Ramsey Gurley > wrote: > > >Wonderful way > > I see what you did there :) > From: Aaron Rosenzweig > Sent: Monday, January 9, 2023 12:31 PM > To: Ramsey Gurley > Cc: André Rothe ; Paul Yu ; > Webobjects-dev > Subject: Re: Exce

Re: Exception within EOModeler

2023-01-08 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Ralf and Ramsey :-) Wonderful way to start the new year :-) > On Jan 8, 2023, at 6:34 PM, Ramsey Gurley via Webobjects-dev > wrote: > > This is fixed now thanks to some contributions from Ralf Schuchardt. The > WOLips_master build is successful and it seems to work as expected under

Re: ERXBetweenQualifier evaluateWithObject() does not work with key paths

2022-12-21 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Ricardo! > On Dec 21, 2022, at 6:03 PM, Ricardo Parada via Webobjects-dev > wrote: > > Hi all, > > I ran into a bug trying to use ERXBetweenQualifier’s evaluateWithObject() to > evaluate the qualifier against an object in memory when the key is a key > path. > > I created a pull

Re: Java 17? Half or Full?

2022-12-11 Thread Aaron Rosenzweig via Webobjects-dev
ts could be updated to Java-Module-Format (As > > long as all the other depencies of them are also in Module-Format) > > > > But be aware of licence-restrictions: The WebObjects-Jars are > > distributed with the WebObjects-Licence. The licence states that it is > > n

Java 17? Half or Full?

2022-12-10 Thread Aaron Rosenzweig via Webobjects-dev
This is both a topic for both pure NeXT/Apple WO as well as a WOnder. Your WO deployments, are they on Java 17? Are they half or full Java 17? Please chime in. In our case, at present, we are developing and deploying on a Java 17 VM but using Java 1.8 (version 8) compliance. I call this “Java

Re: WebObjects Docker Deployment

2022-08-14 Thread Aaron Rosenzweig via Webobjects-dev
Thank you Oleksii for taking the time to write up an excellent blog post. I skimmed it just now but I absolutely love how you crafted a story from the beginnings, of how we did deployments along with the why/how up to today with using Docker and why you did that. It sure would be nice to do it

Re: [Proposal] Drop Wonder's Ant Build

2022-06-29 Thread Aaron Rosenzweig via Webobjects-dev
radle > natures. Someone would have to write that I think. It's probably not a small > project. > > From: Aaron Rosenzweig via Webobjects-dev <mailto:webobjects-dev@lists.apple.com>> > Sent: Tuesday, June 28, 2022 6:12 PM > To: WebObjects-Dev List <mailto:webobjects

Re: [Proposal] Drop Wonder's Ant Build

2022-06-28 Thread Aaron Rosenzweig via Webobjects-dev
It’s not a completely different issue is it? If anyone builds Wonder as part of their CI/CD and is currently using ANT, they will need to switch to Maven going forward. While we wish everyone who makes changes to Wonder would make pull requests to integrate them but that doesn’t always happen.

Re: Wrong SQL when joining in an OR-part of the qualifier

2022-02-14 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, That’s called the object to relational impedance mismatch. The qualifier works in memory but fails when you try to invoke with SQL. To get around it, you can use an ERXExistsQualifier for your to-one relationship. Typically you use this with to-many relationships but it actually can wo

Re: session/logged-in user valid for a specific component only?

2022-01-09 Thread Aaron Rosenzweig via Webobjects-dev
OC, your idea will work, but here’s another to consider. Make an interface for user objects, call it “UserInterface” You are now free to have multiple types of user objects that all implement a common interface. You can make your current User implement the interface and now make a brand new Us

Re: com.webobjects.foundation.NSTimeZone ... exception

2022-01-07 Thread Aaron Rosenzweig via Webobjects-dev
Try adding: JVMOptions --add-exports java.base/sun.security.action=ALL-UNNAMED And look at similar discussions about this. After java 1.8 they went module happy but Apple stuff doesn’t abide. In other words, Apple jars don’t have named modules. So you need to set things to ignore that. > O

Re: Log4j Vulnerability

2021-12-27 Thread Aaron Rosenzweig via Webobjects-dev
Should we upgrade the Wonder jars to v2.16? I realize they are currently on v1.x which isn’t affected by the latest stirrings on the inter webs but maybe this is a good time to move it forward? v1.x has a small number of vulnerabilities of its own, though most people aren’t affected by them e

Re: Single thread creation queue?

2021-11-22 Thread Aaron Rosenzweig via Webobjects-dev
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 anoth

Re: Single thread creation queue?

2021-11-22 Thread Aaron Rosenzweig via Webobjects-dev
Hi Jesse, What about SQL level “unique” and “check” constraints? > On Nov 22, 2021, at 8:34 AM, Jesse Tayler via Webobjects-dev > wrote: > > 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 fa

Re: Idle in transaction

2020-12-15 Thread Aaron Rosenzweig via Webobjects-dev
only moderate load), > but on your sql query I DO get some result rows. Did no yet have time for > further analysis > > Regards, Markus > >> Am 14.12.2020 um 22:29 schrieb Aaron Rosenzweig via Webobjects-dev >> mailto:webobjects-dev@lists.apple.com>>: >> &g

Re: Idle in transaction

2020-12-14 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Paul for the sanity check :-) > On Dec 14, 2020, at 4:54 PM, Paul Hoadley wrote: > > Hi Aaron, > > On 15 Dec 2020, at 07:59, Aaron Rosenzweig via Webobjects-dev > mailto:webobjects-dev@lists.apple.com>> > wrote: > >> Anyone have any thoughts or e

Idle in transaction

2020-12-14 Thread Aaron Rosenzweig via Webobjects-dev
Has anyone dealt with SQL statements that linger and get stuck “idle in transaction” ? We started looking carefully at our WO app and Postgres data store. We discovered that it wasn’t vacuuming because of these hung statements. Turns out it appears to be deep into WO, when we do fetches somet

Re: How to Manually edit SiteConfig.xml

2020-10-01 Thread Aaron Rosenzweig via Webobjects-dev
w to do it by searching WebObjects Docker > > rentzsch/docker-webobjects > alextu/wodocker <https://github.com/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, &g

Re: How to Manually edit SiteConfig.xml

2020-08-25 Thread Aaron Rosenzweig via Webobjects-dev
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

Re: How often do you bounce your apps?

2020-08-08 Thread Aaron Rosenzweig via Webobjects-dev
ponents. But that is another story. > > And back to the original question: I do not bounce apps either, had even an > application that ran without problems > 2 years in one go. > > Johann > > >> Am 08.08.2020 um 04:27 schrieb Aaron Rosenzweig via Webobjects-dev >&g

Re: How often do you bounce your apps?

2020-08-07 Thread Aaron Rosenzweig via Webobjects-dev
AVA 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 >>>>>>> >>>>>> &l

How often do you bounce your apps?

2020-08-04 Thread Aaron Rosenzweig via Webobjects-dev
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 s

Re: given WOLips is being discussed...

2020-07-04 Thread Aaron Rosenzweig via Webobjects-dev
Thanks OC for sharing your experience and your code for the EOModeler on OSX. (I realize that is jvanek’s link; however, it was you who cobbled together the first version). Eclipse does two things well: 1) Refactoring 2) Cross platform (Macs, PCs, Linux - mixed environment) I use Eclipse today

Re: Is it normal that ulimit hangs a thread instead of raising an exception or something like that?

2020-06-29 Thread Aaron Rosenzweig via Webobjects-dev
Seems “normal” in the sense that it is trying to connect but it cannot. Creating an OSC makes a cursor to the DB which usually ends up being a file on disk and can run into ulimits. At some point, maybe, resources will be relinquished so it keeps waiting. You can: 1) Find out if your cursors

Re: Looks like an OSC must be disposed manually?!? (was: background tasks locked, workers run all right)

2020-06-29 Thread Aaron Rosenzweig via Webobjects-dev
If other things depend on that OSC, then disposing it would be bad. If it is an OSC you made to do work in a long running task and then disposed at the end of that task, it would be good to dispose it… or… to keep it in an OSC pool and check it back into that pool. They aren’t cheap. AARON ROSE

Re: Looks like an OSC must be disposed manually?!? (was: background tasks locked, workers run all right)

2020-06-29 Thread Aaron Rosenzweig via Webobjects-dev
OSC is a cursor to the DB. They aren’t particularly cheap to acquire. As far as I know, they live until you dispose of them. They don’t automatically dispose. They are not cheap like an editingContext. One OSC can service a plethora of editingContexts. Simple WOApps have two OSC for the life of

Re: Strange null pointer error

2020-06-26 Thread Aaron Rosenzweig via Webobjects-dev
Hi Michael, It’s an interesting problem with at first blush seems impossible but on second pass, looks plausible. That is clearly Wonder code so you can trace it and debug it. The line number 125 of ERXDatabaseContext.java is likely very accurate. Stepping through (mentally) I concur that th

Re: Creating a EOModel in code

2020-06-26 Thread Aaron Rosenzweig via Webobjects-dev
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 thin

Re: GID for deleted objects

2020-06-15 Thread Aaron Rosenzweig via Webobjects-dev
“mightDelete()” to remember “didDelete()” to act AARON ROSENZWEIG / Chat 'n Bike e: aa...@chatnbike.com t: (301) 956-2319 > On Jun 15, 2020, at 6:14 AM, OCsite via Webobjects-dev > wrote: > > Hi there, > > I'

WO with docker and kubernetes

2020-06-07 Thread Aaron Rosenzweig via Webobjects-dev
Has anyone used WO with containers and orchestration tools such as docker and kubernetes? If so, how’d you like it? I ran into an issue last week and have started deep diving into this realm thinking it might be a smart play especially since kubernetes appears to have won the crown for being t

Re: data source for “static” objects?

2020-06-07 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, I suppose you could move your java POJOs into a .jar and then expose them with a java app running on a particular port that masquerades as a DB endpoint. I’m not sure it’s worth the trouble but it could be done. This would be the “my DB in a box” solution where you essentially make trimm

Re: Chat Bot Framework ?

2020-06-04 Thread Aaron Rosenzweig via Webobjects-dev
A lifetime ago I had worked on an open-source java chatbot. It was based on prior work and I made new files to give it a persona named “Charlie” I have not kept up with any recent developments but at the time I used the JAR and it was embedded in my WO app so it was easy in that sense. One th

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Yeah we missed your point. We gave you advice about the EO but not the relationships. Generally I don’t have logging coming out about relationships nor the object graph. I suppose you’ll have to look at what is generating those logs and have some sort of preprocessor that does somethin

Re: Sign in with apple?

2020-06-01 Thread Aaron Rosenzweig via Webobjects-dev
You make a good point Ray - about using a password-less system - and you can do that with Auth0 and Okta too: https://auth0.com/docs/connections/passwordless https://www.okta.com/passwordless-authentication/

Re: Sign in with apple?

2020-05-31 Thread Aaron Rosenzweig via Webobjects-dev
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/

Re: is there a trick to know that a property of EO did change?

2020-05-24 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Could you override the setter of that property? If it was “firstName” could you create “setFirstName()” which calls super and then does the additional logic you desire? AARON ROSENZWEIG / Chat 'n Bike e: aa...@chatnbike.com t: (3

Re: background tasks locked, workers run all right

2020-05-21 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Given that you like the idea of making a new coordinator / cursor for each of these tasks - my recommendation is to do it but then don’t lock the EC. Nothing else is using it right? You’ve guaranteed it by starting a new thread and a new coordinator, so don’t lock it. You can get into a

Re: background tasks locked, workers run all right

2020-05-21 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, It looks like you are mixing a couple things. If you are going to use Kieran’s code (I believe it was him initially) you should use it fully and have a healthy number of coordinators. I say that because his code does round robin and there is a chance that two threads get the same coordi

Re: PWA

2020-04-28 Thread Aaron Rosenzweig via Webobjects-dev
Hi Pierre, PWA can be PIA until we gain our footing :-) To be clear for us, and anyone late to the party, when you say “DA and PWA” what you mean is: “I want to vend a progressive-web-app from a WebObjects DirectAction” No, I have not done that before. I’m not sure why you want to do that but

Re: PWA

2020-04-27 Thread Aaron Rosenzweig via Webobjects-dev
Hi Pierre, The critical part is figuring out how to be “offline first” - it’s a mindset - offline is not an error condition. The “sw.js” you mention is a “service worker” which is a means of caching files on the client so you don’t need to speak with the server. The next time you access the w

Re: Maven Unit tests with EOF

2020-02-12 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Paul, That’s an insightful reply! If I understand you right you are using the surefire plugin but setting the nature for Maven to find the files? That’s a neat way to do it. I think that nature was there for people who wanted to build with Maven inside of eclipse, but you can use it th

Re: Problem running from Eclipse

2020-01-27 Thread Aaron Rosenzweig via Webobjects-dev
Sweet, Glad you figured it out in the end. AARON ROSENZWEIG / Chat 'n Bike e: aa...@chatnbike.com t: (301) 956-2319 > On Jan 27, 2020, at 3:51 PM, Valerio Luccio wrote: > > OK, it seems to a problem with my w

Re: JavaScripts generated programmatically and/or placed at the end

2020-01-27 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Offhand what you are asking is probably possible; however I have a suggestion to not fight against the grain. If you are using prototype, then wait for the “dom loaded event” like so: http://api.prototypejs.org/dom/document/observe/ jQu

Re: Problem running from Eclipse

2020-01-27 Thread Aaron Rosenzweig via Webobjects-dev
Hi Valerio, It’s that the error complained about not finding NSCoding which should be in JavaFoundation. Oh… but you know… there is a WebServerResources version that you do not want. Gotta be sure you got the right jar. You want something like: /Library/WebObjects/Versions/WebObjects543/System

Re: Problem running from Eclipse

2020-01-27 Thread Aaron Rosenzweig via Webobjects-dev
Hey Valerio, That sheds some light… did you upgrade to Catalina or other OS changes? Many people got burned by Catalina moving directories under root to other locations messing up your class path. It’s very possible that your beans were arranged above your frank without you knowing… just by an

Re: Problem running from Eclipse

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Sorry Valerio, 6 weeks is a long time indeed - you’ve been patient. JNI has to do with Java making calls to a C library. That’s the “native method” part. If it were me, I’d trash Eclipse and start over. I know that’s not what you want to hear but… Hmm… thinking some more… “NSCoding” lives

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
<mailto:aa...@chatnbike.com> t: (301) 956-2319 > On Jan 23, 2020, at 10:52 PM, Chuck Hill wrote: > > That error is definitely a static initializer or block throwing. Nothing > else is output? > > >> On Jan 23, 2020, at 8:41 AM, Aaron Rosenzweig via

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
hat what you get with some java version mismatch ?? > >> On Jan 23, 2020, at 11:41 AM, Aaron Rosenzweig via Webobjects-dev >> mailto:webobjects-dev@lists.apple.com>> >> wrote: >> >> I tried this call: >> >> NSBundle MYBUNDLE = NSBundle.main

Re: ERFoundation question

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
> > No, you’re not. There's no source code for the ERFoundation framework. 😕 > > Sent from my iPhone > >> On 23 Jan 2020, at 13:51, Aaron Rosenzweig via Webobjects-dev >> wrote: >> >> I want to put some logging messages in NSBundle.java that res

ERFoundation question

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
I want to put some logging messages in NSBundle.java that resides in ERFoundation.jar but I don’t understand how to do so. It looks like ERFoundation.jar lives inside of ERJars.framework and there is no source? How is that possible? I must be mistaken. AARON ROSENZWEIG / Chat 'n Bike

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
gt; target directory, create a fresh new bundle and run your tests on your >>>>> fresh bundle with the solution mentioned above. >>>>> >>>>> With regards, >>>>> -- >>>>> Dennis >>>>> >>>>> &

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
on mentioned above. >>>> >>>> With regards, >>>> -- >>>> Dennis >>>> >>>> >>>>> On 23. Jan 2020, at 02:28, Henrique Prange via Webobjects-dev >>>>> mailto:webobjects-dev@lists.apple.com&

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
nd the Properties file of your >>>> project in the wrong place. >>>> >>>> When you build your project in Eclipse with WOLips, it generates a build >>>> folder containing your project's WOA bundle. Maven, however, puts the >>>>

  1   2   >