RE: [U2] UniObjects / Read Timeout
Depending on your release it is either maxint or on later versions you can set zero for no timeout. Brian -Original Message- From: Jeff Powell[EMAIL PROTECTED] Sent: 13/03/07 00:40:39 To: u2-users@listserver.u2ug.orgu2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects / Read Timeout Thanks Brian. It's set to six minutes (3600). That's the default. Can you tell me what the Max value is? By the way I didn't get this message until after 6 CDT. I think the list is slow today. Thanks again. On Mon, 2007-03-12 at 19:53 +, Brian Leach wrote: You might want to take a look at the unirpcservices file on the server. This is a text file located in the unishared directory. The last entry on each line is a timeout value in 1/10th seconds. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell Sent: 12 March 2007 16:17 To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects / Read Timeout [Message truncated. Tap Edit-Mark for Download to get remaining portion.] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects / Read Timeout
Sorry all This had been stuck in my phone's Outbox for a week. Brian -Original Message- From: Brian Leach[EMAIL PROTECTED] Sent: 18/03/07 15:42:09 To: u2-users@listserver.u2ug.orgu2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects / Read Timeout Depending on your release it is either maxint or on later versions you can set zero for no timeout. Brian -Original Message- From: Jeff Powell[EMAIL PROTECTED] Sent: 13/03/07 00:40:39 To: u2-users@listserver.u2ug.orgu2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects / Read Timeout Thanks Brian. It's set to six minutes (3600). That's the default. Can you tell me what the Max value is? By the way I didn't get this message until after 6 CDT. I think the list is slow today. Thanks again. On Mon, 2007-03-12 at 19:53 +, Brian Leach wrote: You might want to take a look at the unirpcservices file on the server. This is a text file located in the unishared directory. The last entry on each line is a timeout value in 1/10th seconds. [Message truncated. Tap Edit-Mark for Download to get remaining portion.] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects / Read Timeout
You might want to take a look at the unirpcservices file on the server. This is a text file located in the unishared directory. The last entry on each line is a timeout value in 1/10th seconds. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell Sent: 12 March 2007 16:17 To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects / Read Timeout I am running a long select via UniQuery and I'm getting a timeout. Is there a parameter I can change to increase the timeout? This operation will be done during the server's low utilization period. I'm using uniobjects for java on a linux (rhel es4.5) server connecting to unidata on a rs/6000 aix 5.3. Thanks. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects / Read Timeout
Jeff Powell wrote: I am running a long select via UniQuery and I'm getting a timeout. Is there a parameter I can change to increase the timeout? This operation will be done during the server's low utilization period. I'm using uniobjects for java on a linux (rhel es4.5) server connecting to unidata on a rs/6000 aix 5.3. If it looks like you're going to be pushing timeouts significantly then it might be best to approach this asynchronously. Send the selection to a phantom on the server, generate a list, then use the list to process items from the client. Don't just phantom off the selection. Have a program do the selection, then write a unique tickler item when the selection is done. Your UO code can read for this item for some period of time, provide entertainment for the user between pings (hourglass, progressbar, some other animation). You can control the timeout simply by stopping the server pings and asking the user what they want to do. I've done this for long running reports called from web clients. If it takes more than about 20 seconds, or if there is a flag manually set that indicates a given report will undoubtedly take more than 20 seconds, I don't make the user wait. I give them a page they can check to see if their report is complete. For very long reports you can send an email with a link when a report is complete, or your remote client interface can periodically check pending reports from menus or other places, so that you can inform the user on-screen when a previous request is ready. HTH TG@ removethisNebula-RnD.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects / Read Timeout
Tony, Great idea. I have the added luxury that the user will not interact with this program. My goal is to bounce the line items to a sql table during non-business hours then after some digestion serve that up to the user through standard sql queries to the now static data in the tables. I plan to look at this async approach. Perhaps write a scheduler job that will output to a saved list then set a flag or signal through a socket as Kevin King proposed. Thanks for your help. Jeff On Mon, 2007-03-12 at 14:02 -0700, Tony Gravagno wrote: Jeff Powell wrote: I am running a long select via UniQuery and I'm getting a timeout. Is there a parameter I can change to increase the timeout? This operation will be done during the server's low utilization period. I'm using uniobjects for java on a linux (rhel es4.5) server connecting to unidata on a rs/6000 aix 5.3. If it looks like you're going to be pushing timeouts significantly then it might be best to approach this asynchronously. Send the selection to a phantom on the server, generate a list, then use the list to process items from the client. Don't just phantom off the selection. Have a program do the selection, then write a unique tickler item when the selection is done. Your UO code can read for this item for some period of time, provide entertainment for the user between pings (hourglass, progressbar, some other animation). You can control the timeout simply by stopping the server pings and asking the user what they want to do. I've done this for long running reports called from web clients. If it takes more than about 20 seconds, or if there is a flag manually set that indicates a given report will undoubtedly take more than 20 seconds, I don't make the user wait. I give them a page they can check to see if their report is complete. For very long reports you can send an email with a link when a report is complete, or your remote client interface can periodically check pending reports from menus or other places, so that you can inform the user on-screen when a previous request is ready. HTH TG@ removethisNebula-RnD.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects / Read Timeout
Thanks Brian. It's set to six minutes (3600). That's the default. Can you tell me what the Max value is? By the way I didn't get this message until after 6 CDT. I think the list is slow today. Thanks again. On Mon, 2007-03-12 at 19:53 +, Brian Leach wrote: You might want to take a look at the unirpcservices file on the server. This is a text file located in the unishared directory. The last entry on each line is a timeout value in 1/10th seconds. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell Sent: 12 March 2007 16:17 To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects / Read Timeout I am running a long select via UniQuery and I'm getting a timeout. Is there a parameter I can change to increase the timeout? This operation will be done during the server's low utilization period. I'm using uniobjects for java on a linux (rhel es4.5) server connecting to unidata on a rs/6000 aix 5.3. Thanks. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/