Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
Thanks Chuck for your response. On 2010-04-23, at 1:09 AM, Chuck Hill wrote: On Apr 22, 2010, at 2:17 PM, Farrukh Ijaz wrote: Hi WOGurus, 1. We've few applications based on same database structure. What happens, one of the application after approximately 500 hits gets down. What can be the reason for that? (I know the question is too broad but would appreciate for any clues). What does gets down mean? Runs out of memory? The JVM process crashes? Deadlocks? No, memory is not the issue. Instances stop responding and we need to use JavaMonitor to stop/start the instance or sometimes when JavaMonitor can't perform the operation need to kill the java process. Attached is the stack trace. 2010-04-20 14:21:07 Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode): pool-2-thread-1 prio=10 tid=0x2aab383db000 nid=0x6c0e waiting on condition [0x42d55000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for 0x2aaab7c1d7f0 (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) WorkerThread15 prio=10 tid=0x2aab3817e800 nid=0x6bdd waiting for monitor entry [0x42c54000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210) at java.lang.Thread.run(Thread.java:619) WorkerThread14 prio=10 tid=0x2aab3817c800 nid=0x6bdc waiting for monitor entry [0x42b53000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210) at java.lang.Thread.run(Thread.java:619) WorkerThread13 prio=10 tid=0x2aab3817b000 nid=0x6bdb waiting for monitor entry [0x42a52000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210) at java.lang.Thread.run(Thread.java:619) WorkerThread12 prio=10 tid=0x2aab38179000 nid=0x6bda waiting for monitor entry [0x42951000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210) at java.lang.Thread.run(Thread.java:619) WorkerThread11 prio=10 tid=0x2aab38177000 nid=0x6bd9 waiting for monitor entry [0x4285] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210) at java.lang.Thread.run(Thread.java:619) WorkerThread10 prio=10 tid=0x2aab38192800 nid=0x6bd8 waiting for monitor entry [0x4274f000] java.lang.Thread.State: BLOCKED (on object monitor) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388) - waiting to lock 0x2aaab79e6760 (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at
Re: announcement
Hi! Yes Dave, me to. Mike is one of the best developers here ... itself deeply bowing .. Matthias Message: 3 Date: Thu, 22 Apr 2010 11:45:31 -0400 From: David Avendasora webobje...@avendasora.com Subject: Re: announcement To: Alan Ward aw...@apple.com Cc: WO Dev Group webobjects-dev@lists.apple.com Message-ID: 53234977-4085-43c2-a4a9-41b1b6789...@avendasora.com Content-Type: text/plain; charset=us-ascii :-) I think we're all hoping/expecting that that's the case, but there's been others who start working at Apple and then suddenly stop posting, or only post rarely. With someone as high profile and insanely helpful as Mike I think many of us are just a little nervous about it. Dave ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
er.extensions.ERXJDBCAdaptor.className=er.extensions.jdbc.ERXJDBCAdaptor er.extensions.ERXJDBCAdaptor.useConnectionBroker = true er.extensions.ERXJDBCAdaptor.switchReadWrite=false er.extensions.ERXDatabaseContext.className = er.extensions.eof.ERXDatabaseContext er.extensions.ERXDatabaseContext.activate = true dbMinConnectionsGLOBAL=1 dbMaxConnectionsGLOBAL=5 dbConnectionRecycleGLOBAL=1.0 dbMaxCheckoutGLOBAL=86400 Unless you're doing direct JDBC access, i'm pretty sure using the connection broker with multiple db connections isn't really doing anything for you. You would still have a dbctx lock on the whole thing. What you probably want is the object store coordinator pool. The trade-off here is potentially duplicating snapshots in each coordinator and using more ram. # er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators = 0 ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
thanks everyone for all the nice comments ... i should print all these out and reuse them at my funeral! ms On Apr 23, 2010, at 3:59 AM, Matthias Jakob wrote: Hi! Yes Dave, me to. Mike is one of the best developers here ... itself deeply bowing .. Matthias Message: 3 Date: Thu, 22 Apr 2010 11:45:31 -0400 From: David Avendasora webobje...@avendasora.com Subject: Re: announcement To: Alan Ward aw...@apple.com Cc: WO Dev Group webobjects-dev@lists.apple.com Message-ID: 53234977-4085-43c2-a4a9-41b1b6789...@avendasora.com Content-Type: text/plain; charset=us-ascii :-) I think we're all hoping/expecting that that's the case, but there's been others who start working at Apple and then suddenly stop posting, or only post rarely. With someone as high profile and insanely helpful as Mike I think many of us are just a little nervous about it. Dave ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
Congratulations Lachlan for your family addition. In my experience, life gets easier again somewhere between the age of 1 and 2 years. This is from someone with 3 daughters... :) Regarding your new job: I hope you will stay around anyway. Timo Am 22.04.2010 um 04:40 schrieb Lachlan Deck: In other news, while announcements are in order: I started a new job a couple of weeks ago where spring+hibernate is in play. So my contributions will mostly likely slow down somewhat, not that they weren't slow already ;) Oh, and my wife and I had a little baby boy 4 weeks ago. Lots of fun. A little bundle of joy! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
June 2123, a couple days before WWDC '123, Mike The Unstoppable Code Machine Schrag passed away. Using WebObjects, Wonder and WOLips, he was able to last more than any other software-enhanced humans (namely phpmen and railsmen). We will miss his craziness, friendship and community contributions. Congratulations Mike, I'm sure you'll still be active in this mailing list. It's a good opportunity to also thank all the other contributors (I won't name anyone;)). See you at WWDC '10. Xavier thanks everyone for all the nice comments ... i should print all these out and reuse them at my funeral! ms On Apr 23, 2010, at 3:59 AM, Matthias Jakob wrote: Hi! Yes Dave, me to. Mike is one of the best developers here ... itself deeply bowing .. Matthias Message: 3 Date: Thu, 22 Apr 2010 11:45:31 -0400 From: David Avendasora webobje...@avendasora.com Subject: Re: announcement To: Alan Ward aw...@apple.com Cc: WO Dev Group webobjects-dev@lists.apple.com Message-ID: 53234977-4085-43c2-a4a9-41b1b6789...@avendasora.com Content-Type: text/plain; charset=us-ascii :-) I think we're all hoping/expecting that that's the case, but there's been others who start working at Apple and then suddenly stop posting, or only post rarely. With someone as high profile and insanely helpful as Mike I think many of us are just a little nervous about it. Dave ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com This email sent to webobje...@anazys.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
inline: PastedGraphic-1.png On 23/apr/2010, at 12.05, David Avendasora wrote: On Apr 23, 2010, at 5:26 AM, Dev WO wrote: June 2123, a couple days before WWDC '123, Mike The Unstoppable Code Machine Schrag passed away. Noo! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it This email sent to amedeomail...@insigno.it ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
On Apr 23, 2010, at 12:29 AM, Farrukh Ijaz wrote: Thanks Chuck for your response. On 2010-04-23, at 1:09 AM, Chuck Hill wrote: On Apr 22, 2010, at 2:17 PM, Farrukh Ijaz wrote: Hi WOGurus, 1. We've few applications based on same database structure. What happens, one of the application after approximately 500 hits gets down. What can be the reason for that? (I know the question is too broad but would appreciate for any clues). What does gets down mean? Runs out of memory? The JVM process crashes? Deadlocks? No, memory is not the issue. Instances stop responding and we need to use JavaMonitor to stop/start the instance or sometimes when JavaMonitor can't perform the operation need to kill the java process. Attached is the stack trace. stack.txt I don't see any dead locks there. Was that application not responding when you captured that? Are you dispatching requests concurrently? 2. Sometimes the logs show message with Runtime Exception Statement running too long what can be the reason. The statement running too long? Un-optimized or sub-optimal SQL can cause this. Which database? Using Wonder? I'm sure there are indexes. Can you explain sub-optimal SQL in this context? We use PostgreSQL and completely dependent on Wonder extensions. Different databases optimize SQL differently. Things like sub-selects vs joins, ANDs vs one IN can make a big difference on some databases. Chuck -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Statistics
Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
I don't know how to find that. However, if you have a performance problem, I doubt this is what you want to know so if you do, perhaps you could post what the problem is you are trying to solve. Tom On Apr 23, 2010, at 9:49 AM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/blenko% 40martingalesystems.com This email sent to ble...@martingalesystems.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
Wonder of course, what else could you look at?! - ERXStatistics ERXStatisticsStore request timer logging er.extensions.ERXStatisticsStore.milliSeconds.warn=3000 er.extensions.ERXStatisticsStore.milliSeconds.error=15000 er.extensions.ERXStatisticsStore.milliSeconds.fatal=3 and call this in your app constructor setStatisticsStore(new ERXStatisticsStore()); On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
And of course, while ERXStatisticsStore can be used in deployment, in development you can use the new framework committed to Wonder recently by Mike ERProfiling On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
Thanks... This is deployment... an app that got slow after a release... I'll take a look at ERXStatistics. Thanks! :-) On Apr 23, 2010, at 1:40 PM, Kieran Kelleher wrote: And of course, while ERXStatisticsStore can be used in deployment, in development you can use the new framework committed to Wonder recently by Mike ERProfiling On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
On Apr 23, 2010, at 10:44 AM, Ricardo J. Parada wrote: Thanks... This is deployment... an app that got slow after a release... I'll take a look at ERXStatistics. Thanks! Immediately after, or sometime later? Perhaps you are missing an optimization index? :-) On Apr 23, 2010, at 1:40 PM, Kieran Kelleher wrote: And of course, while ERXStatisticsStore can be used in deployment, in development you can use the new framework committed to Wonder recently by Mike ERProfiling On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
Hi, I work with Farrukh :) The application was indeed not responding as I recall. Also, we do dispatch requests concurrently (WOAllowsConcurrentRequestHandling=true). I wonder if enabling ERXStatisticsStore would give us some useful information Daniel Roy daniel@fuegodigitalmedia.com Software Developer On 2010-04-23, at 12:05 PM, Chuck Hill wrote: On Apr 23, 2010, at 12:29 AM, Farrukh Ijaz wrote: Thanks Chuck for your response. On 2010-04-23, at 1:09 AM, Chuck Hill wrote: On Apr 22, 2010, at 2:17 PM, Farrukh Ijaz wrote: Hi WOGurus, 1. We've few applications based on same database structure. What happens, one of the application after approximately 500 hits gets down. What can be the reason for that? (I know the question is too broad but would appreciate for any clues). What does gets down mean? Runs out of memory? The JVM process crashes? Deadlocks? No, memory is not the issue. Instances stop responding and we need to use JavaMonitor to stop/start the instance or sometimes when JavaMonitor can't perform the operation need to kill the java process. Attached is the stack trace. stack.txt I don't see any dead locks there. Was that application not responding when you captured that? Are you dispatching requests concurrently? 2. Sometimes the logs show message with Runtime Exception Statement running too long what can be the reason. The statement running too long? Un-optimized or sub-optimal SQL can cause this. Which database? Using Wonder? I'm sure there are indexes. Can you explain sub-optimal SQL in this context? We use PostgreSQL and completely dependent on Wonder extensions. Different databases optimize SQL differently. Things like sub-selects vs joins, ANDs vs one IN can make a big difference on some databases. Chuck -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/daniel.roy%40fuegodigitalmedia.com This email sent to daniel@fuegodigitalmedia.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
I still don't have enough info. :-( All I know is that the elapsed times between the session awake and sleep are very long, which we started noticing immediately after a release (I think). So I don't know yet if it's SQL, network, or something else in the app. There was an upgrade to Oracle 11g on the database side. :-) On Apr 23, 2010, at 1:47 PM, Chuck Hill wrote: On Apr 23, 2010, at 10:44 AM, Ricardo J. Parada wrote: Thanks... This is deployment... an app that got slow after a release... I'll take a look at ERXStatistics. Thanks! Immediately after, or sometime later? Perhaps you are missing an optimization index? :-) On Apr 23, 2010, at 1:40 PM, Kieran Kelleher wrote: And of course, while ERXStatisticsStore can be used in deployment, in development you can use the new framework committed to Wonder recently by Mike ERProfiling On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
Try increasing the max Java memory size to see if that affects what you're seeing (if the slowing goes away or takes longer to appear, your working set probably exceeds the max memory). Tom On Apr 23, 2010, at 10:44 AM, Ricardo J. Parada wrote: Thanks... This is deployment... an app that got slow after a release... I'll take a look at ERXStatistics. Thanks! :-) On Apr 23, 2010, at 1:40 PM, Kieran Kelleher wrote: And of course, while ERXStatisticsStore can be used in deployment, in development you can use the new framework committed to Wonder recently by Mike ERProfiling On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists %40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/blenko% 40martingalesystems.com This email sent to ble...@martingalesystems.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
Am 23.04.2010 um 05:46 schrieb Gaastra Dennis - WO Lists: Ciao Pascale, You are great and your efforts are very much appreciated. I have also been more than my share, in driving my internal apple WebObjects contact crazy, and complaining why he can't release any of his new work outside of Apple. But as much as he feels for the community, he can't do anything. [1] So what can we do - as a community - to ensure that these new WebObjects releases get indeed released outside of Apple? [2] Who are the persons blocking any new public WebObjects releases and what are their motivations? [3] What are our options for moving forward? How about we do a petition to Apple and/or a Dear Steve Jobs email? I already did this. Quite a while ago. It got ignored silently … Anfang der weitergeleiteten E-Mail: Von: Lars Sonchocky-Helldorf lars.sonchocky-helld...@hamburg.de Datum: 16. April 2008 01:23:45 MESZ An: sj...@apple.com Betreff: the notorious WebObjects case Hi Steve, I am a software developer in the custom solutions business. Our company develops mostly web based software. Traditionally we use WebObjects for this, because Webobjects is a great piece of software, because we like WebObjects. Over the time I've used a lot of different Web frameworks: plain JavaServer Pages ( http://java.sun.com/products/jsp/ - only good for very basic stuff), Apache Struts ( http://struts.apache.org/ - one word: primitive), Apache Tapestry ( http://tapestry.apache.org/ - somewhat of a clone of WebObjects but subpar and crippled), a little JavaServer Faces in a single project ( http://java.sun.com/ javaee/javaserverfaces/ - very intricate) and in a current project Apache Wicket ( http://wicket.apache.org/ - this one actually somewhat compares to WebObjects but misses EOF). WebObjects is still the best but sadly customer confidence dwindle. While I like WebObjects most for its efficiency, beauty and maturity, most of our customers either never heard of it - or - if they know it - slowly loose faith in it. In the old days customers explicitly asked for Webobjects but now it gets harder and harder each day to convince customers to choose WebObjects as base technology for new projects we implement for them. Mostly the main concern is uncertainty about the future of WebObjects, sometimes vendor lock in and more and more because it is proprietary technology. We used most of the technologies mentioned above because our customers insisted on it - not because we wanted to do so. The competition for the mind share all those open source frameworks create also plays a role in this. Now I think WebObjects has still a lot of potential, despite its currently decreasing mind share and support (less and less WebObjects sessions at the WWDCs, slow update cycle with almost no new features in the last years (I like to see full fledged AJAX support, HTML 5, annotation based authorization and security, integrated Unit testing support - to name a few.)). Why not repeat the success of WebKit? WebKit turned out to be a huge success lately, it gets picket up by a lot of projects and companies, it was the first to pass the Acid3 web standards test. Why is that? I think a great part of this success comes from being open source. People grab the code, fix bugs, extend it, tweak and port it to their needs and integrate it easily in their products. Even Apple profits from this development. To me WebObjects is like the older brother of WebKit - it just lives on the other side of the web - the server. Both get together less and less often but when they meet they're still the number one team. Apple could open source WebObjects and people will come and improve it. That would make a great WWDC announcement. keeping the faith, Lars cheers, Lars ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
Hi Daniel, On Apr 23, 2010, at 10:59 AM, Daniel Roy wrote: Hi, I work with Farrukh :) 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 and is idle, though effectively dead. 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 process. You could also enable WO logging (see WO's apache.conf) to see what the woadaptor has to say. Chuck Daniel Roy daniel@fuegodigitalmedia.com Software Developer On 2010-04-23, at 12:05 PM, Chuck Hill wrote: On Apr 23, 2010, at 12:29 AM, Farrukh Ijaz wrote: Thanks Chuck for your response. On 2010-04-23, at 1:09 AM, Chuck Hill wrote: On Apr 22, 2010, at 2:17 PM, Farrukh Ijaz wrote: Hi WOGurus, 1. We've few applications based on same database structure. What happens, one of the application after approximately 500 hits gets down. What can be the reason for that? (I know the question is too broad but would appreciate for any clues). What does gets down mean? Runs out of memory? The JVM process crashes? Deadlocks? No, memory is not the issue. Instances stop responding and we need to use JavaMonitor to stop/start the instance or sometimes when JavaMonitor can't perform the operation need to kill the java process. Attached is the stack trace. stack.txt I don't see any dead locks there. Was that application not responding when you captured that? Are you dispatching requests concurrently? 2. Sometimes the logs show message with Runtime Exception Statement running too long what can be the reason. The statement running too long? Un-optimized or sub-optimal SQL can cause this. Which database? Using Wonder? I'm sure there are indexes. Can you explain sub-optimal SQL in this context? We use PostgreSQL and completely dependent on Wonder extensions. Different databases optimize SQL differently. Things like sub- selects vs joins, ANDs vs one IN can make a big difference on some databases. Chuck -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/daniel.roy%40fuegodigitalmedia.com This email sent to daniel@fuegodigitalmedia.com -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
On Apr 23, 2010, at 2:04 PM, Lars Sonchocky-Helldorf wrote: How about we do a petition to Apple and/or a Dear Steve Jobs email? I already did this. Quite a while ago. It got ignored silently … I read on the web that he's been answering emails recently. :-) :-) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
On Apr 23, 2010, at 11:10 AM, Ricardo J. Parada wrote: On Apr 23, 2010, at 2:04 PM, Lars Sonchocky-Helldorf wrote: How about we do a petition to Apple and/or a Dear Steve Jobs email? I already did this. Quite a while ago. It got ignored silently … I read on the web that he's been answering emails recently. :-) :-) Maybe David LeBer will finally get his pony! -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
I still don't have enough info. :-( All I know is that the elapsed times between the session awake and sleep are very long, which we started noticing immediately after a release (I think). So I don't know yet if it's SQL, network, or something else in the app. There was an upgrade to Oracle 11g on the database side. if you can replicate this in production yourself, you can also setup a dev-only instance of your app with ERProfiling enabled. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
Quick question on this stuff... :-) When a request is taking long, this just logs the stack traces of the different threads in the application? Is that what this gives you? Thanks, Ricardo On Apr 23, 2010, at 1:38 PM, Kieran Kelleher wrote: Wonder of course, what else could you look at?! - ERXStatistics ERXStatisticsStore request timer logging er.extensions.ERXStatisticsStore.milliSeconds.warn=3000 er.extensions.ERXStatisticsStore.milliSeconds.error=15000 er.extensions.ERXStatisticsStore.milliSeconds.fatal=3 and call this in your app constructor setStatisticsStore(new ERXStatisticsStore()); On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
Am 23.04.2010 um 20:10 schrieb Ricardo J. Parada: On Apr 23, 2010, at 2:04 PM, Lars Sonchocky-Helldorf wrote: How about we do a petition to Apple and/or a Dear Steve Jobs email? I already did this. Quite a while ago. It got ignored silently … I read on the web that he's been answering emails recently. :-) :-) Well, stop making fun of me. ;-) I know I was naive when I wrote this mail. I just posted it here to demonstrate that an email to Steve Jobs is no silver bullet. WebKit and WebObjects are indeed two very different kind of animals. While a wide adoption of modern web browser technology (e.g. WebKit) is important for the success of Apple (it enables them to build great stuff) a wide adoption of WebObjects is not (it enables others to build great stuff). Its actually the two ends of the same rope: WebObjects is pivotal for Apple to create great webapps and WebKit is pivotal for Apple to enable everybody to use that webapps. If I were Apple I also would keep WebObjects for myself. Otherwise I would loose a competitive advantage. Apple is not Sun who just wanted to be loved by everybody (by giving away everything for free) cheers, Lars ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
Yeah but, where is Apple going to get their next superstar/wunderkind employee, like Mike, if WebObjects isn't out there? On Apr 23, 2010, at 9:34 AM, Lars Sonchocky-Helldorf wrote: Am 23.04.2010 um 20:10 schrieb Ricardo J. Parada: On Apr 23, 2010, at 2:04 PM, Lars Sonchocky-Helldorf wrote: How about we do a petition to Apple and/or a Dear Steve Jobs email? I already did this. Quite a while ago. It got ignored silently … I read on the web that he's been answering emails recently. :-) :-) Well, stop making fun of me. ;-) I know I was naive when I wrote this mail. I just posted it here to demonstrate that an email to Steve Jobs is no silver bullet. WebKit and WebObjects are indeed two very different kind of animals. While a wide adoption of modern web browser technology (e.g. WebKit) is important for the success of Apple (it enables them to build great stuff) a wide adoption of WebObjects is not (it enables others to build great stuff). Its actually the two ends of the same rope: WebObjects is pivotal for Apple to create great webapps and WebKit is pivotal for Apple to enable everybody to use that webapps. If I were Apple I also would keep WebObjects for myself. Otherwise I would loose a competitive advantage. Apple is not Sun who just wanted to be loved by everybody (by giving away everything for free) cheers, Lars ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com This email sent to jlmil...@kahalawai.com Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Linux Apache 2.2 webserver update causing problems
Hi, Wondering if someone has been having issues when updating their linux box with the latest security patches. We had an update on Thursday, April 22 and after that we started to experience problems with one of our WebObjects applications. Specifically...the sessions are being redirected from one instance on the other causing timeouts. When the refresh button is hit, the application returns on the original instance and the app continues normally after this. The instance number does not change on the URL. The code on the application has not changed. In addition, when running on a test webserver which is a OSX Apache 2.2 we are not having these Webobjects issues. Here's the full list of patches that were downloaded. Have you seen problems with webobjects apps after doing these updates? Thanks in advance. Transaction Summary = Install 6 Package(s) Update 147 Package(s) Remove 2 Package(s) Total download size: 198 M Is this ok [y/N]: y Downloading Packages: (1/153): libXrandr-1.1.1-3.3.i386.rpm | 15 kB 00:00 (2/153): rpmforge-release-0.5.1-1.el5.rf.i386.rpm | 16 kB 00:00 (3/153): perl-XML-NamespaceSupport-1.11-1.el5.rf.noarch.rpm | 16 kB 00:00 (4/153): libacl-2.2.39-6.el5.i386.rpm | 19 kB 00:00 (5/153): libaio-0.3.106-5.i386.rpm | 19 kB 00:00 (6/153): device-mapper-event-1.02.39-1.el5.i386.rpm | 20 kB 00:00 (7/153): hmaccalc-0.9.6-3.el5.i386.rpm | 21 kB 00:00 (8/153): avahi-compat-libdns_sd-0.6.16-7.el5.i386.rpm | 23 kB 00:00 (9/153): dmraid-events-1.0.0.rc13-63.el5.i386.rpm | 24 kB 00:00 (10/153): ntsysv-1.3.30.2-2.el5.i386.rpm | 24 kB 00:00 (11/153): libXi-1.0.1-4.el5_4.i386.rpm | 26 kB 00:00 (12/153): cyrus-sasl-plain-2.1.22-5.el5_4.3.i386.rpm | 27 kB 00:00 (13/153): iptstate-1.4-2.el5.i386.rpm | 27 kB 00:00 (14/153): cyrus-sasl-gssapi-2.1.22-5.el5_4.3.i386.rpm | 29 kB 00:00 (15/153): rhnsd-4.7.0-5.el5.i386.rpm | 32 kB 00:00 (16/153): paps-0.6.6-19.el5.i386.rpm | 33 kB 00:00 (17/153): perl-Path-Class-0.18-1.el5.rf.noarch.rpm | 35 kB 00:00 (18/153): rhn-check-0.4.20-33.el5_5.1.noarch.rpm | 39 kB 00:00 (19/153): libhugetlbfs-1.3-7.el5.i386.rpm | 42 kB 00:00 (20/153): numactl-0.9.8-11.el5.i386.rpm | 45 kB 00:00 (21/153): apr-util-devel-1.2.7-11.el5.i386.rpm | 53 kB 00:00 (22/153): at-3.1.8-84.el5.i386.rpm | 56 kB 00:00 (23/153): perl-IO-Socket-SSL-1.31-1.el5.rf.noarch.rpm | 56 kB 00:00 (24/153): perl-BSD-Resource-1.2903-1.el5.rf.i386.rpm | 57 kB 00:00 (25/153): yum-rhn-plugin-0.5.4-15.el5.noarch.rpm | 59 kB 00:00 (26/153): redhat-release-5Server-5.5.0.2.i386.rpm | 62 kB 00:00 (27/153): pax-3.4-2.el5.i386.rpm | 63 kB 00:00 (28/153): ethtool-6-4.el5.i386.rpm | 63 kB 00:00 (29/153): acl-2.2.39-6.el5.i386.rpm | 68 kB 00:00 (30/153): rhnlib-2.5.22-3.el5.noarch.rpm | 68 kB 00:00 (31/153): dosfstools-2.11-9.el5.i386.rpm | 72 kB 00:00 (32/153): poppler-utils-0.5.4-4.4.el5_4.11.i386.rpm | 72 kB 00:00 (33/153): dmidecode-2.10-3.el5.i386.rpm | 74 kB 00:00 (34/153): perl-Digest-SHA1-2.12-2.el5.rf.i386.rpm | 74 kB 00:00 (35/153): sysklogd-1.4.1-46.el5.i386.rpm | 74 kB 00:00 (36/153): audit-libs-1.7.17-3.el5.i386.rpm | 78 kB 00:00 (37/153): audit-libs-python-1.7.17-3.el5.i386.rpm | 79 kB 00:00 (38/153): apr-util-1.2.7-11.el5.i386.rpm | 80 kB 00:00 (39/153): python-dmidecode-3.10.8-4.el5.i386.rpm | 83 kB 00:00 (40/153): pciutils-2.2.3-8.el5.i386.rpm | 83 kB 00:00 (41/153): mod_ssl-2.2.3-43.el5.i386.rpm | 91 kB 00:00 (42/153): libgcc-4.1.2-48.el5.i386.rpm | 95 kB 00:00 (43/153): gzip-1.3.5-11.el5_4.1.i386.rpm | 101 kB 00:00 (44/153): less-436-2.el5.i386.rpm | 105 kB 00:00 (45/153): perl-Compress-Raw-Bzip2-2.024-1.el5.rf.i386.rpm | 108 kB 00:00 (46/153): newt-0.52.2-15.el5.i386.rpm | 112 kB 00:00 (47/153): libevent-1.4.13-1.i386.rpm | 112 kB 00:00 (48/153): rhn-setup-0.4.20-33.el5_5.1.noarch.rpm | 115 kB 00:00 (49/153): nspr-4.8.4-1.el5_4.i386.rpm | 120 kB 00:00 (50/153): cpio-2.6-23.el5_4.1.i386.rpm | 122 kB 00:00 (51/153): dbus-libs-1.1.2-14.el5.i386.rpm | 123 kB 00:00 (52/153): cyrus-sasl-lib-2.1.22-5.el5_4.3.i386.rpm | 127 kB 00:00 (53/153): libsepol-1.15.2-3.el5.i386.rpm | 128 kB 00:00 (54/153): pam_krb5-2.2.14-15.i386.rpm | 136 kB 00:00 (55/153): sos-1.7-9.49.el5.noarch.rpm | 147 kB 00:00 (56/153): perl-HTML-Parser-3.64-1.el5.rf.i386.rpm | 148 kB 00:00 (57/153): httpd-devel-2.2.3-43.el5.i386.rpm | 148 kB 00:00 (58/153): php-common-5.1.6-27.el5.i386.rpm | 152 kB 00:00 (59/153): chkconfig-1.3.30.2-2.el5.i386.rpm | 157 kB 00:00 (60/153): nscd-2.5-49.i386.rpm | 163 kB 00:00 (61/153): perl-Compress-Raw-Zlib-2.024-1.el5.rf.i386.rpm | 169 kB 00:00 (62/153):
Re: Linux Apache 2.2 webserver update causing problems
Hi! Have you tried to run the apachectl restart (or graceful) command while the apps are running? In rare occasions, I find that if I launch a new instance of a WO App (that has other instances already running), some Apache worker threads won't be able to talk to the new instance. If I set the old instances to refuse sessions, I start getting errors on some requests (not all) until I restart apache. I was never able to reproduce this on dev or staging machines, so I don't know where the problem is. I just got used to run an apachectl graceful command after starting new instances. This is on FreeBSD, but it should not matter, if your problem is the same. Yours Miguel Arroz On 2010/04/23, at 22:19, Mersida Kurti wrote: Hi, Wondering if someone has been having issues when updating their linux box with the latest security patches. We had an update on Thursday, April 22 and after that we started to experience problems with one of our WebObjects applications. Specifically...the sessions are being redirected from one instance on the other causing timeouts. When the refresh button is hit, the application returns on the original instance and the app continues normally after this. The instance number does not change on the URL. The code on the application has not changed. In addition, when running on a test webserver which is a OSX Apache 2.2 we are not having these Webobjects issues. Here's the full list of patches that were downloaded. Have you seen problems with webobjects apps after doing these updates? Thanks in advance. Transaction Summary = Install 6 Package(s) Update 147 Package(s) Remove 2 Package(s) Total download size: 198 M Is this ok [y/N]: y Downloading Packages: (1/153): libXrandr-1.1.1-3.3.i386.rpm | 15 kB 00:00 (2/153): rpmforge-release-0.5.1-1.el5.rf.i386.rpm | 16 kB 00:00 (3/153): perl-XML-NamespaceSupport-1.11-1.el5.rf.noarch.rpm | 16 kB 00:00 (4/153): libacl-2.2.39-6.el5.i386.rpm | 19 kB 00:00 (5/153): libaio-0.3.106-5.i386.rpm | 19 kB 00:00 (6/153): device-mapper-event-1.02.39-1.el5.i386.rpm | 20 kB 00:00 (7/153): hmaccalc-0.9.6-3.el5.i386.rpm | 21 kB 00:00 (8/153): avahi-compat-libdns_sd-0.6.16-7.el5.i386.rpm | 23 kB 00:00 (9/153): dmraid-events-1.0.0.rc13-63.el5.i386.rpm | 24 kB 00:00 (10/153): ntsysv-1.3.30.2-2.el5.i386.rpm | 24 kB 00:00 (11/153): libXi-1.0.1-4.el5_4.i386.rpm | 26 kB 00:00 (12/153): cyrus-sasl-plain-2.1.22-5.el5_4.3.i386.rpm | 27 kB 00:00 (13/153): iptstate-1.4-2.el5.i386.rpm | 27 kB 00:00 (14/153): cyrus-sasl-gssapi-2.1.22-5.el5_4.3.i386.rpm | 29 kB 00:00 (15/153): rhnsd-4.7.0-5.el5.i386.rpm | 32 kB 00:00 (16/153): paps-0.6.6-19.el5.i386.rpm | 33 kB 00:00 (17/153): perl-Path-Class-0.18-1.el5.rf.noarch.rpm | 35 kB 00:00 (18/153): rhn-check-0.4.20-33.el5_5.1.noarch.rpm | 39 kB 00:00 (19/153): libhugetlbfs-1.3-7.el5.i386.rpm | 42 kB 00:00 (20/153): numactl-0.9.8-11.el5.i386.rpm | 45 kB 00:00 (21/153): apr-util-devel-1.2.7-11.el5.i386.rpm
Re: Linux Apache 2.2 webserver update causing problems
On Apr 23, 2010, at 2:19 PM, Mersida Kurti wrote: Hi, Wondering if someone has been having issues when updating their linux box with the latest security patches. We had an update on Thursday, April 22 and after that we started to experience problems with one of our WebObjects applications. Other ones on the same machine are OK? Specifically...the sessions are being redirected from one instance on the other causing timeouts. When the refresh button is hit, the application returns on the original instance and the app continues normally after this. That sounds like the app was slow to respond to the woadaptor. In that situation, the woadaptor sends the request to another instance (which won't do anything useful for component actions). My first suspicion would be that your app is getting bogged down in some processing after this update. Chuck The instance number does not change on the URL. The code on the application has not changed. In addition, when running on a test webserver which is a OSX Apache 2.2 we are not having these Webobjects issues. -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Ajax submit when Enter pressed on form fields
Hi guys, I'm using an AjaxSubmitButton to submit a form and pop up an AjaxModalDialog in the process. Does anyone know of a way that I could do that same submission when a user presses Enter in any of my form fields? I've tried using the js click() method to no avail. Thanks, Ben Code: wo:form id = quickorderform Part Number wo:textfield id = purchasePart size = 20 value = $purchasePartNumber default = catalog part # onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / Qty wo:textfield id = purchaseQty size = 20 value = $purchaseQty numberformat = 0 default = qty onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / wo:AjaxSubmitButton id = quickOrderSubmitButton action = $purchase value = purchase/wo:AjaxSubmitButton /wo:form ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Ajax submit when Enter pressed on form fields
AjaxDefaultSubmitButton On Apr 23, 2010, at 3:26 PM, Benjamin Chew wrote: Hi guys, I'm using an AjaxSubmitButton to submit a form and pop up an AjaxModalDialog in the process. Does anyone know of a way that I could do that same submission when a user presses Enter in any of my form fields? I've tried using the js click() method to no avail. Thanks, Ben Code: wo:form id = quickorderform Part Number wo:textfield id = purchasePart size = 20 value = $purchasePartNumber default = catalog part # onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / Qty wo:textfield id = purchaseQty size = 20 value = $purchaseQty numberformat = 0 default = qty onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / wo:AjaxSubmitButton id = quickOrderSubmitButton action = $purchase value = purchase/wo:AjaxSubmitButton /wo:form ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Ajax submit when Enter pressed on form fields
Chuck, you are the man. Sorry for being such a noob. Thanks for writing that, btw. :) Ben On Fri, Apr 23, 2010 at 3:31 PM, Chuck Hill ch...@global-village.netwrote: AjaxDefaultSubmitButton On Apr 23, 2010, at 3:26 PM, Benjamin Chew wrote: Hi guys, I'm using an AjaxSubmitButton to submit a form and pop up an AjaxModalDialog in the process. Does anyone know of a way that I could do that same submission when a user presses Enter in any of my form fields? I've tried using the js click() method to no avail. Thanks, Ben Code: wo:form id = quickorderform Part Number wo:textfield id = purchasePart size = 20 value = $purchasePartNumber default = catalog part # onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / Qty wo:textfield id = purchaseQty size = 20 value = $purchaseQty numberformat = 0 default = qty onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / wo:AjaxSubmitButton id = quickOrderSubmitButton action = $purchase value = purchase/wo:AjaxSubmitButton /wo:form ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Ajax submit when Enter pressed on form fields
On Apr 23, 2010, at 3:40 PM, Benjamin Chew wrote: Chuck, you are the man. Sorry for being such a noob. No worries, it takes a while to find all the bits. Reading over the JavaDocs might be a good idea, you never know what you will find! And AjaxExample and AjaxExample2 http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/index.html Chuck Thanks for writing that, btw. :) Ben On Fri, Apr 23, 2010 at 3:31 PM, Chuck Hill ch...@global- village.net wrote: AjaxDefaultSubmitButton On Apr 23, 2010, at 3:26 PM, Benjamin Chew wrote: Hi guys, I'm using an AjaxSubmitButton to submit a form and pop up an AjaxModalDialog in the process. Does anyone know of a way that I could do that same submission when a user presses Enter in any of my form fields? I've tried using the js click() method to no avail. Thanks, Ben Code: wo:form id = quickorderform Part Number wo:textfield id = purchasePart size = 20 value = $purchasePartNumber default = catalog part # onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / Qty wo:textfield id = purchaseQty size = 20 value = $purchaseQty numberformat = 0 default = qty onkeydown=if (event.keyCode == 13) document.getElementById('quickOrderSubmitButton').click()/ br / wo:AjaxSubmitButton id = quickOrderSubmitButton action = $purchase value = purchase/wo:AjaxSubmitButton /wo:form ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 specific problems. http://www.global-village.net/products/practical_webobjects -- 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 specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Statistics
This tells you what thread took the long time and it gives you a snapshot of what every thread was doing *HALF-WAY* thru the long time. In other words if your log.ERROR is set for 30 seconds then the log.WARN message shows what all threads were doing at 15 seconds into the request .. thus giving you a fair idea what was going on in the entire app instance. On Apr 23, 2010, at 2:35 PM, Ricardo J. Parada wrote: Quick question on this stuff... :-) When a request is taking long, this just logs the stack traces of the different threads in the application? Is that what this gives you? Thanks, Ricardo On Apr 23, 2010, at 1:38 PM, Kieran Kelleher wrote: Wonder of course, what else could you look at?! - ERXStatistics ERXStatisticsStore request timer logging er.extensions.ERXStatisticsStore.milliSeconds.warn=3000 er.extensions.ERXStatisticsStore.milliSeconds.error=15000 er.extensions.ERXStatisticsStore.milliSeconds.fatal=3 and call this in your app constructor setStatisticsStore(new ERXStatisticsStore()); On Apr 23, 2010, at 12:49 PM, Ricardo J. Parada wrote: Hi, What should I look at to find out the time a request sits in the queue before it is picked up and processed? Thanks, Ricardo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Wotonomy
Hello; I see there is a Wotonomy project which (was) is implementing a WO-API re-implementation. Does anybody know what became of that? Is it still being developed? http://sourceforge.net/projects/wotonomy cheers. ___ Andrew Lindesay www.silvereye.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com