[flexcoders] Flex 1.5 - RemoteObject request timeout

2008-01-10 Thread Robert Brueckmann
We still support a Flex 1.5 app I wrote 3 years ago that our clients use
to run reports with.  I'm in the midst of upgrading the entire app to
Flex 2+, but of course the db people keep adding reports and one
recently added report is for the admin-side only and is a crude report
that can sometimes take over 5 minutes to return from the database with
data.

 

We have a setup as follows: Apache + Weblogic + firewall + Oracle
database.  Here's the weird thing...if only one person runs the report
at any given time...it may take about 4.5 minutes, I see the call made
to the database, I watch the log and see after 4+ minutes, the call to
the stored procedure return to the application server and the original
method return to the front-end and Flex correctly displays the report.
If I open two browsers or have a coworker hit the report within a few
seconds of my initial request and these two requests are made, a.) the
call to the database takes a minute or so longer (I know the db people
need to optimize this, but this is what I'm dealing with up front) and
b.) I see it come back and the data returned to the front-end but the
Flex app on either my or my coworker's machine or either browser
(dependent on how I'm testing) does not get the returned response.  The
clock busy cursor just continues to spin.

 

I've searched the archives and it seems a few people have posted similar
problems but nobody has posted what their absolute resolution was.
Anyone know anything about this?  I literally see the data returned to
the Flex application in the app server log but my Cairngorm command
class result/fault handlers never capture anything and the busy cursor
just keeps spinning.  Anyone know anything about this or should I make
use of my Flex support contract?  Could this be a timeout between the
apache and weblogic layer?  I checked with the systems guys and they
claim that the request timeout feature of apache isn't being used but I
don't know if there is a default setting that apache uses...I guess I'll
check that out...but any feedback would be GREATLY appreciated.

 

Thanks so much for anything!

 

rlb

Merlin Securities - #1 Prime Broker North America and #1 Prime Broker Single 
Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007



 



This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.




RE: [flexcoders] Flex 1.5 - RemoteObject request timeout

2008-01-10 Thread Robert Brueckmann
Well, just for anyone interested, I did a little more digging and there
is an Apache-Weblogic connector that is used and there are settings for
this connector:

 

http://edocs.bea.com/wls/docs81/plugins/plugin_params.html

 

The one of interest for those with similar setups is 'WLIOTimeoutSecs'.
The default is 5 minutes, any request that takes longer is considered
timed out and I guess a 503 (?) status is sent to Flex but Flex isn't
catching this and just acts like it's still waiting for a response.  I
changed this setting to 10 minutes and the process that was previously
finishing past 5 minutes still takes the same amount of time but Flex
app regains control now because the request hadn't timed out.  

 

robert l. brueckmann

vice president

merlin securities

712 fifth avenue

new york, ny 10019

p: 212.822.4821
f: 212.822.4820



Merlin Securities - #1 Prime Broker North America and #1 Prime Broker Single 
Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Thursday, January 10, 2008 10:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 - RemoteObject request timeout

 

We still support a Flex 1.5 app I wrote 3 years ago that our clients use
to run reports with.  I'm in the midst of upgrading the entire app to
Flex 2+, but of course the db people keep adding reports and one
recently added report is for the admin-side only and is a crude report
that can sometimes take over 5 minutes to return from the database with
data.

 

We have a setup as follows: Apache + Weblogic + firewall + Oracle
database.  Here's the weird thing...if only one person runs the report
at any given time...it may take about 4.5 minutes, I see the call made
to the database, I watch the log and see after 4+ minutes, the call to
the stored procedure return to the application server and the original
method return to the front-end and Flex correctly displays the report.
If I open two browsers or have a coworker hit the report within a few
seconds of my initial request and these two requests are made, a.) the
call to the database takes a minute or so longer (I know the db people
need to optimize this, but this is what I'm dealing with up front) and
b.) I see it come back and the data returned to the front-end but the
Flex app on either my or my coworker's machine or either browser
(dependent on how I'm testing) does not get the returned response.  The
clock busy cursor just continues to spin.

 

I've searched the archives and it seems a few people have posted similar
problems but nobody has posted what their absolute resolution was.
Anyone know anything about this?  I literally see the data returned to
the Flex application in the app server log but my Cairngorm command
class result/fault handlers never capture anything and the busy cursor
just keeps spinning.  Anyone know anything about this or should I make
use of my Flex support contract?  Could this be a timeout between the
apache and weblogic layer?  I checked with the systems guys and they
claim that the request timeout feature of apache isn't being used but I
don't know if there is a default setting that apache uses...I guess I'll
check that out...but any feedback would be GREATLY appreciated.

 

Thanks so much for anything!

 

rlb



Merlin Securities - #1 Prime Broker North America and #1 Prime Broker
Single Strategy Funds - Global Custodian 2007
#1 Prime Broker for Hedge Funds under $1 Billion - Alpha Survey 2007



 



This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.

  

Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.


 



This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer