Re: Application directory path not found.

2014-07-09 Thread Chuck Hill
That and your other problem come from the WebObjects frameworks not seeing your application as the main bundle. This can mean that the app bundle is broken (maybe code is too old for current WO or Eclipse?) or that the working directory in your Launch config is incorrect or… something else.

Re: Application directory path not found.

2014-07-09 Thread Chuck Hill
solution? Please help us. On 10 Jul 2014 01:22, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Webobjects version:5.2.4 That is ancient. Nothing supports that. On 2014-07-09, 12:50 PM, Pawan Tiwari wrote: There are following things that i used here:- Eclipse version

Re: Webobject project is not runing!

2014-07-07 Thread Chuck Hill
When NSBundle can’t find the main bundle, it falls back to using JavaFoundation. I have no idea why it does this, maybe it had a use in the past. So the question here is, why is it not finding the main bundle? Two likely answers are that the Launch config is eclipse is using the wrong

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
Hi Gino, On 2014-07-03, 2:29 AM, Gino Pacitti wrote: Ok so I have 3 servers. Server1 WOMonitor, WOTaskd, Apache2 Why is wotaskd on this machine if there are no applications? Server2 WOTaskd, Apache2, WOApplications Why is Apache on this machine if it is also on Server 1? This is not

Re: App not starting from Monitor

2014-07-03 Thread Chuck Hill
What was the problem? On 2014-07-03, 11:22 AM, Gino Pacitti wrote: Hi Chuck Actually its OK I resolved the problems… All working now… Gino On 3 Jul 2014, at 19:21, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Hi Gino, On 2014-07-03, 2:29 AM, Gino Pacitti wrote

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
How have you set WOHost for wotaskd, monitor, and the apps? Chuck On 2014-07-02, 9:52 AM, Gino Pacitti wrote: I have WOMonitor and WOTaskd running on server1 and only WOTaskd running on server 2 but cannot get the app on Server 2 to start using WOMonitor... Tying a different configuration

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
be the result of a crash or an intentional shutdown from outside of wotaskd I expect that is caused by name / IP confusion between the machines. Have you reviewed this? http://wiki.wocommunity.org/pages/viewpage.action?pageId=7143530 Chuck On 2 Jul 2014, at 18:42, Chuck Hill ch...@global

Re: App not starting using 2 servers

2014-07-02 Thread Chuck Hill
running on both machines. Chuck Gino On 2 Jul 2014, at 21:04, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Hi Gino, On 2014-07-02, 11:08 AM, Gino Pacitti wrote: Hi Chuck I tried localhost in the Properties file of wotaskd on both machines only to get an error message

Re: Obscure bug involving AjaxFlexibleFileUpload

2014-06-24 Thread Chuck Hill
On 2014-06-24, 5:59 PM, Paul Hoadley wrote: On 23/06/2014, at 3:43 PM, Paul Hoadley pa...@logicsquad.netmailto:pa...@logicsquad.net wrote: I've been using AjaxFlexibleFileUpload in a project for a few months now, but I've been getting reports of occasional failures. The symptoms are very

Re: Multi Application Instance and propagation of EO changes

2014-06-18 Thread Chuck Hill
Something like /Wonder/Frameworks/EOF/ERChangeNotificationJMS or Wonder/Frameworks/EOF/ERJGroupsSynchronizer/ would be worth considering. Chuck On 2014-06-18, 5:29 AM, Gino Pacitti wrote: Hi list Im working on an App that requires an initial cache of read only EOs which will drive searches

Re: Child editing context not getting updated with save

2014-06-18 Thread Chuck Hill
Is the child EC locked? On 2014-06-18, 2:27 PM, Benjamin Chew wrote: Hi All, I'm new to dealing with child editing contexts and am wondering if anyone can help shed some light on this issue. So I have a parent EC and a child EC, and I fetch an object into the child EC. I then modify the

Re: any reason not to be building Utilities/NSFoundation?

2014-06-06 Thread Chuck Hill
IIRC, it is a manual build and the jar is then added to ERJars. On 2014-06-06, 4:37 PM, Ray Kiddy wrote: This is not being built by ant in Wonder. I was just going to check in changes to build it. But then I thought I would check. It is not in Archives. Any reason not to build it? Perhaps it

Re: any reason not to be building Utilities/NSFoundation?

2014-06-06 Thread Chuck Hill
I have no idea what that is then. On 2014-06-06, 5:29 PM, Ray Kiddy wrote: On Fri, 6 Jun 2014 23:49:54 + Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: IIRC, it is a manual build and the jar is then added to ERJars. I am not sure that makes sense. The contents

Re: Latency

2014-05-31 Thread Chuck Hill
Serving through the app will add latency. Statically serving from the app bundle (ERXResourceManager in deployment) won’t as it does not go through the WO adaptor. Chuck On 2014-05-31, 10:02 AM, Michael Kondratov wrote: Would anyone know if WebObjects adapter ads latency to apache serving

Re: Announcement: EROldFart Interface and a solid default implementation

2014-05-30 Thread Chuck Hill
It is frighteningly accurate! On 2014-05-30, 9:48 AM, Timothy Worman wrote: That is really good stuff. Happy birthday Chuck. My favorite part is the default case for process(memory). :-) Tim UCLA GSEIS On May 30, 2014, at 8:41 AM, David Avendasora

Re: Wonder addition - updated openbase plugin

2014-05-28 Thread Chuck Hill
The replacement plugins are in ERExtensions which is forced into the class path before any of the WO frameworks. As such any classes that they contain that have the same package and class names as in WO proper will render the original classes invisible to the JVM. Chuck On 2014-05-28, 1:13

Re: AjaxGrid single row select UPDATE

2014-05-07 Thread Chuck Hill
Hi Jens, On 2014-05-07, 1:59 AM, Dipl.-Ing. Jens Lünstedt wrote: Hello, for my AjaxGrid I have two questions. (I'm not very familiar with JavaScript) How to define a single row selection? (At the moment I can select and deselect multiple rows). You mean that you want to prevent the user from

Re: Wonder documentation on jenkins.wocommunity.org broken?

2014-05-06 Thread Chuck Hill
+1 On 2014-05-06, 1:33 PM, Pascal Robert wrote: IHMO, the Wonder mailing list should go away. I don't see why we need two mailing lists when 95% of the community use Wonder too. And the Apple mailing list have more people in it. - Mail original - De: CHRISTOPH WICK | i4innovation

Re: PrimaryKey generation takes a lot of time

2014-05-05 Thread Chuck Hill
Are you creating the objects and saving them all at once? If so, that is your problem. Save them in batches of 500 or 1000 and it will go much quicker. You might want to try making a new editing context for each batch. Chuck On 2014-05-05, 4:29 PM, Tobias Janz wrote: Hi all, i need to

Re: ERXEC RR loop locking

2014-04-29 Thread Chuck Hill
Does your app have the properties set that enable auto-locking? On 2014-04-29, 4:38 AM, John Pollard wrote: We have an application that uses ERXECs yet exhibits deadlock which appears resolved with introduction of manual lock / unlock in at the start and end of performAction.. within a

Re: Mixing and matching prototypes

2014-04-25 Thread Chuck Hill
That sounds about right. You are lucky it did not contact an American legal firm and sue you! On 2014-04-25, 8:13 AM, Hugi Thordarson wrote: P.S. Missed you at WOWODC. I stayed surprisingly sober. It’s all your fault. A fun group of 5 Germans did a good job of trying to replace 1 Icelandic

Re: [Wonder-disc] SQL Generation Issue

2014-04-24 Thread Chuck Hill
Still working on my first cup of coffee… is the issue here that you are suing a static initializer on an EO? If so, I think you need to show it to us, or tell us why. That is a bad thing to do if it touches any of EOF. It just is. Chuck On 2014-04-24, 8:42 AM, David Avendasora wrote: On

Re: SQL Generation Issue

2014-04-24 Thread Chuck Hill
? Thanks, Dave On Oct 26, 2011, at 5:19 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: The fundamental issue is that ERXEnterpriseObjectCache is intended to be used in a Wonder application, where those properties are read and used. Generating SQL only loads

Re: Deploy on CentOS

2014-04-23 Thread Chuck Hill
I added several additional checks for launch problems, fixed bugs, and added better logging and messages for my presentation at WOWODC this year. If you want to build wotaskd and monitor yourself, you can clone my repo from here: https://github.com/chillatgvc/wonder/tree/WOWODC14 I still have

Re: Manual form submission with Ajax.framework

2014-04-21 Thread Chuck Hill
On 2014-04-21, 10:35 PM, Paul Hoadley wrote: In any case, my designer's patience was exceeded while waiting for me to fix this, and he's using a different drop-in replacement And that is what we call a WIN! :-P ___ Do not post admin requests to the

Re: What stands in the way becomes the way

2014-04-16 Thread Chuck Hill
I just won’t be the same if you don’t present at least three sessions! On 2014-04-16, 11:29 AM, Pascal Robert wrote: I'm gonna get kill, but I have said at WOWODC this year that I'm willing to organize it in Montreal again, as long as I'm not presenting (beside the State of the Community

Re: Mixing and matching prototypes

2014-04-16 Thread Chuck Hill
On 2014-04-16, 12:40 PM, David Avendasora wrote: P.S. Missed you at WOWODC. I stayed surprisingly sober. It’s all your fault. A fun group of 5 Germans did a good job of trying to replace 1 Icelandic crazy man, but fell short - we found our way back to the Hotel on only the 2nd try. My liver

Re: Apache adaptor error with http header

2014-04-15 Thread Chuck Hill
On 09 Apr 2014, at 19:09, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: My best guess at this point (and it is only a guess and on half a cup of coffee) is that you have a threading model error in how you configured the build – two threads are sharing data structures

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
How is it not pure Java now? Chuck On 2014-04-15, 12:25 PM, Ada wrote: Hello all, We're looking to convert one of our WebObjects Apps to pure java. Wondering if there's a tool which could help with this process. The application is running WO 5.4 on Java 5. Any advice would be greatly

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
and Ant if you really want the pain. WOLips is NOT used for deployed apps. Chuck On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: How is it not pure Java now? Chuck On 2014-04-15, 12:25 PM, Ada wrote: Hello all, We're looking

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
. On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: How is it not pure Java now? Chuck On 2014-04-15, 12:25 PM, Ada wrote: Hello all, We're looking to convert one of our WebObjects Apps to pure java. Wondering if there's a tool which

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
on how to rewrite the GUI (it is rather simple) into Java. On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: How is it not pure Java now? Chuck On 2014-04-15, 12:25 PM, Ada wrote: Hello all, We're looking to convert one of our WebObjects

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
and Check my WO version, but my gut feeling tells me it is 5.4.2, that was the version released in late '07 early '08 that supported the Mac Intels. On Tue, Apr 15, 2014 at 8:12 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Hi, On 2014-04-15, 4:48 PM, Ada wrote

Re: Convert WebObjects app to pure java

2014-04-15 Thread Chuck Hill
tomorrow and Check my WO version, but my gut feeling tells me it is 5.4.2, that was the version released in late '07 early '08 that supported the Mac Intels. On Tue, Apr 15, 2014 at 8:12 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Hi, On 2014-04-15, 4:48 PM, Ada

Re: Frameworks/Ajax/Ajax/WebServerResources in Wonder

2014-04-14 Thread Chuck Hill
Yes, they are created by the build. I am not sure why they are under source control. On 2014-04-14, 2:50 PM, Klaus Berkling wrote: Can someone confirm that wondaculous-min.js and wondaculous.js in Frameworks/Ajax/Ajax/WebServerResources is auto-updated by some other task? I'm asking because

Re: Apache adaptor error with http header

2014-04-09 Thread Chuck Hill
On 2014-04-09, 8:10 AM, Schoenenberger Dominique wrote: We have errors reported by the WebObjects Apache adaptor: 04-Apr-2014 18:36:23 - Error: Header length 10240 04-Apr-2014 18:36:23 - Error: header text:VL_S_IV_1_0_1DVL_S_IV 1.0.1/optionoption value=DVL_S_V_1_0_0”… 04-Apr-2014 18:36:23 -

Re: Apache adaptor error with http header

2014-04-09 Thread Chuck Hill
that, hopefully someone else can. Chuck On 2014-04-09, 10:03 AM, Schoenenberger Dominique wrote: It’s Apache: 2.2.3 on Linux: Redhat 2.6.18-194.el5 Adaptor: latest version of Apache adaptor from Wonder (checked out end of march), built by myself Dominique On 09 Apr 2014, at 18:38, Chuck Hill ch

Re: WWDC (not WOWODC, the other one)

2014-04-08 Thread Chuck Hill
You would think that would result in something better than sending Avendasora to WWDC. What has happened to Apple’s standards? On 2014-04-08, 11:44 AM, Miguel Arroz wrote: Hi, http://www.foxnews.com/science/2014/04/08/brightest-planets-in-april-night-sky-see-mars-jupiter-and-more/

Re: Java 8

2014-03-26 Thread Chuck Hill
The real question I think is whether HyperCard will run on Java 8. On 2014-03-26, 4:10 PM, Hugi Thordarson wrote: So… I went ahead and upgraded my production servers (with a quick route to an emergency downgrade). Everything seems to be running nicely, ~30 WO apps there. I’ll let you know

Re: WOLips gives WO Template Problems (keypaths) even if not real problems!

2014-03-25 Thread Chuck Hill
The // VALID marker is the intended way to fix validation problems like this. Chuck On 2014-03-25, 7:33 AM, Filippo Laurìa wrote: Hello everybody, I have a simple `component id generator` that implements `NSKeyValueCodingAdditions`. Something like this: public class ComponentIDGenerator

Re: WOWODC'14 Calendar

2014-03-25 Thread Chuck Hill
Thanks! Chuck On 2014-03-24, 10:45 PM, Klaus Berkling wrote: Here are the calendars for WOWODC 2014. Room 1 (Opus 2): http://www.berkling.us/wowodc14/WOWODC14-Room1.ics Room 2 (Vivaldi): http://www.berkling.us/wowodc14/WOWODC14-Room2.ics Breakfast, Lunch, Dinner, Events:

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
And OS X Server. Looks like someone revived a long dead page by accident. On 2014-03-25, 12:08 PM, Gino Pacitti wrote: http://www.apple.com/support/server-enterprise/ Link to WebObjects…. ___ Do not post admin requests to the list. They will be

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
HyperCard, no question. On 2014-03-25, 1:56 PM, David Avendasora wrote: On Mar 25, 2014, at 4:15 PM, Hugi Thordarson h...@karlmenn.ismailto:h...@karlmenn.is wrote: Hope springs eternal… For which? WebObjects or HyperCard. With Hugi, I’m not sure which one he’s more excited about. Dave

Re: WOLips gives WO Template Problems (keypaths) even if not real problems!

2014-03-25 Thread Chuck Hill
, is there something like the // VALID marker if you are using WOOngl? // VALID is working only if you are using WOD, isn't it? C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 25.03.2014, at 17:47, Chuck Hill ch...@global-village.netmailto:ch

Re: Am I hallucinating...

2014-03-25 Thread Chuck Hill
The new HyperCard will be released the quarter after WebObjects 6.0 ;-) On 2014-03-25, 7:10 PM, Michelle Parker wrote: Oh You guys are so cruel! I actually believed that HyperCard link, I am so gullible :-( Now back to the real world... mich On 26 Mar 2014, at 8:13 am, Chuck Hill ch

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill
From the stack trace, it looks like you modelled this as a flattened relationship and did it wrong. Can you post the plist section for this? Chuck On 2014-03-24, 9:03 AM, Ângelo Andrade Cirino wrote: Hi, After simply adding a new entity and a relationship to an existing entity I get the

Re: Session-ID randomness

2014-03-24 Thread Chuck Hill
Hi Markus, I think the session ID is pretty strong so any attack will require a random session ID. I’d rate the chances of success as low. To be extra sure, capture the originating IP, user agent, etc from the request that starts a session. If those ever change, kill the session as a

Re: Session-ID randomness

2014-03-24 Thread Chuck Hill
Ramsey, that is evil. I like that in man! On 2014-03-24, 11:28 AM, Ramsey Gurley wrote: I’m not aware of any weakness. The method that generates the id is in WOUniqueIDGenerator.longUniqueID(long) method. If there is an issue, you could pretty easily fix it in your session constructor:

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill
to one relationship. Angelo 2014-03-24 13:30 GMT-03:00 Chuck Hill ch...@global-village.netmailto:ch...@global-village.net: From the stack trace, it looks like you modelled this as a flattened relationship and did it wrong. Can you post the plist section for this? Chuck On 2014-03-24, 9:03 AM

Re: Error after adding entity and relationship to model

2014-03-24 Thread Chuck Hill
Then I don’t understand how it is getting out of sync… On 2014-03-24, 12:35 PM, Ângelo Andrade Cirino wrote: It is the Eclipse plugin. 2014-03-24 16:28 GMT-03:00 Chuck Hill ch...@global-village.netmailto:ch...@global-village.net: On 2014-03-24, 12:08 PM, Ângelo Andrade Cirino wrote: Hi

Re: Saving NSDictionary to DB

2014-03-24 Thread Chuck Hill
See NSPropertyListSerialization. There should be examples in Wonder and maybe support for using it. Chuck On 2014-03-24, 2:56 PM, Oscar González wrote: Hi all, I need to save a NSDictionary to the DB and then recovery it back. Is there some formatter to do this? Saludos, Oscar González

Re: RawRow cross DB compatibility

2014-03-24 Thread Chuck Hill
Hi Oscar, On 2014-03-24, 5:54 PM, Oscar González wrote: Hi all, I'm migrating a few projects from Oracle to Postgresql, there are a lot straight RawRow for performance. Raw rows or raw SQL? Most raw row stuff can take a qualifier which removes the need for raw (custom) SQL. You are using

Re: Wrong object

2014-03-22 Thread Chuck Hill
IIRC that was added to catch the case where a to-many was being iterated and got updated on the server. Chuck On 2014-03-22, 1:12 PM, Timothy Worman wrote: Hi Jeff: Just stepping through the code ERXWORepetition, this warning is fired in invokeAction. It looks like a check is happening to

Re: Application not start in womonitor

2014-03-21 Thread Chuck Hill
Hi Oscar, It looks like the app is waiting for some TCP connections. The second one below is what is preventing your app from starting. Something to do with ERChangeNotifications. Chuck On 2014-03-21, 6:33 AM, Oscar González wrote: Hi Chuck, This is what sudo jstack shows. Attaching to

Re: Notification or handler after an EO got snapshot update

2014-03-21 Thread Chuck Hill
turnIntoFault is the only method that I can think of that might work. Chuck On 2014-03-21, 6:18 AM, Samuel Pelletier wrote: Hi, I have a class where I added an ivar to keep a cache of some values extracted from toMany relationships. I want to clear this cache if the toMany is updated from

Re: Application not start in womonitor

2014-03-20 Thread Chuck Hill
Hi Oscar, It sounds like your app is deadlocking hanging waiting for a timeout. This can make wotaskd think that it is dead. When this happens, try doing this sudo jstack –F process id of application instance And post the results to the list. Chuck On 2014-03-20, 4:58 PM, Oscar González

Re: D2WKeys link in JavaDoc is missing

2014-03-19 Thread Chuck Hill
Do dockets still work with modern Java? I thought there was some push to modernize the API that left them broken and then abandoned. On 2014-03-19, 1:30 PM, David Holt wrote: Hi All, From Ray Kiddy Oct 2013: See http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/? There

Re: My last WOWODC

2014-03-07 Thread Chuck Hill
At $50 a person we need 32 to pay the $1600 hosting fees. At $200 we need 8. Personally, I’d prefer to see more people pitch in rather than fewer. As for Canadians, we have a brace of Davids: Holt, Aspinall, LeBer, my self, Steve Smith, Louis Demers, Jean Francois Vieillet (Spelled that

Re: My last WOWODC

2014-03-07 Thread Chuck Hill
I don’t recall one. On 2014-03-07, 11:14 AM, Klaus Berkling wrote: Is there a WO Community web badge for members? If not I can make one. kib Klaus Berkling www.berkling.ushttp://www.berkling.us | @kiberkli | Buy My iPhone apphttp://itunes.apple.com/us/app/exactbart!/id425068916?mt=8

Re: WebObjects-Projects?

2014-03-07 Thread Chuck Hill
Hi Daniel, Can you tell us how Entity Framework measures up to EOF? Is it better in some areas? Is it missing features in other areas? Thanks, Chuck On 2014-03-07, 7:22 AM, Daniel Mejia wrote: Hi all, I would like to share my experience with WO. We have developed many systems with WO,

Re: My last WOWODC

2014-03-07 Thread Chuck Hill
I was just dividing up the yearly cost not pricing existing memberships. On 2014-03-07, 11:22 AM, Paul Yu wrote: I recall that I paid for the $350 membership/sponsorship? Sent from my iPhone Please excuse iOS autocomplete On Mar 7, 2014, at 2:15 PM, Chuck Hill ch...@global

Re: WebObjects development

2014-03-07 Thread Chuck Hill
On 2014-03-07, 4:57 PM, Joel M. Benisch wrote: Interesting issue/discussion. On the one hand, WO does not have the potential critical sales mass to warrant selling it as a supported product. On the other hand, WO has so much strategic value that Apple can't afford to release it into the

Re: WebObjects-Projects?

2014-03-07 Thread Chuck Hill
On 2014-03-07, 4:51 PM, Ray Kiddy wrote: On Fri, 07 Mar 2014 09:50:01 -0600 James Cicenia ja...@jimijon.commailto:ja...@jimijon.com wrote: Yep. WO is dead. I was thinking of starting learning Ruby. I love Objective-C and iPhone development. And now was thinking about Node or Ruby for the back

Re: WebObjects development

2014-03-07 Thread Chuck Hill
Unlike iOS and OS X, Apple does not own the server platform. Communication is via standard protocols. And Apple is no longer in the server market. Bringing back WO as a product is NOT going to sell more iPhones. It is NOT going to make more money for Apple. Making a really good SDK and

Re: My last WOWODC

2014-03-06 Thread Chuck Hill
Hi Pascal, On 2014-03-05, 6:14 PM, Pascal Robert wrote: Well, it's really the last WOWODC that I organize. I need time to fix some minor health issues, and with my 40 hours+ job and the kids, I just don't have the time (not excluding that I have spent more than 20 hours of accounting, and

Re: rowDiffsForAttributes

2014-03-05 Thread Chuck Hill
That is just a defect in the documentation. Can someone please submit a pull request to fix this? :-P On 2014-03-05, 10:50 AM, David Avendasora wrote: On Mar 5, 2014, at 12:20 PM, Ramsey Gurley rgur...@smarthealth.commailto:rgur...@smarthealth.com wrote: On Mar 5, 2014, at 8:38 AM, David

Re: WebObjects-Projects?

2014-03-05 Thread Chuck Hill
On 2014-03-05, 1:23 PM, Pascal Robert wrote: It's not only Mike who was poached by Apple. Kieran, Miguel Arroz, Mark Ritchie, Q, Guido, the list is quite long. I think “poached” reflects the wrong attitude. We did not own them. Apple offered them jobs working on some really interesting, high

Re: WebObjects-Projects?

2014-03-05 Thread Chuck Hill
ROFLMAO! And Look! An @apple.com address broke radio silence! :-P On 2014-03-05, 1:50 PM, Alan Ward wrote: I prefer sunny side up ;-) On Mar 5, 2014, at 2:47 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: On 2014-03-05, 1:23 PM, Pascal Robert wrote: It's

Re: rowDiffsForAttributes

2014-03-05 Thread Chuck Hill
On 2014-03-05, 7:38 AM, David Avendasora wrote: Ramsey, I could kiss you! Now I am much less sure that I want to go to WOWODC. Shudder. I have to go bleach my imagination now. ___ Do not post admin requests to the list. They will be ignored.

Re: Starting second instance=app not available

2014-03-05 Thread Chuck Hill
]:1085 10 Additional Arguments magic entry in Javamonitor: -WOHost [IP/Domain/localhost/don't use WOHost] On Mar 4, 2014, at 11:30 AM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: The random results and lack of WOHost settings suggest that the apps

Re: Starting second instance=app not available

2014-03-04 Thread Chuck Hill
The random results and lack of WOHost settings suggest that the apps are starting while networking is getting finalized. I’d try adding WOHost to everything (apps, JavaMonitor, wotaskd). Chuck On 2014-03-04, 7:56 AM, Jeff Schmitz wrote: Definitely random. Every reboot is an adventure :-)

Re: validateXXX not called on a relationship set to null

2014-03-04 Thread Chuck Hill
, but the validateXXX not called? I am not certain. If EOF is removing and nulling relationships during saveChanges(), it may not call the validateXXX methods. Honestly, I forget. Chuck Thanks John On 27 Feb 2014, at 16:56, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Try

Re: rowDiffsForAttributes

2014-03-04 Thread Chuck Hill
And if you are manually disposing them, make sure the children go first. Just like in a TV crime scene! On 2014-03-04, 10:05 AM, Ramsey Gurley wrote: Are you using nested ecs? If you are, try ec.setRetainsRegisteredObjects(true). https://github.com/wocommunity/wonder/pull/342 On Mar 4,

Re: Flattened to-one relationship problems

2014-03-04 Thread Chuck Hill
On 2014-03-04, 10:17 AM, David Avendasora wrote: Yikes! So, if I’m reading this right, you have a class property of “classe()” and *also* a flattened class property of “lycée()” and you made the (Model) change to make creating the UI (View) more convenient. Is that right? If so, you are

Re: rowDiffsForAttributes

2014-03-04 Thread Chuck Hill
Hi David, On 2014-03-04, 8:35 AM, David Avendasora wrote: Hey all, I’m getting the following exception (I added line breaks to make it digestible by any on the list): IllegalStateException: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation { _dbSnapshot = {};

Re: rowDiffsForAttributes

2014-03-04 Thread Chuck Hill
On 2014-03-04, 12:01 PM, David Avendasora wrote: It sounded promising, but unfortunately this did not fix it. It appears to be something I’m doing wrong. Really? Gosh!!! You know, you could at least *pretend* to be surprised. No? grumble… My imagination is only so good. Are you manually

Re: rowDiffsForAttributes

2014-03-04 Thread Chuck Hill
Revert should be OK On 2014-03-04, 12:31 PM, David Avendasora wrote: On Mar 4, 2014, at 3:19 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: On 2014-03-04, 12:01 PM, David Avendasora wrote: It sounded promising, but unfortunately this did not fix it. It appears

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
Do a Sudo jstack –F process ID On the instances when this happens. My guess is that they are contending for a resource and neither is able to process requests. Deadlock would be my guess, maybe the wrong isolation level on the DB connection? This then gets escalated to dead and mis-reported

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
? Should not matter. Chuck Thanks! Jeff On Mar 3, 2014, at 7:25 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Do a Sudo jstack –F process ID On the instances when this happens. My guess is that they are contending for a resource and neither is able to process

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
) at sun.tools.jstack.JStack.main(JStack.java:84) What OS and JVM are you running on? Try sudo kill –QUIT process ID If you have SpawnOfWotaskd.sh setup correctly, the dump should appear in the app log. Chuck On Mar 3, 2014, at 7:52 PM, Chuck Hill ch...@global-village.netmailto:ch...@global

Re: Unique Constraint Error

2014-02-28 Thread Chuck Hill
Jumping 40 from 37427 to 37467 is a little suspicious. Is there an increment 1 on this sequence? It could be that EOF has a cached value out of sync with the database. Or is the database sequence out of sync with the data in the table? Try re-creating the sequence. Is anything else writing

Re: exposing the primary key?

2014-02-28 Thread Chuck Hill
Does it mean anything to the user? I assume it does, otherwise, why would you show it? So what is going to happen when they see this: id numberdescription client 3456 Blue Dress Amex 3457 Blue Socks Chuck 3459 Blue Tie Ted 3460

Re: exposing the primary key?

2014-02-28 Thread Chuck Hill
...@chatnbike.commailto:aa...@chatnbike.com t: (301) 956-2319 [Chat 'n Bike] [Chat 'n Bike] On Feb 28, 2014, at 4:41 PM, Jesse Tayler jtay...@oeinc.commailto:jtay...@oeinc.com wrote: generate a unique ID, if you don’t mind using HEX…. On Feb 28, 2014, at 4:32 PM, Chuck Hill ch...@global

Re: exposing the primary key?

2014-02-28 Thread Chuck Hill
to populate it yourself. EOF will still do it as long as you leave it null. Chuck On Feb 28, 2014, at 2:48 PM, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Actually, exposing the PK is fine with EOF. Exposing an FK is what causes real problems. On 2014-02-28, 1:47

Re: validateXXX not called on a relationship set to null

2014-02-27 Thread Chuck Hill
Try the set… method then. Also check the relationships to this entity in the model. Is one set to Nullify? It could be EOF doing this as part of a save. Chuck On 2/27/2014, 5:43 AM, John Pollard wrote: Hi List, I am trying to pin down where a to-one relationship is getting set to null

Re: help!

2014-02-26 Thread Chuck Hill
On 2/26/2014, 8:31 AM, Aaron Rosenzweig wrote: Glad you got it going Robert. I don’t understand though what ERXExtensions has to do with WOLips…. It is for Mike’s dev mode only tool bar for D2W. Chuck Perhaps WOLips is merely checking some things and reporting…. you may not have the

Re: Opinions on static createŠ() methods for EOs

2014-02-20 Thread Chuck Hill
Yes, I was not thinking of new objects either. I guess that is another reason I prefer my way. :-P On 2/19/2014, 11:15 PM, Paul Hoadley wrote: On 20/02/2014, at 4:55 PM, Dev WO webobje...@anazys.commailto:webobje...@anazys.com wrote: Someone will correct me if I'm wrong, but I think

Re: Calling AjaxModalDialog programmatically

2014-02-19 Thread Chuck Hill
One of these from Java: /** * Call this method to have a JavaScript response returned that opens the modal dialog. * The title of the dialog will be what it was when rendered. * * @param context the current WOContext * @param id the HTML ID of the AjaxModalDialog to open */ public static

Re: Opinions on static createŠ() methods for EOs

2014-02-19 Thread Chuck Hill
Hi Paul, It is always safe to call localInstance. My personal preference is to force the caller to do that so that they are aware if they have cross EC references. I can also see the argument for “just do what is safest”. Chuck On 2/19/2014, 8:36 PM, Paul Hoadley wrote: Hello, Say I have

Re: Opinions on static createŠ() methods for EOs

2014-02-19 Thread Chuck Hill
On 2/19/2014, 8:36 PM, Paul Hoadley wrote: Hello, Say I have an entity Foo. Often I will override the static createFoo() method declared in _Foo.java, perhaps several times with different signatures for different uses. Say Foo has a to-one relationship to Bar, and I supply bar as an

Re: ERXOptGroupPopupButton

2014-02-18 Thread Chuck Hill
a PopupButton class in ERXPatcher. Thanks John On 11 Feb 2014, at 19:28, Chuck Hill ch...@global-village.netmailto:ch...@global-village.net wrote: Hi John, I am the guilty party. It is in that package so that it has package access (I think, or it was to be consistent with the other controls

Re: WOWODC 14 presentations and tickets

2014-02-12 Thread Chuck Hill
This one sounds very interesting: * A library of base class for a in memory OLAP engine I wrote. This is very technical and require writing Java classes for each cube but the speed is awesome. I use it to load 4.5 millions invoice lines for interactive reporting. You can have any result

Re: ERXOptGroupPopupButton

2014-02-11 Thread Chuck Hill
Hi John, I am the guilty party. It is in that package so that it has package access (I think, or it was to be consistent with the other controls). While it was put together as a quick hack, I have had had it in production for 3+ years now. “Quick hack” means that it works but is probably

Re: unable to increment snapshot count for object

2014-02-11 Thread Chuck Hill
(); ecManager.lock(); } publicvoid sleep() { ecManager.unlock(); super.sleep(); } On 2014-02-06, at 2:42 PM, Chuck Hill wrote: So just the constructor then, no static init blocks in that class? There are a few things that can cause this. Improper locking of the EODatabaseContext or the OSC

Re: Eclipse and WOLips, a friendly development environment?

2014-02-10 Thread Chuck Hill
esteem by me. I have $500 to offer one of your developers to help me set up an Eclipse - WO development machine. 1) Ubermind Sheryar Khan - 2) GVC Chuck Hill - 3) Gary Teter - 4) Ubermind... When I got 3)'s response I gave up. (actual recursive email available upon request) And I am still

Re: unable to increment snapshot count for object

2014-02-06 Thread Chuck Hill
What have you changed? On 2/6/2014, 11:05 AM, Calven Eggert wrote: Hi, All of a sudden, in the past couple of weeks, I'm getting the below error a lot and I can't figure out what the heck is going on. Any ideas? Yes, I'm aware of the EOF commandments. :-) Calven ===

Re: Suggestions for WOWODC Topics?

2014-02-06 Thread Chuck Hill
I don’t think it is WOLips so much as it is Eclipse’s rather large API and event driven programming model. On 2/6/2014, 11:21 AM, George Domurot wrote: ah, of course you were! (late to the party, only one eye open) -G On Feb 6, 2014, at 8:28 AM, David LeBer

Re: unable to increment snapshot count for object

2014-02-06 Thread Chuck Hill
: I've just looked at my log and it looks like this error has been happening for quite a while now a couple of years, it's just that lately many more users are using the application and so the error is showing up more often. What would cause this problem? On 2014-02-06, at 2:12 PM, Chuck

Re: Suggestions for WOWODC Topics?

2014-02-06 Thread Chuck Hill
— WOLips - so easy that even Dave Avendasora can hack on it!™ — On 2/6/2014, 11:33 AM, David Avendasora wrote: Okay, I’ll try this sometime today or tomorrow and update it for Mavericks and whatever the current Eclipse is. It really

Re: unable to increment snapshot count for object

2014-02-06 Thread Chuck Hill
this if a user's id/pw is valid Main mainPage = (Main) pageWithName(Main); --- public Main(WOContext context) { super(context); initialize(); } public void initialize() { ... } --- On 2014-02-06, at 2:33 PM, Chuck Hill wrote: What is Main? It looks like you are calling

<    1   2   3   4   5   6   7   8   9   10   >