Re: Multicore Processors and WebObjects

2010-06-02 Thread Guido Neitzer
Typical thing I guess: run concurrent request handling and multiple instances. Each request will be handled by a worker thread. The more cores you have the more advantage you get from concurrent request handling and / or multiple instances. Take care, Guido On Wed, Jun 2, 2010 at 3:28 PM, Miguel

Re: D2W String Formatting

2010-05-17 Thread Guido Neitzer
gt; > Dave > > On May 17, 2010, at 5:18 PM, Guido Neitzer wrote: > >> Haven't used it, but can you set the attribute to be shown with: >> >> er.directtoweb.components.strings.ERD2WDisplayPreformattedString >> >> Take care, >> Guido >

Re: D2W String Formatting

2010-05-17 Thread Guido Neitzer
Haven't used it, but can you set the attribute to be shown with: er.directtoweb.components.strings.ERD2WDisplayPreformattedString Take care, Guido On 17. May, 2010, at 14:06 , David Avendasora wrote: > Hi all, > > I'm displaying some pre-formatted XML code in a ERModernD2W inspect page. I > s

Re: [OT] Opinions about wocommunity.org front page

2010-05-14 Thread Guido Neitzer
On 14. May, 2010, at 05:36 , David Avendasora wrote: > Think of it as Cocoa and CoreData meet Java." Hehehe, shouldn't that have been "Core Data grown up?" Or "WebObjects had bindings and 'Core Data' when nobody was even thinking about Mac OS X." But your wording might be better ... ;-) Guido

Re: Old 5.2.1 Bug

2010-05-03 Thread Guido Neitzer
Yes, as far as I'm aware this is still true. Take care, Guido On 3. May, 2010, at 10:03 , Jeffrey Simpson wrote: > I am upgrading my application to 5.4. I came across the following statement > in my Application class: > > /** >* All interaction with the application starts here. This is

Re: HTML Editing Eclipse/WOLips

2010-05-02 Thread Guido Neitzer
I use the WOLips component editor. As I have broken down all things to manageable subcomponents this works absolutely great. Guido On 2. May, 2010, at 16:23 , David Griffith wrote: > Hi all, > > What is anyone using as a replacement for WOBuilder? I have some complex > components that are n

Re: -WOCachingEnabled=true

2010-05-01 Thread Guido Neitzer
On 1. May, 2010, at 01:45 , Farrukh Ijaz wrote: > I thought setting up -WOCachingEnabled=true Be REALLY careful with setting parameters! Set them correctly. The parameter given here is NOT correct. It is either -WOCachingEnabled true or -DWOCachingEnabled=true The Problem with -WOCachingEna

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

2010-04-27 Thread Guido Neitzer
On 27. Apr, 2010, at 13:17 , Chuck Hill wrote: >> 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! ;-) > > > I may be around at WWDC, i

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

2010-04-26 Thread Guido Neitzer
On 26. Apr, 2010, at 09:55 , 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 say all too much as far as I recall. Mark can add so

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

2010-04-26 Thread Guido Neitzer
On 22. Apr, 2010, at 14:17 , Farrukh Ijaz wrote: > 2. Sometimes the logs show message with Runtime Exception "Statement running > too long" what can be the reason. Does the back database backup running on > the same database can cause this problem? If yes, how to fix that? I'd start looking int

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

2010-04-26 Thread Guido Neitzer
On 23. Apr, 2010, at 11:06 , Chuck Hill wrote: >> Also, we do dispatch requests concurrently >> (WOAllowsConcurrentRequestHandling=true). I wonder if enabling >> ERXStatisticsStore would give us some useful information > > It might. It should indicate if requests start taking longer to p

Re: announcement

2010-04-22 Thread Guido Neitzer
Yes, we are. Guido On 22. Apr, 2010, at 07:45 , Alan Ward wrote: > > We're hiring. > Alan > > On Apr 21, 2010, at 7:49 PM, Chuck Hill wrote: > >> If you know WO and want to work at Apple, just ask them. I know they don't >> have enough skilled WO developers. I am not sure they could ever

Re: announcement

2010-04-21 Thread Guido Neitzer
About time ... ;-) See you soon! Guido On 21. Apr, 2010, at 09:33 , Mike Schrag wrote: > Hey everyone ... 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. Not to > worry, though -- supporting WOLips and Wonder will

Re: postgresql serial columns and wonder

2010-04-17 Thread Guido Neitzer
On 17. Apr, 2010, at 19:49 , Theodore Petrosky wrote: > I want to expose the primary key to be part of my entity. (At least this is > what I think I want.) Maybe you want this, but is it what you need? I'd say, you have several options: In awakeFromInsertion you could query (probably just raw s

Re: REST Authentication

2010-03-19 Thread Guido Neitzer
On 19. Mar, 2010, at 18:28 , Kieran Kelleher wrote: > Now what about the case where API keys are inconvenient for the end client > user. For example, I have a Gianduia Cappuccino app where the user goes to a > site, logs in and works away in his Cappuccino app with occasional REST > requests to

Re: Open WO / Java / DB Position in the Bay Area

2010-03-18 Thread Guido Neitzer
On 18. Mar, 2010, at 11:18 , Chuck Hill wrote: >> there is a very exciting open developer position in the San Francisco South >> Bay area where we'd like to see some senior database / Java / WO background. >> >> So, if you are very deep into low level database work, have worked with >> database

Open WO / Java / DB Position in the Bay Area

2010-03-18 Thread Guido Neitzer
Hey, there is a very exciting open developer position in the San Francisco South Bay area where we'd like to see some senior database / Java / WO background. So, if you are very deep into low level database work, have worked with database internals, maybe have worked on distributed storage or

Re: New look for wocommunity.org

2010-02-01 Thread Guido Neitzer
va libraries (JavaMail, Jakarta > projects, etc.) and the portability Java developers depend on. > > > > > > On Feb 1, 2010, at 4:43 PM, Guido Neitzer wrote: > >> The design is pretty nice! I like it. >> >> But you still couldn't get rid of that def

Re: New look for wocommunity.org

2010-02-01 Thread Guido Neitzer
I would, but ... I'm not a native english speaker and it shows. It shows quite often especially when I write something. I'll come up with something and will send it to a group for discussion, though. cug On 1. Feb, 2010, at 4:52 PM, Lachlan Deck wrote: > On 02/02/2010, at 11

Re: New look for wocommunity.org

2010-02-01 Thread Guido Neitzer
The design is pretty nice! I like it. But you still couldn't get rid of that defensive slogan on the "Why WO?" page. It should say "Because it rocks!". Not mention any other stuff ... This whole page is so negative. I'd say that needs some serious rewrite ... cug On 1. Feb, 2010, at 4:35 A

Re: Objects don't get initialized sometimes

2010-01-11 Thread Guido Neitzer
Are you using a change notification framework? Take care, Guido On 11. Jan. 2010, at 04:26 , Gennady Kushnir wrote: > Hello again. > I've got it that I was doing something wrong. I've found and removed > several commandments violations, employed MultiECLockManager for > properly locking everythi

Re: Any dedicated forums or lists for WO jobs

2010-01-08 Thread Guido Neitzer
You mean, I should just yell if I have a job opening? *y* Take care, Guido On 8. Jan. 2010, at 11:04 , Chuck Hill wrote: > Here on the WO list is also fine and there is also the WebObjects Community > site. > > Chuck > > On Jan 8, 2010, at 11:02 AM, Mark Ritchie wrote: > >>

Re: Can't create new project.

2009-12-20 Thread Guido Neitzer
I always use Eclipse Classic. cug On 20. Dec. 2009, at 18:26 , Kieran Kelleher wrote: > James, if you want path of least resistance, get Eclipse 3.4.2 as shown here: > http://www.eclipse.org/downloads/packages/release/ganymede/sr2 > > Works perfect on Snow Leopard. > > > > > > On Dec 20, 2

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Guido Neitzer
On 14. Dec. 2009, at 19:22 , Ren, Kevin wrote: > I checked that, they are same connection dictionary, because this just moral > test example. You need to check them programmatically. As Chuck said - equals() needs to return true. Guido -- http://www.event-s.net

Re: Session object in concurrent threads

2009-12-07 Thread Guido Neitzer
On 7. Dec. 2009, at 14:07 , Chuck Hill wrote: > On Dec 7, 2009, at 2:03 PM, Guido Neitzer wrote: > >> On 7. Dec. 2009, at 13:39 , Joe Kramer wrote: >> >>> I was hoping someone could give me some pointers on how to access a session >>> from concurrent threa

Re: Session object in concurrent threads

2009-12-07 Thread Guido Neitzer
On 7. Dec. 2009, at 13:39 , Joe Kramer wrote: > I was hoping someone could give me some pointers on how to access a session > from concurrent threads. You don't. This is asking for trouble. > I am very new to concurrency, so please forgive me for being naive. I have > a thread that runs some

Re: MySQL [was: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 18:23 , Kieran Kelleher wrote: >> Hmmm. Way back when we used it, it wasn't reliable. Every now and then >> slaves had to be completely rebuild. And it also wasn't straightforward as >> soon as something wasn't as expected. > > In 4.1 there was the occasional hiccup where yo

Re: MySQL [was: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 17:46 , Mike Schrag wrote: > That's what I'm referring ... I have not used it, only read about it enough > to be intrigued by it. It requires your entire database to be loaded into > memory, but memory is pretty damn cheap. If you have a truly HUGE database, > this is not an

Re: MySQL [was: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 17:20 , Chuck Hill wrote: > On Dec 4, 2009, at 5:11 PM, Guido Neitzer wrote: >>> >>> AGAINST MySQL >>> - Lack of deferred constraints >>> - Lack of transactional DDL (roll back failing migrations for example). As >>> Mike poin

Re: MySQL [was: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 16:48 , Ramsey Lee Gurley wrote: [Free] >> So is PG, FrontBase, and others so no a major Pro > > > MySQL Administrator is pretty nice to have. At least I don't have to shell > out $150 on Navicat. Does postgres/frontbase/other have decent free tools? PGAdmin always did wh

Re: MySQL [was: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 11:16 , Kieran Kelleher wrote: > So, to sum up the pros and cons we heard in the discussion: > > FOR MySQL > - Free > - Easy to setup and configure > - Clustering engine I have read a bit about this part as I'm always curious about synchronous multi-master clustering support

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-04 Thread Guido Neitzer
On 4. Dec. 2009, at 09:43 , Kieran Kelleher wrote: > Hi Guido shiver? is it that cold in California? ;-) Yeah, it actually is in the morning. At least it feels like this after a lng summer. > Fair points. This has been a good discussion. > > What is the workaround ... is it t

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-04 Thread Guido Neitzer
Why does this make me shiver? I'd like to have my DB take care of structural integrity for me as 1) I will make coding mistakes, 2) It is rare, that ONLY WO touches a DB, 3) I will not rely on EOF always doing the thing I expect it to do. Not having FK constraints is about as wrong as using MyI

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re:.WebObjects.stress Testing tool?]

2009-12-03 Thread Guido Neitzer
And that is why exactly? ;-) On 3. Dec. 2009, at 19:50 , msch...@mdimension.com wrote: > For the record, oracle doesn't have transactional ddl either, so that > shouldn't really be the deciding factor or toyness. > > Sent from my iPhone > > On Dec 3, 2009, at 9:

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-03 Thread Guido Neitzer
; rollback, so now you have a half-committed save . yes, using the default > MyISAM engine *will* screw up your data big time and that is a problem > with the engineer who configured the thing ;-) > > On Dec 3, 2009, at 7:08 PM, Guido Neitzer wrote: > >> I saw some serio

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-03 Thread Guido Neitzer
On 3. Dec. 2009, at 17:25 , Kieran Kelleher wrote: [...] > What would I like that I think I might be missing? > - transactional structure changes (ie., create table and roll back.) > transactions in InnoDB only apply to table/record edits themselves. So that is probably what screwed my migration

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-03 Thread Guido Neitzer
I saw some serious issues with MySQL and migrations lately, but haven't checked where the actual reason might be. It looked like you can't create table, then call existingTableNamed as this will return null. Also it actually created tables and didn't roll back when the migration failed. I don't

Re: blog application...

2009-12-01 Thread Guido Neitzer
http://www.event-s.net Is a WO app. Does a little bit more than blogging though ... (hidden away in the Admin part) Guido On Dec 1, 2009, at 9:42 AM, Michael Andronov wrote: Hi, I'm planning to write a simple blogging application. I'm wondering if somebody already went through similar task

Re: Can not deploy using JavaMonitor on SnowLeopard

2009-10-30 Thread Guido Neitzer
On 30. Oct. 2009, at 21:35 , Stavros Panidis wrote: On 30 Οκτ 2009, at 9:07 μ.μ., webobjects-dev- requ...@lists.apple.com wrote: -- Message: 2 Date: Thu, 29 Oct 2009 21:49:04 -0700 From: Guido Neitzer Subject: Re: Can not deploy using JavaMonitor on SnowLeopard To

Re: Can not deploy using JavaMonitor on SnowLeopard

2009-10-29 Thread Guido Neitzer
It's probably a permission issue, make sure, "appserver" is the owner of the app (recursivly). Guido -- http://www.event-s.net On 29. Oct. 2009, at 21:10 , Stavros Panidis wrote: Hello, I try to deploy an application using JavaMonitor on SnowLeopard. Wotaskd is working, localhost server

Re: Stoping internal WOComponent processes

2009-10-21 Thread Guido Neitzer
On 21. Oct. 2009, at 01:11 , Gustavo Pizano wrote: What can I do to solve this issue? Use a faster search. Whatever you do there should not take that long but return within milliseconds. You could get that from Lucene for example. Another optimization is to build a field that does a Dire

Re: WO alternatives

2009-10-10 Thread Guido Neitzer
On 9. Oct. 2009, at 22:30 , Stephane Guyot wrote: today I don't believe the challenge is on the server anymore. As long as you can't pull the data out of the user's nose, the challenge will always be on the server. The presentation layer might not be assembled on the server anymore

Re: WO alternatives

2009-10-09 Thread Guido Neitzer
On 9. Oct. 2009, at 07:38 , Pascal Robert wrote: In fact, we should tell people that we don't use WO, we should tell people that we develop with Eclipse and open source frameworks (Wonder/LEWOStuff/Houdah/other). You're late to the game. I was telling some customers since eight years that

Re: Anybody doing Deployment on 10.6

2009-10-08 Thread Guido Neitzer
On 8. Oct. 2009, at 21:22 , Louis Demers wrote: I have read and re-read many times 8-) 8-) 8-) http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server What is the status ? Anybody doing it ? Am I looking for trouble doing it ? Yo

Re: GRR, still the logout method not working.

2009-09-24 Thread Guido Neitzer
action method... I have never seen that method before... OMG WO its so HUGE. So what should I do with that method, is it from the WOAction? g. On Sep 24, 2009, at 7:09 PM, Guido Neitzer wrote: On Sep 24, 2009, at 6:30 AM, Gustavo Pizano wrote: Well this is what Im getting.. after I

Re: GRR, still the logout method not working.

2009-09-24 Thread Guido Neitzer
On Sep 24, 2009, at 6:30 AM, Gustavo Pizano wrote: Well this is what Im getting.. after I hit the log in WOSubmitButton in the LogIn WOComponent I get: Bonjour IM with Gustavo Pizano 9/24/09 3:28 PM Sep 24 15:27:49 XWSLocalizer[45879] INFO NSLog - Constructor b6vIByeNVlhkFIyxGatoRw Se

Re: Multi-Tenant Data Architecture

2009-09-22 Thread Guido Neitzer
On Sep 22, 2009, at 4:34 PM, Chuck Hill wrote: - some increase in RAM usage due to duplicated loading of code and JVM If you don't want to do that and are committed to doing this in one instance, the next best way is to tag the root object with the tenant. But you said "separate databases"

Re: Rewrite Rule

2009-09-22 Thread Guido Neitzer
I think so. At which Property do I have to look to know. I run in deployment and definitley come via apache but I have not set anything deliberately. I'm a new wonder user so maybe I overlooked something...? Am 21.09.2009 um 18:17 schrieb Guido Neitzer: Are you running in WebServer co

Re: Rewrite Rule

2009-09-21 Thread Guido Neitzer
Are you running in WebServer connect mode? cug -- http://www.event-s.net On 20. Sep. 2009, at 02:02 , ute Hoffmann wrote: Hi, should this work for applications which have a session as well, or will it work only for sessionless apps? * * er.extensions.ERXApplication.replaceApplicationPa

Re: Friendly url's

2009-09-14 Thread Guido Neitzer
Look at ERXApplication._rewriteUrl() and the JavaDoc for it. cug -- http://www.event-s.net On 14. Sep. 2009, at 02:22 , Francisc Simon wrote: Hi, is there a easy way to create friendly url's in a WO-Project using Wonder ? Is there a tutorial about this ? THX Frank ___

Re: WebObjects become opensource ?

2009-09-13 Thread Guido Neitzer
On 13. Sep. 2009, at 14:12 , Gustavo Pizano wrote: Make God hears you.. I know Im new to WO and all, but I have become more fond to it than any other web technology, i.e J2EE, and it will hurt me a lot, if something like "Disappearing" will happen, and I think im not the only one feeling th

Re: Nested WOSwitchComponents

2009-08-31 Thread Guido Neitzer
sing D2W). Do I just use yet one more nested WOSwitchComponent? Can you shed any light? Thanks, David On 31-Aug-09, at 2:03 PM, Guido Neitzer wrote: I did this years ago until I found out that I was re-inventing the wheel. Switched to D2W at that point. To answer your question: this works f

Re: Do AjaxTabs cause session creation?

2009-07-14 Thread Guido Neitzer
And to add to this: The Ajax.framework is not meant to be sessionless - it is really meant to make Ajax with component actions and therefore sessions usable. cug On 14. Jul. 2009, at 11:48 , David LeBer wrote: On 14-Jul-09, at 2:43 PM, Simon McLean wrote: h. i've been trying to fix

Re: A WebObjects article on Appleinsider

2009-07-08 Thread Guido Neitzer
On 8. Jul. 2009, at 15:09 , Mike Schrag wrote: seriously? I remember the exact inverse statements being made when, only four-ish years ago, they tied WO's release schedule back into the main development tools. I think it's good news, but hopefully it means that they'll stop developing their

Re: A WebObjects article on Appleinsider

2009-07-08 Thread Guido Neitzer
On Jul 8, 2009, at 5:46 AM, William Hatch wrote: seriously? I remember the exact inverse statements being made when, only four-ish years ago, they tied WO's release schedule back into the main development tools. I think it's good news, but hopefully it means that they'll stop developing the

Re: Eclipse 3.5 slow?

2009-06-30 Thread Guido Neitzer
On 30. Jun. 2009, at 05:08 , Mike Schrag wrote: It is not yet the nightly, although it is built nightly. It will probably become nightly within a couple days. Subclipse works fine.. No idea about subversive. Works fine. As far as I can tell ... ;-) Guido ___

Re: Can't make localization

2009-06-19 Thread Guido Neitzer
Timo explained why parts are not working, the rest is: On Jun 19, 2009, at 2:47 AM, Gustavo Pizano wrote: er.extensions.ERXLocalizer.availableLanguages=(English,German) You need to specify which languages you support. Guido ___ Do not post admin

Re: Browser cant display Central European Characters UTF-8

2009-06-17 Thread Guido Neitzer
On 17. Jun. 2009, at 10:55 , Gustavo Adolfo Pizano wrote: I did the ERXMessageEncoding.setDefaultEncodingForAllLanguages ("UTF-8"); at the Application consturctor and so far it works.. but if there is a "better" way to do it, Im all ears. ## This is the one-stop-shop for setting the default

Re: Browser cant display Central European Characters UTF-8

2009-06-17 Thread Guido Neitzer
On 17. Jun. 2009, at 05:38 , David Avendasora wrote: Hey Gustavo, I was having the same problem (only getting ™ to display correctly instead of diamond-?). I added the following methods to my Application.java class and everything works now. I don't know if this is the "best" way to resolv

Re: Direct 2 Web - which rule files?

2009-06-15 Thread Guido Neitzer
You can add more rule files with: er.directtoweb.ERD2WModel.additionalModelNames = ("events.d2wmodel ","datasets.d2wmodel","clinical.d2wmodel","blog.d2wmodel") Of course, this only works with Wonder. It belongs to the apps Properties file. cug On 15. Jun. 2009, at 12:33 , David Avendaso

Re: [WWDC] Any supper plans for Monday?

2009-06-08 Thread Guido Neitzer
Any plans where to meet / go? I'm entering SF right now ... Guido On 8. Jun. 2009, at 17:34 , Chuck Hill wrote: grumble... I knew that would come back to haunt me. On Jun 8, 2009, at 5:20 PM, Pascal Robert wrote: Can't you learn? It's CHUNK :-) Greetings Chuck, Sounds great. Any plac

Re: lock operation locked more than one row issue!

2009-05-26 Thread Guido Neitzer
On May 26, 2009, at 1:37 PM, Chuck Hill wrote: I am not sure what you have done then. The problem is not that it is selecting multiple rows. The problem is that it is trying to lock rows: > > SELECT ... FROM TemplateTask t0 WITH (UPDLOCK, ROWLOCK)" EOF should not be doing that, that

Re: WOHyperlink toString()?

2009-05-14 Thread Guido Neitzer
Does WOActionURL help you? cug On May 14, 2009, at 11:16 AM, David Avendasora wrote: Hi all, I've been searching for this for the last half hour because I know there's a simple solution, but I just can't come up with it. I want to be able to display the link generated by a WOHyperlink as

Re: Scheduled backup + files store

2009-05-13 Thread Guido Neitzer
On May 13, 2009, at 12:42 PM, Stamenkovic Florijan wrote: 1. Refuse or delay the transfers of files to the server at a particular time of day when the backup is happening. This is sloppy, I don't want to do it. This is what I do at the moment. Not the best solution though. 2. If I first pe

Re: /wa/favicon.ico ?

2009-05-11 Thread Guido Neitzer
On May 11, 2009, at 5:37 PM, Michael Schrag wrote: I totally agree... Do what is easiest. I guarantee your app isn't slow because you're serving favicons from your app. If you're iTunes, yeah maybe so... If you're normal, you're worrying too much IMO. As I said I agree with that. It's jus

Re: /wa/favicon.ico ?

2009-05-11 Thread Guido Neitzer
On May 11, 2009, at 4:42 PM, Joe Moreno wrote: You could try my "solution" - I see the exception in the logs and, realizing it's just a call for the favicon.ico, just ignore it. Pretty lazy, eh? I've been toying with the idea of creating a direct action with this name to return something.

Re: /wa/favicon.ico ?

2009-05-11 Thread Guido Neitzer
On May 11, 2009, at 2:10 PM, Andrew Lindesay wrote: The favicon file is ~318 bytes so I don't see this as an issue. You are right though; if volumes went very high on a project then I would add a rewrite rule in Apache, but otherwise I can avoid the extra web server config. You are right

Re: /wa/favicon.ico ?

2009-05-11 Thread Guido Neitzer
On May 11, 2009, at 1:57 PM, Andrew Lindesay wrote: On "WOApplication.dispatchRequest(..)", I am checking for the path ending in "favicon.ico" and then returning a suitable image from the WOA. I explicitly avoid doing this as the web server is normally doing things like that way faster an

Re: /wa/favicon.ico ?

2009-05-11 Thread Guido Neitzer
On 11. May. 2009, at 09:56 , Jeremy Rosenberg wrote: I have recently started seeing these errors come through on one of my apps. It appears from the WORequest that they are asking for .../ wa/favicon.ico The stack trace attached indicates that this DA doesn't seem to exist. I'm using WO5

Re: [WOWODC] Student discount

2009-05-06 Thread Guido Neitzer
On May 6, 2009, at 4:46 PM, Chuck Hill wrote: True, but we have to cross an ocean and an entire continent! :P Ah, you're doing that anyways! Imagine, I have to use Caltrain during commuter times which is about as bad as a ten hour flight from Europe ... just less jet lag and less expensive

Re: [WOWODC] Student discount

2009-05-06 Thread Guido Neitzer
On May 6, 2009, at 4:09 PM, Miguel Arroz wrote: True, but we have to cross an ocean and an entire continent! :P Ah, you're doing that anyways! Imagine, I have to use Caltrain during commuter times which is about as bad as a ten hour flight from Europe ... just less jet lag and less expens

Re: help with a relationship...

2009-05-06 Thread Guido Neitzer
On 6. May. 2009, at 11:47 , Chuck Hill wrote: It is not a Contact and and it not an EO (EOEntrepriseObject). Calling it octopusHair would be no less misleading. :-) It is a new editing context, so I would call it something like Where do you get your examples from, hae? OctopusHair ... c

Re: help with a relationship...

2009-05-06 Thread Guido Neitzer
On 6. May. 2009, at 11:04 , Theodore Petrosky wrote: 1. I am inexperienced Aren't we all? Just depends on the topic ... 2. I feel that I work in a Vacuum and being inexperienced I think I am heading to perdition (or at least feeling alone) 3. At times I hesitate to ask because the answers a

Re: help with a relationship...

2009-05-06 Thread Guido Neitzer
On May 6, 2009, at 8:08 AM, Theodore Petrosky wrote: - ValidationException e = Please provide a Sub CategoryID. Is the subCategoryID a class attribute in your model? Some hints on style though. Add the current user to the ERXThreadStorage in Session.awake and add some convenience methods t

Re: WWDC sold out, WOWODC hotel booking for weekend or streaming?

2009-04-30 Thread Guido Neitzer
On Apr 30, 2009, at 5:48 AM, Mike Schrag wrote: * For the record, Pascal doesn't want to pre-announce things in case final approval doesn't come through -- he doesn't want people to feel cheated (since he has some amount of legal obligation as the organizer). I, on the other hand, have no

Re: Project Management Tools

2009-04-29 Thread Guido Neitzer
On 29. Apr. 2009, at 11:43 , Henrique Prange wrote: I've tried Trac in the past. I like some ideas behind Trac but I really don't like its user interface. And the lack of multiple projects support is a shame. I started to use Redmine one year ago for some projects (we didn't have money to p

Re: Project Management Tools

2009-04-29 Thread Guido Neitzer
On Apr 29, 2009, at 11:17 AM, Chuck Hill wrote: The last time I used Trac, I thought the ticket/wiki/svn integration was quite nice. Maybe worth a look? I have used Trac in the past and thought it was really nice, the only downside is the hazzle for multiple projects. That's why I want to

Re: Project Management Tools

2009-04-29 Thread Guido Neitzer
On Apr 29, 2009, at 10:41 AM, Chuck Hill wrote: I don't really like the Jira interface though. It is very complex and clunky to use (at least from what I see at the WOLips / Wonder issue tracker). I have bought the 5 user license recently, not using it at the moment. Yeah, out of the box

Re: WOSessionStore deadlock

2009-04-29 Thread Guido Neitzer
On Apr 29, 2009, at 9:58 AM, Chuck Hill wrote: I have 3 threads like this, all waiting on the same monitor: "WorkerThread15" prio=5 tid=0x08995400 nid=0x8995600 in Object.wait() [0xbf0dd000..0xbf0ddb80] at java.lang.Object.wait(Native Method) - waiting on <0x34000548> (a com.webob

Re: Write to file and access it in browser

2009-04-29 Thread Guido Neitzer
On Apr 29, 2009, at 9:26 AM, Christian Telepski wrote: i have an app wich outputs some stored info from the database. Is there a way i can can write to a file accessible by the webserver and then show a link to that file? I.e.: User gets a link to a .txt file on our server wich is generat

Re: Project Management Tools

2009-04-27 Thread Guido Neitzer
On 27. Apr. 2009, at 20:38 , Andrew Lindesay wrote: Against better my judgement, I tried to use a mac mini for a staging database-server running PG a couple of years ago as a client wanted to save some money on buying a rack-mount machine or tower. Sure enough as soon as anybody was testi

Re: Project Management Tools

2009-04-27 Thread Guido Neitzer
On 22. Apr. 2009, at 14:42 , Q wrote: 1. What's your opinion about bugzilla vs JIRA.? We originally purchased Jira a few years ago for managing our software development (team of 4), but within 2 months we upgraded to an enterprise license and began using it company wide for all our task

Re: Session IDs in Cookies

2009-04-27 Thread Guido Neitzer
That should be "Cookies for everybody" ... On 27. Apr. 2009, at 13:03 , Mike Schrag wrote: cookies for everything ... On Apr 27, 2009, at 3:48 PM, Chuck Hill wrote: Cookies, unless I have a compelling reason to not use them. It has been years since I worked on an app that did not use cooki

Re: Session IDs in Cookies

2009-04-27 Thread Guido Neitzer
It depends for what I use it. If I need predictable URLs inside a statefull application, I use the cookies. If it's an administration backend, I normally don't but tend to do it anyways so that copied URLs do not work to give the person receiving the URL access to the session. Sometimes t

Wanted: WO developer

2009-04-20 Thread Guido Neitzer
Hey, if you are a WO developer in the US looking for a job - give me a shout ... Guido ___ 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 S

Re: WO development on Windows with Eclipse/WOLips

2009-04-17 Thread Guido Neitzer
On Apr 17, 2009, at 2:03 PM, Chuck Hill wrote: My question centers around the fact I am required to embrace a government standard of Windows + SQL Server for the WO applications for both deployment and development. Deployment comes later, and with the recent activity on the list I believe

Re: JavaClient offline storage / replication

2009-04-15 Thread Guido Neitzer
On 15. Apr. 2009, at 09:42 , Chuck Hill wrote: And tougher still if the data you are caching can get modified on the server while the client is disconnected. Then you have some interesting update conflicts to handle. This can be a real tough nut to crack. It's the same problem as with a

Re: migrations in framework

2009-04-14 Thread Guido Neitzer
On 14. Apr. 2009, at 20:05 , Mike Schrag wrote: log4j.logger.er.extensions.migration.ERXMigrator=DEBUG uh... not sure what to tell you on this one it should work? Are you sure your properties are even being loaded? Shouldn't that be log4j.category.er.extensions.migration.ERXMi

Re: ERXEC Exception

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 19:35 , Ken Anderson wrote: I never pass EOs between threads - always GlobalIDs... saves LOTS of headaches! Me neither. Nevertheless - it might be an explanation. cug ___ Do not post admin requests to the list. They will be ign

Re: ERXEC Exception

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 12:29 , Joe Moreno wrote: Hi All, I'm not familiar with the details of ERXEC and I was wondering, when using it, if I should ever see the following exception? (Perhaps I have a buggy version - 5.0.0.8093?) I can imagine stuff like that happening, when you do things in

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 12:46 , shravan kumar wrote: Now am using ERXEC.newEditingContext() for creating new EC's, manually locking/ unlocking where required. Also locking/ unlocking in awake/ sleep respectively respect object bindings in the component. As long as you don't subclass ERXApplicat

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread Guido Neitzer
link seems to be broken, can any one provide me the latest stable version of this file: http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=301 Thank You, Shravan Kumar. M - --- On Wed, 4/8/09, Guido Neitzer wrote: From: Guido Ne

Re: Slow SQL slowing application - how to speed things up?

2009-04-09 Thread Guido Neitzer
On 8. Apr. 2009, at 22:16 , Peter Newnam wrote: Choke! 2 - 5 seconds on average?!!? That is orders of magnitude too slow! The bad news is that something is seriously wrong there (or you are deployed on an iPhone ;-). The good news is that something is seriously wrong so you should be ab

Re: Slow SQL slowing application - how to speed things up?

2009-04-08 Thread Guido Neitzer
On 8. Apr. 2009, at 17:04 , Chuck Hill wrote: At the moment each page access writes to the database as a page access log - so the connection is heavy used for updates/inserts. So . what do you thing the best practice would be to improve performance? First, I'd avoid an insert/update

Re: EOEditingContext Lock/Unlock best practice?

2009-04-08 Thread Guido Neitzer
On 8. Apr. 2009, at 10:13 , shravan kumar wrote: How about if I use session's defaultEditingContext and where needed I will just revert the EC, if I do not need to persist the objects in the EC? Most of our app uses session's defaultEditingContext. I think that is a pretty bad idea as you m

Re: App Engine supports Java

2009-04-08 Thread Guido Neitzer
On 8. Apr. 2009, at 07:34 , Anjo Krank wrote: http://googleappengine.blogspot.com/ WO in the cloud, anyone? Hmmm. I guess that could be really interesting if there were an EOF integration for JDO. Will have to look into that. It's definitely an interesting option. cug __

Re: EOEditingContext Lock/Unlock best practice?

2009-04-08 Thread Guido Neitzer
On 7. Apr. 2009, at 23:43 , shravan kumar wrote: For setting the locking property mentioned, does my app need to extend ERXApplication? currently my app is very loosely coupled to Project Wonder i.e., we use different API's from Project Wonder as needed. You need to extend from ERXApplica

Re: EOEditingContext Lock/Unlock best practice?

2009-04-07 Thread Guido Neitzer
On 7. Apr. 2009, at 13:35 , shravan kumar wrote: "Question: Given these caveats and any other, please advise me *BEST PRACTICE* (that overcomes dangerous locking/ unlocking issues like: deadlock and ...) in locking/ unlocking EOEditingContext object in various scenarios like, the ones descr

Re: How does concurrency control work in WO?

2009-03-29 Thread Guido Neitzer
On 29. Mar. 2009, at 15:10 , Ren, Kevin wrote: And want to understand more about concurrency issue in WO by code, so that 's the reason I am asking here. There is no "concurrency issue" per se in WO code. There is only wrong usage of what WO gives you that might bring you into trouble. If yo

Re: How does concurrency control work in WO?

2009-03-29 Thread Guido Neitzer
On 29. Mar. 2009, at 13:08 , Ren, Kevin wrote: I think it's about EOF professing. But if you have both, that's great. First of all: What EXACTLY is your goal? There are several ways of dealing with concurrency: 1. Switch on concurrent request handling with the property: -DWOAllowsConcurrent

  1   2   3   4   5   6   7   8   9   >