Re: How to know when it is time to abandon WebObjects for another technology

2012-03-28 Thread Mark Ritchie
*sigh* yeah... On 28/Mar/2012, at 5:04 PM, Chuck Hill wrote: Just sayin' PastedGraphic-2.pdf -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve

Re: Cookie WOs

2011-10-05 Thread Mark Ritchie
I would set -WORecordingPath and look at the requests and responses however that's kinda an old way and not sure how that plays with the current infrastructure. M. On 5/Oct/2011, at 7:19 PM, Chuck Hill wrote: That sounds like you have some bad HTML or CSS that is causing the browser to make

Re: Seaside (was; Finding WO people for startups)

2011-09-27 Thread Mark Ritchie
On 27/Sep/2011, at 7:33 PM, Chuck Hill wrote: I'd be interested as well. I have always admired smalltalk as a language. Hrm... SmallTalk is what some parts of ObjC are based on. Takes me back to my early days with EOF WO. ;-) I'd be interested in the talk as well! Thanks! M.

Re: PHP Customer Request

2011-04-07 Thread Mark Ritchie
IMHO, PHP and MySql can make a dynamic web site... And for some smaller sites, it makes total sense. Using a steam roller to set a nail tends to bruise fingers. ;-) M. On 7/Apr/2011, at 8:41 AM, Amedeo Mantica wrote: Hello all, Generic question, how do you promote Java/WebObjects technology

Re: Urgent help required

2011-03-23 Thread Mark Ritchie
Sounds like a homework assignment to me! ;-) M. On 23/Mar/2011, at 3:32 PM, vaibhav srivastava wrote: Hello community , I have array of values need to be write in csv array {(x0,y0,z0),(x1,y1,z1),(x2,y2,z2)} then I have column header as (a,b,c) now format, which I want my array to

Re: java.lang.OutOfMemoryError

2011-03-14 Thread Mark Ritchie
On 14/Mar/2011, at 1:57 PM, Theodore Petrosky wrote: java.lang.OutOfMemoryError: Java heap space where can I adjust this value? I am on a mac mini os x 10.6.6 http://tinyurl.com/5vgejad That should get you started! ;-) M ___ Do not post admin

Re: X-Webobjects-Loadaverage ?

2011-03-14 Thread Mark Ritchie
Hey Pascal, http://tinyurl.com/6cslcch And if you're seeing it and you're using a WOAdaptor then it might mean that there's a problem! ;-) M. On 14/Mar/2011, at 5:34 PM, Pascal Robert wrote: I see that ERRest send a new header when replying to a request. For example, I got:

Re: X-Webobjects-Loadaverage ?

2011-03-14 Thread Mark Ritchie
On 14/Mar/2011, at 6:10 PM, Pascal Robert wrote: Yes, I see that the adaptor code says that it should be removed from the response. But I'm on direct connect right now. Then that's why you're seeing the value... I believe that it's usually filtered by the WOAdaptor. ... send a new header

Re: Any ideas how to minimize bot access?

2011-02-13 Thread Mark Ritchie
Hey, If they were good bots then presumably they would respect your robots.txt then? If not, then perhaps they are all from a set of IP's which you could block? Good luck with the eradication! M. On 13/Feb/2011, at 8:16 PM, Amiel Montecillo wrote: Greetings! I have a live webobjects

Re: Chuck's New Book

2011-01-25 Thread Mark Ritchie
On 25/Jan/2011, at 3:37 PM, David LeBer wrote: Enough GOOD Tequila can do that. Just a little BAD Tequila can make EVERYTHING seem like an abject failure. Apparently more (and perhaps a little more) sampling of Tequila is needed so that we can all be sure that we're drinking the GOOD stuff!

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Mark Ritchie
Good Morning, On 6/Dec/2010, at 5:09 AM, Patrick Middleton wrote: If an instance receives a request via a direct action and I don't want it to be redirected via the load balancer, enough information is broadcast such that other instances waiting for requests will be able to tell that another

Re: Snow Leopard Deployment

2010-11-24 Thread Mark Ritchie
Hey, On 24/Nov/2010, at 8:33 AM, Ron Lift wrote: ... When I use http://servernamecgi-bin/WebObjects/appname I get a 404 error. The webserver log has “script not found or unable to stat: /Library/WebServer/CGI-Executables/WebObjects” First off, how did '.../cgi-bin/...' become

Re: Snow Leopard Deployment

2010-11-24 Thread Mark Ritchie
...@macti.ca wrote: Le 2010-11-24 à 13:24, Ralf Schuchardt a écrit : Hi, Am 24.11.2010 um 18:16 schrieb Mark Ritchie: Hey, On 24/Nov/2010, at 8:33 AM, Ron Lift wrote: ... When I use http://servernamecgi-bin/WebObjects/appname I get a 404 error. The webserver log has “script not found

Re: Snow Leopard Deployment

2010-11-24 Thread Mark Ritchie
: Thank you commenting out the ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/ fixed the problem On Wed, Nov 24, 2010 at 1:24 PM, Ralf Schuchardt r...@gmx.de wrote: Hi, Am 24.11.2010 um 18:16 schrieb Mark Ritchie: Hey, On 24/Nov/2010, at 8:33 AM, Ron Lift wrote

Re: ERRest plist response and Objective-C

2010-11-24 Thread Mark Ritchie
On 24/Nov/2010, at 1:42 PM, Farrukh Ijaz wrote: The situation I face is the null elements of the plist contain value com.webobjects.foundation.NSKeyValueCoding$Null when they are converted to plist. But on Objective-C side, such fields are created as NSCFString. Do you have any idea how I

Eclipse failed to launch an app [was Re: New error about er.javamail ..]

2010-11-22 Thread Mark Ritchie
Good Morning, On 22/Nov/2010, at 7:59 AM, James Cicenia wrote: I can build. I can deploy. But nothing and I mean nothing will allow it to run via eclipse. Frustrating... I've been there. What usually helps for me is to have someone else look over my shoulder and tell me what I'm missing.

Re: Eclipse failed to launch an app [was Re: New error about er.javamail ..]

2010-11-22 Thread Mark Ritchie
On 22/Nov/2010, at 9:42 AM, James Cicenia wrote: How did you debug the conflict with language extensions? Where did you see that? Well, I worked for 1 day messing about with svn versions of the code base and was able to isolate the check in which broke Eclipse. However I was unable to

Re: WebObjects scalability question

2010-11-15 Thread Mark Ritchie
Good Morning, On 15/Nov/2010, at 8:43 AM, Greg Lappen wrote: #1 - Only one thread can be processing at once. I seem to recall that this is a limit in EnterpriseObjects but it's been a while. Well, yes, t's hard for a single thread to process more then one thing at a time. ;-) Test your app

Re: Need Help

2010-10-22 Thread Mark Ritchie
On 22/Oct/2010, at 4:24 PM, Chuck Hill wrote: 5.4.3 More detailed information is here: http://www.wocommunity.org Good luck! M ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: Auto-inspect result sets of 1

2010-10-11 Thread Mark Ritchie
On 11/Oct/2010, at 2:13 PM, David Avendasora wrote: D2W is awesome! Yes, until you get the incantations (read rules.) wrong and then there's just havoc... Fun havoc but havoc none the less! ;-) M. ___ Do not post admin requests to the list. They

Re: [OT] Restoring a FrontBase DB

2010-10-08 Thread Mark Ritchie
On 30/Sep/2010, at 1:26 PM, David Holt wrote: On 2010-09-30, at 1:23 PM, Daniel Beatty wrote: Greetings Mark, Looks like it might. What procedure do I need to apply to this XCode project to make it behave. It appears to an Old WO code.

Re: TurnKey Installer Components

2010-10-07 Thread Mark Ritchie
On 7/Oct/2010, at 9:37 AM, Christos Konidaris wrote: a) for All Users (put it in /Applications), b) for this User only (put it in ~/Applications) ? Um, option a) is asking for troubles because of the previous mentioned permissions problems when multiple users attempt to install/update plugins.

Re: TurnKey Installer Components

2010-10-06 Thread Mark Ritchie
On 6/Oct/2010, at 2:06 PM, Mike Schrag wrote: I'm a /Developer/Applications fan, personally ... I also like shuffling the config around so I only have an Eclipse.app and the plugins and configuration folders are inside the bundle. Ick, clearly NOT someone who erases and installs every new

Re: Patched MySQL plugin

2010-10-01 Thread Mark Ritchie
Hey! On 1/Oct/2010, at 11:54 AM, Ramsey Gurley wrote: D'oh! I'll go back to *not* thinking about dates again. (^_^) Time is such fun! Word to the wise... Chuck Hill is always right. Indeed! ;-) M. ___ Do not post admin requests to the list. They

Re: Single stack optimistic lock exception?

2010-09-29 Thread Mark Ritchie
On 24/Sep/2010, at 11:37 AM, Alan Ward wrote: My vote is that you are crazy. :-) This becomes an issue in apps where users concurrently edit the same object. Out of the box, it is last in wins and the second user to save gets no warning that what they are actually editing is not what

Re: Single stack optimistic lock exception?

2010-09-29 Thread Mark Ritchie
On 29/Sep/2010, at 1:39 PM, Mike Schrag wrote: My vote is that you are crazy. :-) This becomes an issue in apps where users concurrently edit the same object. Out of the box, it is last in wins and the second user to save gets no warning that what they are actually editing is not what

Re: Single stack optimistic lock exception?

2010-09-29 Thread Mark Ritchie
On 29/Sep/2010, at 1:46 PM, Mike Schrag wrote: so we are in agreement :) Sure, I'll go with that! ;-) M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)

Re: [OT] Restoring a FrontBase DB

2010-09-28 Thread Mark Ritchie
On 28/Sep/2010, at 12:10 PM, David Holt wrote: No, it's a little more involved than that. There is a script available on the downloads page: MySQL2FB I can't vouch for its voracity, but would really be interested in your experience of migrating MySQL to FB. If the script solution proves to

Re: NSDictionary.isEmpty

2010-09-16 Thread Mark Ritchie
Hey! On 16/Sep/2010, at 7:34 AM, ISHIMOTO Ken wrote: Hi all, was a nice WOWODC, and really nice Job done Pascal. Glad to hear that WOWODC was fun... Too bad I missed it. OTOH, I head for Germany this weekend for my first european vacation so that's where my time off is going this year. ;-)

Re: NSDictionary.isEmpty

2010-09-16 Thread Mark Ritchie
On 16/Sep/2010, at 10:06 AM, Chuck Hill wrote: Yet another reason to never use an ivar outside of the constructor or its accessor / mutator methods. Yeah, this was a fun one to track down before I was completely awake... LOL I went down a couple of wrong paths when I first started looking at

Re: NSDictionary.isEmpty

2010-09-16 Thread Mark Ritchie
On 16/Sep/2010, at 10:39 AM, Mike Schrag wrote: And perhaps others, but I don't have unit tests for NSDictionary so I'm not changing anything! ;-) for the record, i do, and this was actually changed a long time ago :) just not in wonder's. Yup, noticed that but was in transit at the time and

Re: NSDictionary.isEmpty

2010-09-16 Thread Mark Ritchie
On 16/Sep/2010, at 11:10 AM, ISHIMOTO Ken wrote: I really was confused about the _count and count() got back different values. Yeah, you and me both... LOL That's part of why I dug into this... to see what I wasn't seeing! ;-) M. ___ Do not post

Re: Apache2.2 on Windows within Eclipse

2010-09-08 Thread Mark Ritchie
On 8/Sep/2010, at 3:48 PM, Michael Hast wrote: wotaskd has an entry for my application with instance id of -. Is there a way to change that? Configuring your deployment with JavaMonitor is the customary way to do that. ;-) M. ___ Do not post

Re: Apache2.2 on Windows within Eclipse

2010-09-08 Thread Mark Ritchie
On 8/Sep/2010, at 4:27 PM, Michael Hast wrote: The unfortunate think is that I am not deploying. I need to setup a development environment for a customer on Windows and was wondering if the port number could be removed? Yes, that's an unfortunate think! ;-) Just what are you trying to do?

Re: Localization Language Names

2010-09-07 Thread Mark Ritchie
On 7/Sep/2010, at 9:28 AM, David Avendasora wrote: I'm experimenting with Localization, and I'm wondering why the .lproj folders use English language names instead of the ISO abbreviations. Localization came from NeXTSTEP and that's what we used in the 1990's. ;-) M.

Re: Weird Navigation issue

2010-08-20 Thread Mark Ritchie
Hey! On 20/Aug/2010, at 7:40 AM, Andrew R. Kinnie wrote: Here's the thing, this works fine on my dev machine (and everyone else's) but only fails when it's deployed to a server. What happens if you run the app via the web server or fully deploy it to your dev machine? M

Re: ERXLongResponse

2010-08-20 Thread Mark Ritchie
Hey! On 20/Aug/2010, at 11:55 AM, Miguel Angel Torres Avila wrote: Does anybody know where to find an example on how to use the ERXLongResponse Component? ERMODProgressPage.wo inside ERModernLook appears to use this component. That's at least somewhere to start! ;-) M.

Re: Configuring CentOS 5.5 for WebObjects

2010-08-17 Thread Mark Ritchie
Hey Ken, On 17/Aug/2010, at 11:08 AM, Ken - Watermark Studios wrote: Now, when I start wotaskd and JavaMonitor and log into JavaMonitor to set the Host, I get an error. I set the Host to web01.polestarpilates.com and I get the error Failed to contact web01.polestarpilates.com-1085. I would

Re: Configuring CentOS 5.5 for WebObjects

2010-08-17 Thread Mark Ritchie
Hey! On 17/Aug/2010, at 11:59 AM, Chuck Hill wrote: When I try to connect via curl, this is what I get: $ curl http://web01.polestarpilates.com:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig curl: (7) couldn't connect to host Do you have a password set for wotaskd? This URL should work

Re: Configuring CentOS 5.5 for WebObjects

2010-08-17 Thread Mark Ritchie
On 17/Aug/2010, at 12:40 PM, Ken - Watermark Studios wrote: Thanks so much to Chuck, Pascal and Mark for helping me out with this. I'm going to post a blog article about my struggles for easy reference and shoot everyone a link. Oh excellent! Glad to hear that you're up and working! A good

Re: To Many Relationship to String

2010-08-12 Thread Mark Ritchie
On 12/Aug/2010, at 11:43 AM, Ken Anderson wrote: 3. If something is slow, figure out how to make it faster AFTER it already works right Run slow case, MEASURE, change, MEASURE again, keep or reject change. Repeat until end of budget (time, money, space, whatever. ;-) Notice that I didn't

Re: AjaxDatePicker and IE(7 or 8)

2010-08-09 Thread Mark Ritchie
On 9/Aug/2010, at 1:14 PM, Theodore Petrosky wrote: the AjaxDatePicker will not function on the two windows (only) machines but it does work on the parallels machine. ICK! Walk away and start carving on a stone wall now... ;-) Sorry to hear that you're having suck rotten luck with this! M.

Re: AjaxDatePicker and IE(7 or 8)

2010-08-09 Thread Mark Ritchie
On 9/Aug/2010, at 5:45 PM, Theodore Petrosky wrote: So depending on where this AjaxDatePicker lives, it either works or not. Oh ICK! Running for the hammer the chisel... ;-) M. ___ Do not post admin requests to the list. They will be ignored.

Re: SVN and Eclipse

2010-07-30 Thread Mark Ritchie
Hey! On 30/Jul/2010, at 7:34 AM, Farrukh Ijaz wrote: On 30-Jul-2010, at 3:57 PM, Valerio Luccio valerio.luc...@nyu.edu wrote: Farrukh Ijaz wrote: At first place I would avoid svning the tar as it is a binary file and even a minor change will change the binary and I guess every time the

Re: SVN and Eclipse

2010-07-30 Thread Mark Ritchie
Hey! On 30/Jul/2010, at 10:57 AM, Anjo Krank wrote: Since it's a tgz, I wouldn't count on the diffs being much smaller than the actual file... Hrm, that's an interesting point. Has anyone ever measured? And *I* wouldn't store the binary, only all assets that are needed to create it:

Re: SVN and Eclipse

2010-07-30 Thread Mark Ritchie
On 30/Jul/2010, at 2:01 PM, Farrukh Ijaz wrote: That's why when you know your build is stable, just tag it with a name such as something-stable under tags folder in your svn structure. So next time you need to produce the same build just checkout the project from tag instead of trunk and

Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-29 Thread Mark Ritchie
On 28/Jul/2010, at 9:53 PM, Tusker wrote: Both look normal drwxrwxr-x 25 _appserver _appserveradm 850 Jul 28 18:04 /Library/WebObjects/Logs/ db1p:Logs admin$ ls -lard /Library/WebObjects/Logs/testapp-1 -rw-r--r-- 1 _appserver _appserveradm 1385 Jul 28 18:05

Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-29 Thread Mark Ritchie
On 28/Jul/2010, at 9:57 PM, Tusker wrote: I'm still unclear on how to set WOHost. I'll try this again next. For wotaskd and JavaMonitor, I usually set the WOHost in their respective launchd config files. Something like: /Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist and

Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-28 Thread Mark Ritchie
On 28/Jul/2010, at 4:29 PM, Tusker wrote: wotaskd error when adding WOHost: [2010-7-28 13:39:31 PDT] main WebObjects version = 5.4.3 [2010-7-28 13:39:31 PDT] main Unable to establish a connection to port 1085 on this host. Perhaps this port is already in use by another WebObjects

Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-28 Thread Mark Ritchie
On 28/Jul/2010, at 5:43 PM, Tusker wrote: When I hit the start button in JavaMonitor for the application I see a process start but JavaMonitor reports it as not starting. What's logged in SpawnofWotaskd.log? ___ Do not post admin requests to the

Re: Weird JavaMonitor wotaskd behavior on Snow Leopard

2010-07-28 Thread Mark Ritchie
Hey! On 28/Jul/2010, at 6:14 PM, Tusker wrote: WARN NSLog - Unable to establish a connection to port 2001 on this host. Perhaps this port is already in use by another WebObjects application instance. Jul 28 18:04:59 testpp[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog -

Re: Adaptor's Timeouts

2010-07-27 Thread Mark Ritchie
On 27/Jul/2010, at 9:59 AM, Farrukh Ijaz wrote: Can any body tell me how can I set adaptor's timeouts for applications which are not deployed? (using WOLips parameters may be?) http://lists.apple.com/archives/webobjects-dev/2003/Jun/msg00046.html Hey Farrukh, Which adaptor are you talking

Re: Adaptor's Timeouts

2010-07-27 Thread Mark Ritchie
On 27/Jul/2010, at 11:17 AM, Farrukh Ijaz wrote: My fault. Wrong Apache Rewrite Rules :) Ah ok, that would do it! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)

Re: Using Apache in Development

2010-07-23 Thread Mark Ritchie
Hey David! On 23/Jul/2010, at 5:22 PM, Pascal Robert wrote: Check /var/log/system.log for startup errors, but like Chuck said, it's probably a permissions problem. My approach is somewhat different Break it down into steps: - is Apache running: curl http://host - is the WOAdaptor loaded:

Re: Core Data to EOF migration tool

2010-07-21 Thread Mark Ritchie
Hey Daniel! On 21/Jul/2010, at 9:52 AM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: Any ideas? The last time that I did something like that, I did this: - exported from SqlLite to flat file with sqlite3 database .dump - used sed scripts to massage the files and load into MySQL - used

Re: [WOWODC] latest news

2010-07-21 Thread Mark Ritchie
On 21/Jul/2010, at 10:55 AM, Pascal Robert wrote: Hum, not sure about the first link your search is returning :-) Better to search for danseuses instead of dancer :-) Well, either way of searching seems to show that there are many options in Montreal! But then, we knew that! ;-) M.

Re: refreshing automatically..?

2010-07-20 Thread Mark Ritchie
On 20/Jul/2010, at 10:04 AM, Chuck Hill wrote: Mark Ritchie did a good session on data freshness at WOWODC 09 (I don't recall which one, or both). Mark did an excellent job! Well worth the price of the video. Awe, thanks! ;-) That was in the later part of my InsideEOF talk at WOWODC West

Re: refreshing automatically..?

2010-07-20 Thread Mark Ritchie
On 20/Jul/2010, at 12:24 PM, Farrukh Ijaz wrote: Look for AjaxPing component. It is really worth and save a lot of time. Hey Throdore! Are you talking about refreshing stale data in the WOA or in a users browser? While related, they are somewhat different problems. M.

Re: refreshing automatically..?

2010-07-20 Thread Mark Ritchie
On 20/Jul/2010, at 2:23 PM, Theodore Petrosky wrote: easy to do when talking directly with the backend with notifications Ah ok, so client side... Old way: meta refresh tag http://en.wikipedia.org/wiki/Meta_refresh Newer way: AJAX Latest way: String and tin cup to the data monkey! ;-) M.

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Mark Ritchie
On 8/Jul/2010, at 10:58 AM, Chuck Hill wrote: Is the database content (not the schema) the same for both deployments? Could one have a very large number of back-pointing relationships that the other does not have? If so, I will suggest that you have a modelling issue. If not... puzzling.

Re: File Sharing question

2010-06-17 Thread Mark Ritchie
On 17/Jun/2010, at 11:28 AM, Sherry Tirko wrote: Currently we have a split install with our application server separate from our web server, both running Mac OS X 10.5.8. We write files from our applications to the web server through an NFS mount. Although this does work, we have had issues

WWDC - What's the consensus for dinner on Wednesday?

2010-06-09 Thread Mark Ritchie
[Apologies for cc'ing the WO list however I don't have everyone's e-mail...] Hey Everyone! What are peoples thoughts about getting together for dinner tonight? Thanks! M. ___ Do not post admin requests to the list. They will be ignored.

Re: WO at WWDC?

2010-06-08 Thread Mark Ritchie
Hey Karl! There's an ever expanding group forming for tomorrow night however there's also a Tommy's run!! Quick food then awesome tequilla will be my plan!! ;-) M. Sent from my iPhone On 2010-06-08, at 13:06, Karl kgret...@mac.com wrote: Hi, Which list members are at WWDC this year? I

Re: WO at WWDC?

2010-06-08 Thread Mark Ritchie
On 8/Jun/2010, at 3:25 PM, Chuck Hill wrote: On the dark side some of us, fueled by WWDC withdrawal, will be hung over from tequila at much less reputable establishments. :) Now THAT sounds painful! At least Tommy has quality tequila. K, got the plan: Start with food, warm up at Tommy's and

Re: WO at WWDC?

2010-06-08 Thread Mark Ritchie
On 8/Jun/2010, at 3:31 PM, Chuck Hill wrote: After the lot of you finish off Tommy's it WILL be a less reputable establishment! :-) Now you sound envious... There's still lots of time to hop a plane and get down here! ;-) ___ Do not post admin

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-06-03 Thread Mark Ritchie
On 3/Jun/2010, at 7:13 AM, Chuck Hill wrote: Darn, I would have liked to see that! Perhaps the presenter can be talked into repeating the prezo at WOWODC? ;-) M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-06-02 Thread Mark Ritchie
On 2/Jun/2010, at 2:45 PM, David den Boer wrote: Be sure to attend Session 117 on Wednesday morning for probably the only WO mention of the week: Building a Server-driven User Experience Powerful server-side technologies and Cocoa Touch best practices make it easy to remotely update native

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-06-02 Thread Mark Ritchie
On 2/Jun/2010, at 4:01 PM, Pascal Robert wrote: Bah, we will have two sessions at WOWODC about that :-) Excellent! The more sessions on this kind of thing, the better! ;-) M. ___ Do not post admin requests to the list. They will be ignored.

Re: max value using wonder??

2010-05-28 Thread Mark Ritchie
On 28/May/2010, at 5:22 PM, Theodore Petrosky wrote: is there a way to do this without resorting to raw sql? Do you want this evaluated across objects in memory or against records in the database. Your sql example shows the latter so that's what I would assume however you know what happens

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-05-27 Thread Mark Ritchie
On 27/May/2010, at 5:09 AM, David LeBer wrote: Tommy's night is usually Wednesday right? Maybe a WO contingent meetup there? I think that there were 3 runs last year! ;-) I'm sure that we can figure something out! M. ___ Do not post admin requests to

Re: Recording the steps made by an user in an app

2010-05-27 Thread Mark Ritchie
On 27/May/2010, at 7:26 AM, Pascal Robert wrote: What's the best way to record the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. How many concurrent users are we talking about? I would use WORecordingPath

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-26 Thread Mark Ritchie
On 26/May/2010, at 7:10 AM, Chuck Hill wrote: So the skewing is some effect of my load testing. What are you using to generate the load? Are instance numbers embedded in the URLs in the tests? (That is a known problem with Record and Playback which is easy enough to fix if you remember too! ;-)

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-26 Thread Mark Ritchie
On 26/May/2010, at 3:41 PM, Chuck Hill wrote: Are instance numbers embedded in the URLs in the tests? Of course not, they are in cookies! :-P And I am pretty sure that the wosid cookie gets killed on logout. Most of the tests just login once. I don't _think_ the ones that log in and out

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-26 Thread Mark Ritchie
On 26/May/2010, at 4:47 PM, Chuck Hill wrote: Re-recording this set of tests is not really feasible. They start with no cookies and JMeter manages the cookies on a per-thread basis. Looking at the test results, I don't see it sending the woinst cookie at the wrong time (e.g. for a fresh

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-26 Thread Mark Ritchie
On 26/May/2010, at 5:55 PM, Chuck Hill wrote: Drat... Well then, that's not the problem... :-( It is a perplexing one. Probably something simple that I am overlooking - as usual. Until resolved, all problems are that, problems. By definition! ;-) See you about town! ;-) Are you up here

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-05-26 Thread Mark Ritchie
On 26/May/2010, at 6:18 PM, David LeBer wrote: Can I get a show of hands? Are there enough to plan anything? I'll be there! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)

2010-05-26 Thread Mark Ritchie
wrote: Two geeks from out team will be there too ... more tequila shots this year? -G On May 26, 2010, at 6:18 PM, David LeBer wrote: On 2010-05-26, at 8:55 PM, Chuck Hill wrote: On May 26, 2010, at 5:53 PM, Mark Ritchie wrote: See you about town! ;-) Are you up here enjoying the cold

Re: ?? about opportunistic locking...

2010-05-18 Thread Mark Ritchie
On 18/May/2010, at 9:29 AM, David Avendasora wrote: Dave, where have you been? Tea is the new hotness ya know... (^_~) I struggled long and hard not to change it to Scotch. No point in struggling... Go with it! ;-) M. ___ Do not post admin requests

Re: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey! On 17/May/2010, at 2:18 PM, Theodore Petrosky wrote: so either I am doing something wrong or I don't understand opportunistic locking.. Optimistic locking is for the case when one WOA is optimistic that it's changes to a record won't conflict with another WOA's changes to the same

Re: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey Mike! On 17/May/2010, at 4:24 PM, Mike Schrag wrote: so here's your challenge ... make this fail with an optimistic lock exception when EC2 saves (which is what would happen if EC1 was in another instance): But that's the point... When an EO in your application changes, you are notified

Re: ?? about opportunistic locking...

2010-05-17 Thread Mark Ritchie
Hey! On 17/May/2010, at 8:26 PM, Mike Schrag wrote: Well, sure you agree with them. And they're wrong too ;) LOL Ok, now it's time to break out the Nerf equipment! ;-) As far as I can tell, this API seems to be one that must have come from the desktop version of EOF where you're always

Re: Upgrading WOLips: dependency problem

2010-05-13 Thread Mark Ritchie
On 13/May/2010, at 5:47 PM, Chuck Hill wrote: (the developer formerly known as Chuck) LOL! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your

Re: Linux Apache 2.2 webserver update causing problems

2010-04-27 Thread Mark Ritchie
Hi Mersida, On 27/Apr/2010, at 7:53 AM, Mersida Kurti wrote: We're not using wonder. Te be clear, I'm talking about the WOAdaptor which is loaded into the webserver. (ie mod_WebObjects.so) I'm not talking about loading the Wonder extensions to application code. (ie ERExtensions.) The WOAdaptor

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-27 Thread Mark Ritchie
On 26/Apr/2010, at 5:37 PM, Chuck Hill wrote: That does not seem like a good change. While the added security is nice in theory, the lack of working in practice seems to out weight it. Yes, I agree that there was a bit of a problem with this. ;-) M.

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-27 Thread Mark Ritchie
On 27/Apr/2010, at 11:39 AM, Chuck Hill wrote: What do you think about undoing this in the Wonder version? I think that it's not a great idea... That's why I didn't advocate that direction. ;-) M. ___ Do not post admin requests to the list. They

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-27 Thread Mark Ritchie
On 27/Apr/2010, at 11:44 AM, Mark Ritchie wrote: On 27/Apr/2010, at 11:39 AM, Chuck Hill wrote: What do you think about undoing this in the Wonder version? I think that it's not a great idea... That's why I didn't advocate that direction. ;-) To be clear, I don't advocate changing the log

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-27 Thread Mark Ritchie
On 27/Apr/2010, at 11:56 AM, Chuck Hill wrote: To be clear, I don't advocate changing the log file to be world writable. Why not? It is a log file, it is for debugging. How serious is this security issue really compared to having debug log files that few will ever figure out how to make

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-27 Thread Mark Ritchie
On 27/Apr/2010, at 1:14 PM, Chuck Hill wrote: Still sounds like a fine academic theory dashed on the sharp, jagged rocks of reality to me. :-P Drop by the Chieftan and we can take in the view! ;-) M. ___ Do not post admin requests to the list.

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-26 Thread Mark Ritchie
On 23/Apr/2010, at 11:06 AM, Chuck Hill wrote: The application was indeed not responding as I recall. Which is odd, as it did not seem to be doing anything at all. Perhaps the app gets slow, the woadaptor gives up on it and marks it as dead and sends no more requests. The app then recovers

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-26 Thread Mark Ritchie
Good Morning! On 26/Apr/2010, at 8:43 AM, Guido Neitzer wrote: On 23. Apr, 2010, at 11:06 , Chuck Hill wrote: It might. It should indicate if requests start taking longer to process. You could also enable WO logging (see WO's apache.conf) to see what the woadaptor has to say. It won't

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-26 Thread Mark Ritchie
Hey Chuck! On 26/Apr/2010, at 1:41 PM, Chuck Hill wrote: Regarding the WebObjectsLog directive in the WOAdaptor and Apache 2.2, there's a 'feature' where only the initial messages are logged to the file and the subsequent messages for each R/R are not. The problem happens when the log

Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-26 Thread Mark Ritchie
On 26/Apr/2010, at 4:07 PM, Chuck Hill wrote: As the fix is likely to be very environment and configuration specific, I took the approach of reporting that there was a problem rather then trying to guess at what the context specific solution should be! ;-) That was my take on it. Do you

Re: Linux Apache 2.2 webserver update causing problems

2010-04-26 Thread Mark Ritchie
Hey Mersida, On 26/Apr/2010, at 10:01 AM, Mersida Kurti wrote: The other web applications on the same machine are ok. We did not try the 'graceful' command. We are running on WebOjects 5.2.4 and java version 1.5.0_19 on this box. After reverting all of our patches, the problem was

Re: Finding why two UPDATES are send

2010-04-22 Thread Mark Ritchie
Hey Pascal! On 22/Apr/2010, at 8:54 AM, Pascal Robert wrote: What's the best way to debug this? I would never claim this is best, however this is how I do it: ;-) (I could have sworn that I've posted this before however google couldn't find it so here it is again!)

Re: announcement

2010-04-21 Thread Mark Ritchie
On 21/Apr/2010, at 9:33 AM, Mike Schrag wrote: I wanted to let you guys know that Apr 30 will be my last day at mDimension. A few weeks ago, I accepted a position at Apple. Congratulations! See you soon! ;-) M. ___ Do not post admin requests to the

Re: two different databases at same time?

2010-03-31 Thread Mark Ritchie
On 31/Mar/2010, at 8:15 AM, James Cicenia wrote: Is it possible to use two different databases, I guess via two different models? I will need to connect to an Oracle big database on a remote server and was wondering if I could also use a mySQL or postgres database for user control on local

Re: reverse engineer Oracle DB

2010-03-26 Thread Mark Ritchie
On 26/Mar/2010, at 12:04 PM, Theodore Petrosky wrote: am I missing something? Hey Theodore! Yeah... Reverse Engineering is broken. The relevant patches to fix it are submitted here: http://issues.objectstyle.org/jira/browse/WOL-1077 http://issues.objectstyle.org/jira/browse/WOL-1078

Re: reverse engineer Oracle DB

2010-03-26 Thread Mark Ritchie
On 26/Mar/2010, at 1:55 PM, Pascal Robert wrote: Didn't those patches are if you want to patch 3.4? Reverse engineering was fixed in 3.5 in September? But I do remember your debugging crazyness for this problem at WOWODC East :-P These are all for 3.4 and yes, these are what we fixed at

Re: Fetching objects 1 by 1

2010-03-22 Thread Mark Ritchie
On 22/Mar/2010, at 2:23 PM, Lon Varscsak wrote: I know this is possible at the EOAccess level, but I didn't know if there was a better/simpler way to do it (including something in WOnder). Better is quite a subjective thing! Doing it at the EOAccess level has the advantage of no dict - object

Re: [OT] A day in the life

2010-03-12 Thread Mark Ritchie
On 12/Mar/2010, at 9:54 AM, Mike Schrag wrote: that line isn't vertical, which means for a brief moment on the come-down from that peak, programmers actually travel backwards in time ... I think that I've been caught by that at least once this week! ;-) And I don't drink coffee! (hate the

  1   2   >