Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Chuck Hill
Receive Timeout is set in JavaMonitor. From: Benjamin Chew mailto:bc...@smarthealth.com>> Date: Tuesday, April 5, 2016 at 11:52 PM To: Chuck Hill mailto:ch...@gevityinc.com>> Cc: OC mailto:o...@ocs.cz>>, WebObjects-Dev Mailing List mailto:webobjects-dev@lists.apple.com>> Subject: Re: Extending th

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Benjamin Chew
Thanks guys, I appreciate all the other suggestions, but I’m quite positive it is the ping time that is killing me. I have tried multiple apps, and all the apps have the same problem. They worked fine when I was in the US, but I encountered this problem once I got to Singapore. I’ve verified this

Re: ERAttachment uploaders pain

2016-04-05 Thread T Worman
Thanks Paul, Glad to hear it is working for you - I may have to go back to it and try again - my problems are usually just me. :-) Like I said, I could never get past “Upload Starting…” On the plus side, it did actually perform the upload and create/save the attachment EO. My bindings were si

Re: ERAttachment uploaders pain

2016-04-05 Thread Paul Hoadley
Hi Tim, On 5 Apr 2016, at 10:10 am, T Worman wrote: > I’ve tried pretty much every uploader in the ERAttachment package with poor > results. I guess the only option is to transition to "javascript guru.” I > spent a LOT of time with ERAttachmentFlexibleUpload - and never could get it > to dis

Re: Deadlock / stack interpretation

2016-04-05 Thread Chuck Hill
That code does not look to be the source of this deadlock. As a helpful hint, having this code set the thread name to _document.description() makes debugging things like this easier. Chuck From: Mark Wardle mailto:m...@wardle.org>> Date: Tuesday, April 5, 2016 at 3:14 PM To: Chuck Hill mailto

Re: Deadlock / stack interpretation

2016-04-05 Thread Chuck Hill
That is a good idea, but that is not the source of the original deadlock as far as I can see. From: Jon Nolan mailto:j...@lochgarman.com>> Date: Tuesday, April 5, 2016 at 3:29 PM To: Mark Wardle mailto:m...@wardle.org>> Cc: Chuck Hill mailto:ch...@gevityinc.com>>, WebObjects Dev Apple mailto:we

Re: Deadlock / stack interpretation

2016-04-05 Thread Mark Wardle
Thanks Chuck. I have looked at this code. I do spin out a separate thread to do some background processing after a particular request. I thought that passing a EOGlobalID would be safe. The class below takes a Document (an immutable and thread-safe POJO), a Report and an ExternalDocumentStore (b

ERDListOrganizer example

2016-04-05 Thread Ângelo Andrade Cirino
Hi, I am trying to use ERDListOrganizer but am having problems with the bindings. I would like to know if someone has a simple example on how to use it. Regards, Angelo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev m

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Chuck Hill
I assume that you are running the app locally through Apache as that message is from wotaskd. As OC pointed out, the Receive Timeout is what you need to adjust up and up and up. It sounds like latency is what is killing you, I don’t recall how chatty JDBC is but it is probably along the lines

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread OC
Benjamin, On 5. 4. 2016, at 11:02, Benjamin Chew wrote: > I’m in Singapore working off a VPN connection to the States, and while > waiting for some database-intensive components to display, I keep getting “No > Instance Available” because it’s taking so long to complete all the queries > (pin

Re: Extending the "No Instance Available" timeout

2016-04-05 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
My understanding is that a "No instance available" comes from your Apache's WOAdaptor. Therefore it shouldn't basically have nothing to do with your VPN or slow internet connection. Daniele has already suggested using a ERXLongResponsePage. Sometimes the problem is not a single database operati

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Theodore Petrosky
are you able to look at the logs of the VPN box? Is this an issue where the VPN is not permitting traffic on the port you are trying to use? My VPN box is very restrictive. I have a web server in the office for testing, and I forget which port it’s web server is using, but it is not port 80. Wh

Re: Extending the “No Instance Available” timeout

2016-04-05 Thread Dev WO
Hi Ben, Your ping time isn’t the issue for sure, as far as I remember the time out is something like a minute… I think the issue is more on the “application” side. Try to see if you have anyway to get some log. Eventually output the SQL for your app to see if you forget to do some batch when acc

Re: Extending the "No Instance Available" timeout

2016-04-05 Thread Daniele Corti
Hi Benjamin, if I understand correctly the problem is a intensive work on the DB, that, added to the slow connection, make WOMonitor return the "No Instance Available" error. if used in local network, these pages use more than 3/4 seconds to load? I'm asking this, because I think it's a good pract

Extending the “No Instance Available” timeout

2016-04-05 Thread Benjamin Chew
Hi Everyone, I’m wondering if any of you kind souls can help me. :) I’m in Singapore working off a VPN connection to the States, and while waiting for some database-intensive components to display, I keep getting “No Instance Available” because it’s taking so long to complete all the queries (pin