Weblogic 10.3.0 issues with remote object calls.
All:
I was wondering if anyone has experienced any issues with Weblogic 10.3.0 dropping initial remote object calls over AMF Secure Channel. Here are the issues we are experiencing.
1. FLEX applications fail consistently on the first remote object call made across the AMF Secure Channel. Resulting in the request not returning from the application server; which has had varying affects on the different applications including missing data, application freeze and general degrading of the user experience.
2. FLEX applications require a browser/application refresh once the application has been inactive for a certain period of time. In our experiences the behavior occurs after 30 minutes of inactivity.
I've deployed this same code to Weblogic 10.3.3 and the behaviors go away. Are there any patches to 10.3.0 that might take care of this issue that we are not aware of?
Thanks for you help,
Mike
Hello,
I found the problem. But I needed change the target of all my datasources until discover that one of my datasource didn´t answer and no errors was trigged.
My server was waiting this datasource, and not get started.
Similar Messages
-
Issue with remote procedure calls
Hello,
Within the stored procedure, I am calling a procedure remotely but the '@v_remote_db' variable does not resolve:
begin
for i in cur_database_list loop
v_remote_db := i.database_name;
p_trunc_remote_table@v_remote_db; <<<------does not resolve
end loop;
end;
Would work if obsolute value:
p_trunc_remote_table@dev_db <------"works because dev_db is an actually database name and not a variable."
The database link is correctly defined and works.
Question: How to go around using obsolute value? I need to use a variable because the variable v__remote_db resolves to about 50 databases. Thank you.use dynamic sql:
execute immediate
or
dbms_sql
Amiel -
Is there a public test server with remote objects?
Hi all,
I have to give a lecture about RMI and I have succesfully executed remote method invocations with client and server both on my local machine. Is there any machine outside with remote objects whose methods I can call? (Calling a real remote object would be more spectacular than calling a remote object residing on my local machine!)
Greetings,
AlfredI dont believe so, but there is no reason you cannot set up a small server on another machine on your network that you could connect to in your lecture.
-
PSP, router, and modem issues with Remote Play
Background:
Verizon DSL
Westell 6100 modem
WRK54G router
PS3
PSP
I haven't seen a post on this topic yet, so I'll explain the issue. The Playstation 3 is networkable either through a wired ethernet or wireless connection. The Playstation Portable is also networkable over wifi. The PSP has always worked at hot spots for web surfing and gaming. With the release of the PS3, there was a new feature called Remote Play, which let you connect your PSP to your PS3 and stream the PS3 interface. You can manipulate the options, watch videos and listen to music, just like you are at the controls of the PS3. The PS3 has to be put in "remote play" mode for this to work.
Last week, Sony released an update that made this functionality work over the internet. For most people this worked just fine. Others had to open ports here or there, but there is a group of users that cannot connect from a hot spot, but can connect over the internet at home. The original remote play connection (before the update) was a direct connection between the PS3 and PSP. Now you can connect through your router at home (scan for your router and connect that way). This connection works since the PS3 and PSP are both connected to the same router in your home. When you go to a hotspot, you can get all the way up to the point that the PS3 streamed screen should start, but it times out.
This is taken directly from the PS3 owner's manual:
"If the PS3 system is connected to the Internet via two or more routers, communication may not work correctly."
It seems like internet connection from a hot spot doesn't work because the request for the PS3 gets lost between two routers when it gets to my home network.
Finally to my question. It seems like my Westell 6100 is functioning as a router, as is my WRK54G. When i look at my modem's settings, it is set up as a bridge protocol in routed bridge mode. Everything else I try makes me lose my internet connection.
Anybody know what I'm talking about or have any suggestions?
ThanksA lot of PS3/PSP owners are having this issue with Remote Play. I have a WRT350N and have been through Sony forum as well as this one to know about all setups from port forwarding to giving your PS3 a static IP and placing in DMZ. I can say I had success connected via or public wi-fi but I also noticed how unstable Remote Play is. There will be times you can connect to it but if you turn your PS3 completely off (not standby) and back on you will pretty much need to setup your PSP again with the PS3 for Remote Play. The problem itself lies more with Sony and not our modem and routers except that fact that you do have to make some minor changes like disable UPnP, forward ports and etc. I own the Sony LocationFree Player which uses a similiar function like Remote Play but instead gives you control over your cable tv remotely anywhere on laptop or psp. LocationFree never failed me since day one because Sony created a DDNS for it which worked for me no matter who my carrier was or what router I have used over the years. Remote Play was introduced later for PS3 which pretty much like LocationFree but Sony doesn't provide a DDNS for it, instead we have to go through all the crazy configurations which is never stable. However you can register for a DDNS at DynDNS.org and configure your router with it which I have done before and found it to be very stable. No matter what Sony still needs to address the issue with the PS3 communication for Remote Play. You can find a lot of info here for setting up DDNS and as for Remote Play your better off going to the Playstation Forums. Good Luck!
-
Two remote objects calls on the same php class
Hi to all,
I've encountered a strange issue while developing with remote objects.
I've a mxml component with an init() method inside which is called by a menu.
When the init() method is called it makes 7 remote object calls which are bound to some components' dataprovider.
Among this calls I've got 2 remote object which refer to the same remote class. This because I have to call the class twice and the bind the result to two different combobox. Below you find the code:
<mx:RemoteObject id="myFile" source="myRemoteClass" destination="amfphp" showBusyCursor="true" makeObjectsBindable="true" fault="traceFault(event)"/>
<mx:RemoteObject id="myXls" source="myRemoteClass" destination="amfphp" showBusyCursor="true" makeObjectsBindable="true" fault="traceFault(event)"/>
in the init function I make this calls:
myFile.listDir("dir_1")
myXls.listDir("dir_2")
then in the mxml code I bound the result of myFile to combobox1 and the result of myXls on combobox2.
The problem arise when I call the myXls' listDir method. When I call it I receive the following error:
code:
Client.Error.DeliveryInDoubt
Message:
Channel disconnected
Detail:
Channel disconnected before an acknowledgement was received
The strange thing is that not only the myXls object returns this error, but also all the other 6 remote object return the same error above.
I'm not sure, but I guess that the error could be caused by the two remote object which call the same php remote class. If I comment one of the two calls everything works fine.
Do you have any suggestion about?
Thanks!!
Bye
LukeHi Jan.
1) We have the 2 VO, each with 3 rows to fill in data. What I mean is that when i just fill in all the fields for the first row of the first VO, and the value of one of these fields is bigger than 50, then after the exception is thrown and the message is displayed, the fields for the first VO are duplicated and shown in the second VO as if the user had inserted them.
2) We tried yesterday the validateEntity and a Method and Atributte Validator approaches after reading that white paper with the same results.
The validation is correctly done using any of the those methods.
I will try to reproduce this issue with the HR schema.
Thanks in advance once again. -
When submit remote object call getting error Client.Error.DeliveryInDoubt
Hello,
We are having very weird error DeliveryInDoubt from blazeds.
[ERROR] failed to call the remote service !!![FaultEvent fault=[RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received"] messageId="98F7B030-0FE0-0B88-300C-EC422D055E21" type="fault" bubbles=false cancelable=true eventPhase=2
Error does not happen every time, but rather from time to time but happens on all client machines.
Environment:
blazeds v3.
Flex application with Remote Object.
Browser IE7.
Object that passed to blazeds is complex and might have 100 items.But number of items does not seem affect error occurences.
Short description for the object passed to blazeds remote object call for processing:
Remote Object call takes an argument ArrayCollection of SyncRequest objects (_requestSyncList)
var syncRequest:SyncRequest = new SyncRequest();
var syncObject:Object = new Object();
syncObject[requestBuilder.direction] = requestBuilder.jobMap;
syncRequest.syncJobs = syncObject;
_requestSyncList.addItem(syncRequest);
requestBuilder.jobMap is an object that have different artifacts.
jobMap[obj.artifact] = myColl;
myColl is ArrayCollection of artifact of SyncJob
Here is the definition of SyncJob
public class SyncJob
public var jobName:String;
[ArrayElementType("com.farmers.docprocessing.remotesync.vo.JobParameter")]
public var jobParams:ArrayCollection;
Not sure what causing that issue and how to debug it.
Please advice.
Thank youNot without you psoting some code.
Possible problem: Difference between object type being returned, vs the type of the reference (i.e., the method that returns an object should have a return type of the interface name). -
EventListeners for multiple remote object calls
Hi all,
I have a Flex component that is displaying content from multiple (specifically two) remote object calls. I can call both remote methods, get the results back, pass them off to their respective ItemRenderers, etc. with no trouble. What I need, though, is a way to determine if I get no results back from either function call, to dispatch an event to trigger the next view state, and I don't know how to do that. Something like:
protected function ticketConfigurationStateChangeHandler(event:Event):void
if(getPackagePromptsResult.lastResult.length == 0 && getTicketPromptsResult.lastResult.length == 0)
this.dispatchEvent(new Event("ticketConfigurationStateChange"));
protected function ticketPrompts_creationCompleteHandler(event:FlexEvent):void
getTicketPromptsResult.token = registrationAPI.getTicketPrompts();
getTicketPromptsResult.addEventListener(ResultEvent.RESULT, showTicketConfiguration);
protected function packagePrompts_creationCompleteHandler(event:FlexEvent):void
getPackagePromptsResult.token = registrationAPI.getPackageCPrompts();
getPackagePromptsResult.addEventListener(ResultEvent.RESULT, showPackageConfiguration);
Any suggestions would be greatly appreciated...I know I need the event listeners to be able to get lastResult.length (and have it not be null) but I don't know how to set them up so I can automatically pass the user through the component and onto the next one if there are no results returned without having the user click a button or something similar on an otherwise blank component.
Thanks in advance!
~ AmandaHi all,
I have a Flex component that is displaying content from multiple (specifically two) remote object calls. I can call both remote methods, get the results back, pass them off to their respective ItemRenderers, etc. with no trouble. What I need, though, is a way to determine if I get no results back from either function call, to dispatch an event to trigger the next view state, and I don't know how to do that. Something like:
protected function ticketConfigurationStateChangeHandler(event:Event):void
if(getPackagePromptsResult.lastResult.length == 0 && getTicketPromptsResult.lastResult.length == 0)
this.dispatchEvent(new Event("ticketConfigurationStateChange"));
protected function ticketPrompts_creationCompleteHandler(event:FlexEvent):void
getTicketPromptsResult.token = registrationAPI.getTicketPrompts();
getTicketPromptsResult.addEventListener(ResultEvent.RESULT, showTicketConfiguration);
protected function packagePrompts_creationCompleteHandler(event:FlexEvent):void
getPackagePromptsResult.token = registrationAPI.getPackageCPrompts();
getPackagePromptsResult.addEventListener(ResultEvent.RESULT, showPackageConfiguration);
Any suggestions would be greatly appreciated...I know I need the event listeners to be able to get lastResult.length (and have it not be null) but I don't know how to set them up so I can automatically pass the user through the component and onto the next one if there are no results returned without having the user click a button or something similar on an otherwise blank component.
Thanks in advance!
~ Amanda -
Simultaneous remote object calls in one http request?
I am noticing when I have two remote object calls happen at the same time they are being bundled into one http request. This is causing problems in my application becuase the result is not coming back until both have finished.
So basically I have to calls that happen at the sametime. One does not take anytime and the other is a long running task. I will not get the result for the first until the long running task completes.
Has anyone else seen this?
Any help would be appreciated."suspend the main thread, pending a remote call.." No. Can't
be done.
..."pass arguments into the resultHandler..." Yes, this is
done using the AsyncToken. (ACT pattern)
The send() methods returns an AsyncToken object. You can use
this dynamic object to add almost anything you want to the token,
including strings, and functions (google the term "closure").
As I am still not comfortable with anonymous functions, I
like to pass strings. I pass an identifier, which I can use in a
switch statement to determine the next step. Sometimes I pass a
"nextStep" string to define finer grain conditionality.
I use a single dataService object and result handler function
for all calls.
Tracy -
Performance issue with Business Objects Java JRC API in CRXI R2 version
A report is developed using java JRC API in CR XI release 2. When I generate the report in the designer, it took less than 5 seconds to display the results in crystal report viewer inside the designer. But in the QA environment, when I generate the same report from the application, it takes almost 1 to 1.5 minutes to display the same results in PDF. I also noticed that if the dataset contains bigger volume of data, then the reports are taking even longer almost 15 to 20 minutes.
While generating the report from the application, I noticed that most of time is taken during the execution of the com.crystaldecisions.report.web.viewer.ReportExportControl Object method as shown in following line of code
exportControl.processHttpRequest(request, response, context, null)
We thought the delay in exporting the report to PDF might be the layout of the report and data conversion to PDF for such a bigger volume of data.
Then we investigated the issue and experimented quickly to generate the same report with same result set data from the application using XML, XSL and converted the output XSL-FO to PDF using Apache FOP (Formatting Objects Processor) implementation. The time taken to export the report to PDF is less than 6 seconds. By doing this experiment, it is proved that the issue is not with conversion of data to PDF but it is the performance problem with Business Objects Java JRC API in CR XI R2.
In this regard, I searched for the above issue in the SAP community Network Forums -> Crystal Reports and Xcelsius -> Java Development -> Crystal Reports. But I did not find any answers or solutions for this kind of issue in the forums.
Any suggestion, hint in this matter is very much appreciated.Ted, The setReportAppServer problem is resolved. Now I could able to generate the report with hardcoded values in the SQLs in just 6 seconds where as the same report was generated in CRXI R2 in 1 minute 15 seconds as mentioned in the earlier message.
But, our exisiting application passes the parameter values to the SQLs embedded in the report. For some reason the parameters are not being passed to the report and the report displays only the labels without data.
As per the crj 12 samples codes, the code is written as shown below.
1. Created ReportClient Document
2. SetReportAppServer
3. Open the report
4. Getting DatabaseController and switching the database connection at runtime
5. Then setting the parameters as detailed below
ParameteFields parameterFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
parameterFieldController.setCurrentValue("", "paramname",paramvalue);
parameterFieldController.setCurrentValue("", "paramname",paramavalue);
byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
6. Streaming the report to the browser
Why the parematers are not being passed to the report? Do I need to follow the order of setting these parameters? Did I miss any line of code for setting Params using crj 12?
Any help in this regard would be greatly appreciated. -
Hello
we have an issue with printing from redirected printer
on the local machine Windows 8.1 i have a printer installed and when i try to print from a remote pc to my installed printer on my local pc the paper type is replaced.
on the local printer it was set to letter but on the remote the redirected printer is set to legal.
i try to switch it to letter but it was not kept it switch back to legal.
any adviced will be good ?
ThanksHi,
What's the operating system of remote PC we log onto? Here, I am not sure that this can help but we can give a try by disabling the following policy setting:
Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Printer Redirection\Use Remote Desktop Easy Print printer driver first
Regarding this point, the following KB article can be referred to for more information.
The client printer may print the documents by using an incorrect paper size if the "Use Remote Desktop Easy Print printer driver first" policy is enabled
https://support.microsoft.com/en-us/kb/980056
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Flex and CFC with Remote Object
I wrote a simple cold fusion componenet on my webserver at:
http://www.paramountmediainc.com/webservices/eadexchange/agent_sys.cfc
Now I want to play with that in Flex with a Remote Object.
I'm writing the flex on my local machine. I tried this approach but
was uncessfull:
<mx:RemoteObject id="acctRO" showBusyCursor="true"
source="webservices.eadexchange.agent_sys"
endpoint="
http://www.paramountmediainc.com/flashservices/gateway">
I get the following error ...
TypeError: Error #1034: Type Coercion failed: cannot convert
Object@3b15da1 to mx.messaging.messages.ErrorMessage.
Any ideas what I'm doing wrong here?You cant really replace Struts with Flex, maybe a view part
, thats about is, you still need backend processioning
logic,all that you are asking is difficult to answer is one reply,
IMHO, best thing you can do is to dive into following URLs :
http://www.adobe.com/devnet/flex/
http://livedocs.adobe.com/flex/3/html/help.html?content=Part2_DevApps_1.html
http://livedocs.adobe.com/blazeds/1/blazeds_devguide/
http://livedocs.adobe.com/flex/3/html/help.html?content=Part6_ProgAS_1.html
and of course your best friend :
http://livedocs.adobe.com/flex/3/langref/index.html -
AbstractMethodError while connecting with Remote Object
Hi,
I've an issue when my client calls the remote method.
When my client calls the remote method (through interface)
which returns me a class object i get an AbstractMethodError.
My Interface method is something similar to this
public GTTerminalMaster getRefreshedDetails() throws RemoteException;
My client calls the method as follows
GTTerminalMaster = (GTTerminalMaster ) getRefreshedDetails();
When my client Executes, i get the following Error
java.lang.AbstractMethodError: com.eaglelot.gametransis.GTSendAndReceiveImpl_Stu
b.updateTerminalDetails(Ljava/lang/String;Ljava/lang/String;)Lcom/eaglelot/globa
l/GTTerminalMaster;
at com.eaglelot.gamehawker.login.RefreshTerminal$1.run(RefreshTerminal.j
ava:38)
Thanks for your reply in advanceYour remote interface, stub, and implementation classes are out of sync.
Delete all .class files, recompile, and redeploy. -
Issues with Remote Users, VPN Connections, etc.
Hi there,
A few weeks ago I was asked to enable EWS and Outlook Anywhere which had not been previously enabled. I did so, but this seemed to cause issues (they may not have been implemented correctly) for users in remote offices; they would be prompted
for credentials to log into Outlook 2010, but no issues with OWA. I disabled Outlook Anywhere as it turned out we didn't need it, and this has caused VPN users to now not be able to open Outlook.
At this point I'm not sure what the issue is. I've tried implementing a few fixes from Googling around but haven't been able to determine the root cause and actually caused more issues this morning, where many local users were being prompted for credentials,
which was alleviated by creating new mail profiles for them.
We're using Exchange 2010 and Outlook 2010, with OWA being served by Forefront TMG.
I've seen in some other cases where results of the following queries were asked for, so here they are:
Get-OutlookProvider | fl
RunspaceId : a71467aa-c7ca-4a71-a349-41c860cb6db9
CertPrincipalName :
Server :
TTL : 1
OutlookProviderFlags : None
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : EXCH
DistinguishedName : CN=EXCH,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=Business Name,CN=Microsoft Exchan
ge,CN=Services,CN=Configuration,DC=domain,DC=com
Identity : EXCH
Guid : 0e397d7f-fecc-451f-8774-3b4225cce8c9
ObjectCategory : sunrype.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass : {top, msExchAutoDiscoverConfig}
WhenChanged : 10/10/2013 2:56:34 PM
WhenCreated : 9/28/2011 2:42:58 PM
WhenChangedUTC : 10/10/2013 9:56:34 PM
WhenCreatedUTC : 9/28/2011 9:42:58 PM
OrganizationId :
OriginatingServer : server.domain.com
IsValid : True
RunspaceId : a71467aa-c7ca-4a71-a349-41c860cb6db9
CertPrincipalName : msstd:*.domain.com
Server :
TTL : 1
OutlookProviderFlags : None
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : EXPR
DistinguishedName : CN=EXPR,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=Business Name,CN=Microsoft Exchan
ge,CN=Services,CN=Configuration,DC=domain,DC=com
Identity : EXPR
Guid : 3bed6181-e70e-4c93-ac2d-bc57605cbeae
ObjectCategory : domain.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass : {top, msExchAutoDiscoverConfig}
WhenChanged : 8/20/2014 9:32:10 PM
WhenCreated : 8/20/2014 3:21:11 PM
WhenChangedUTC : 8/21/2014 4:32:10 AM
WhenCreatedUTC : 8/20/2014 10:21:11 PM
OrganizationId :
OriginatingServer : server.domain.com
IsValid : True
RunspaceId : a71467aa-c7ca-4a71-a349-41c860cb6db9
CertPrincipalName :
Server :
TTL : 1
OutlookProviderFlags : None
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : WEB
DistinguishedName : CN=WEB,CN=Outlook,CN=AutoDiscover,CN=Client Access,CN=Business Name,CN=Microsoft Exchang
e,CN=Services,CN=Configuration,DC=domain,DC=com
Identity : WEB
Guid : 659f40b8-815e-43ac-95ed-49bed9766ebc
ObjectCategory : domain.com/Configuration/Schema/ms-Exch-Auto-Discover-Config
ObjectClass : {top, msExchAutoDiscoverConfig}
WhenChanged : 10/10/2013 2:56:34 PM
WhenCreated : 9/28/2011 2:42:58 PM
WhenChangedUTC : 10/10/2013 9:56:34 PM
WhenCreatedUTC : 9/28/2011 9:42:58 PM
OrganizationId :
OriginatingServer : server.domain.com
IsValid : True
Get-OutlookAnywhere | fl
No output.
I've also run the Microsoft Connectivity Analyzer locally, which appears to fixate on Outlook Anywhere connectivity and fails because OA isn't enabled. Specifically it reports that "The EXPR Provider section is missing in the Autodiscover response.
RPC over HTTP may not be enabled."Hi Steve,
According to the description, my understanding as below:
1. To make users use Outlook externally, you want to enable Outlook Anywhere. However cannot connect to Exchange server via Outlook, it prompts password again and again.
2. Because Outlook Anywhere doesn't work, so you disable it and enable VPN. But it doesn't work neither.
Please correct me if there is any misunderstanding.
Based on the result of running Microsoft Connectivity Analyzer, it means that the Outlook Anywhere is disabled. However it isn't an error.
I suggest enable Outlook Anywhere on Exchange server 2010 and configure Outlook Anywhere on Outlook.
Find an article related Configuration on Outlook for your reference:
Configure Outlook Anywhere in Outlook 2013
http://technet.microsoft.com/en-us/library/cc179036(v=office.15).aspx
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Issue with ALV sceen called using BDC in new task and in background mode
Hi Gurus,
Need your expert advice. I am trying to call one transaction (IS AUTO - VELO) which has ALVs on screen. VELO is being called through BDC in NEW TASK in background. So, the new session is a Dialog session and SY-BATCH is initial here.
In two different scenarios, I am getting error at two different places:
a) As I can't call ALV directly, I am using docking container. This is giving issue during 'CREATE OBJECT' -> CONSTRUCTOR for cl_gui_alv_grid -> if offline( ) is initial. (AS SY-BATCH is initial) -> call method me->set_registered_events_internal exporting events = lt_events. -> call method get_registered_events importing events = lt_events. -> IF H_CONTROL IS INITIAL. RAISE CNTL_ERROR. ENDIF.
b) Call to OLE_FLUSH_CALL is happening, which is resulting into dump.
I tried to search SDN and google, but couldn't find the solution. Thanks for your help :).
Regards,
AlokI'm not sure what is eating up your system resources, but .wmv files
are considered to be a delivery format, and are not ideal for editing.
I have never tried to edit screen capture video from any source, but you might consider
upgrading to Expression Encoder 4 Pro (with codecs)... at least it includes H.264.
Expression Encoder 4 Pro -
Daisy-chaining remote object calls
If you want to get data from a series of CFCs using remote
object, and each call depends on data received from the previous
call, you have to daisy-chain the functions making the calls,
otherwise there is no way to guarantee that the data is available
in time (in practice it is never available in time) because the
main thread races on regardless.
Now if you want to refresh parts of the data, or you want to
get a different set of data from one or more of the same CFCs, you
either can use the same functions and set up a different set of
daisy-chains with multiple boolean tests to see which chain of
links should be being followed ( and this ends up something akin to
a four-dimensional Hampton Court maze), or you have to duplicate
the remote calls over and over again in different sets of functions
and resultHandlers. Either way you end up with a horrible mess.
Is there any way to write a class that can suspend the main
thread, pending a remote call listener sending a resume main thread
event.
The other way that would work (though this would not be as
good) is to change addEventListener, so that you can pass arguments
into the resultHandler.
Does anyone have any ideas that could lead to a solution to
this problem? It's giving me gray hair.
Doug"suspend the main thread, pending a remote call.." No. Can't
be done.
..."pass arguments into the resultHandler..." Yes, this is
done using the AsyncToken. (ACT pattern)
The send() methods returns an AsyncToken object. You can use
this dynamic object to add almost anything you want to the token,
including strings, and functions (google the term "closure").
As I am still not comfortable with anonymous functions, I
like to pass strings. I pass an identifier, which I can use in a
switch statement to determine the next step. Sometimes I pass a
"nextStep" string to define finer grain conditionality.
I use a single dataService object and result handler function
for all calls.
Tracy
Maybe you are looking for
-
Issue Password-less SSH: Sun OpenDS 2.0 as Naming Service
We are in the final phase of a proof of concept for Sun OpenDS as the Naming service for an important customer and facing problem with password-less ssh. We narrowed the problem down to password policy specifying a value for password maximum age. SSH
-
Questions on mobile device management
Hi All, I'm not sure where to post this question since I couldn't find a forum specific to Afaria, so thought someone here might be able to help. 1. Afaria mobile device management solution claims that data and content is backed up and can be deleted
-
PROBLEM TRANSFERRING VIDEO TO iPod TOUCH
I have converted a .avi video to .mp4 format and it works fine on iTunes. However, it will not function properly on the iPod Touch. How can I fix this? CAN I fix this??
-
SRM 5.0 Switching over from EC to Classic scenario
Hello Folks, We are working in SRM 5.0 Extended classic scenario and the current need is to swipe from EC to the Classic scenario. I thought it would be a click (uncheck Activation of the EC) and go. But to my surprise, system repeatedly is failing t
-
Rrdtool-1.4.3-1-i686: "This RRD was created on another architecture"
On an i686 system, rrdtool-1.4.3-1 is unable to read/modify rrd files (created by either earlier versions or itself); it yields "ERROR: This RRD was created on another architecture". Edit: I thought I had a workaround but I don't, so I've opened a ti