Cachestore for distributed scheme not getting invoked to "load" the entries

Hi,
We have a distributed scheme with CacheStore as below,
SERVER PART
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>          
     <cache-mapping>
               <cache-name>ReferenceData-Cache</cache-name>
               <scheme-name>RefData_Distributed_Scheme</scheme-name>
     </cache-mapping>
     <!--
     FEW OTHER DISTRIBUTED CACHE
     -- >
</caching-scheme-mapping>
<caching-schemes>
<!-- definition of other cache schemes including one proxy scheme -->
<distributed-scheme>
     <scheme-name>RefData_Distributed_Scheme</scheme-name>
     <service-name>RefData_Distributed_Service</service-name>     
     <serializer>
     <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>                    
     <init-params>
          <init-param>
               <param-type>string</param-type>
               <param-value>TradeEngine-POF.xml</param-value>
          </init-param>
     </init-params>     
     </serializer>                         
     <backing-map-scheme>
     <read-write-backing-map-scheme>
     <internal-cache-scheme>
     <local-scheme>
     <expiry-delay>1m</expiry-delay>
     </local-scheme>
     </internal-cache-scheme>
     <cachestore-scheme>
     <class-scheme>
     <class-name>com.csfb.fid.gtb.referencedatacache.cachestore.RefDataCacheStore</class-name>     
     <init-params>
                    <init-param>
                         <param-type>string</param-type>
                         <param-value>{cache-name}</param-value>
                    </init-param>
                    </init-params>                    
     </class-scheme>
     </cachestore-scheme>
     <read-only>true</read-only>
     <refresh-ahead-factor>.5</refresh-ahead-factor>
     </read-write-backing-map-scheme>
     </backing-map-scheme>
     <backup-count>1</backup-count>
     <autostart system-property="tangosol.coherence.distributed-service.enabled">false</autostart>           
</distributed-scheme>
</caching-schemes>
</cache-config>
The above configuration is used on tcp extend proxy node with localstorage=false
There is similar configuration on storage node,
- with no proxy,
- with same "ReferenceData-Cache" (autostart=true)
- and localstorage=true.
Following is my CacheStore implementation.
NOTE: This Cachestore is only for loading the cache entry from cache store.i.e. from some excel file in my case, i.e. only load() and loadAll() methods.
NO store() or storeAll().
package com.csfb.fid.gtb.referencedatacache.cachestore;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.creditsuisse.fid.gtb.common.FileLogger;
import com.csfb.fid.gtb.referencedatacache.Currency;
import com.csfb.fid.gtb.utils.refdada.DBDetails;
import com.csfb.fid.gtb.utils.refdada.ReferenceDataReaderUtility;
import com.tangosol.net.NamedCache;
import com.tangosol.net.cache.CacheStore;
public class RefDataCacheStore implements CacheStore
     private DBDetails dbDetails = null;
     private ReferenceDataReaderUtility utils = null;
public RefDataCacheStore(String cacheName)
     System.out.println("RefDataCacheStore constructor..");
     //dbDetails = DBDetails.getInstance();
     utils = new ReferenceDataReaderUtility();
public Object load(Object key)
     return utils.readCurrency(key);
public void store(Object oKey, Object oValue)
public void erase(Object oKey)
     public void eraseAll(Collection colKeys)
     public Map loadAll(Collection colKeys)
          System.out.println("RefDataCacheStore loadAll..");
          Map<String, Object> obejctMap = new HashMap<String, Object>();
          List<Object> list = utils.readAllCurrencies();
          Iterator<Object> listItr = list.iterator(colKeys);
          while(listItr.hasNext()){
               Object obj = listItr.next();
               if(obj != null){
                    String key = "CU-"+((Currency)obj).getId();
                    obejctMap.put(key, (Currency)obj);
          return obejctMap;
     public void storeAll(Map mapEntries)
CLIENT PART
I connect to this cache using extend client with follwing config file,
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
     <caching-scheme-mapping>
          <cache-mapping>
                    <cache-name>ReferenceData-Cache</cache-name>
                    <scheme-name>coherence-remote-scheme</scheme-name>
          </cache-mapping>     
     </caching-scheme-mapping>
     <caching-schemes>
          <remote-cache-scheme>
               <scheme-name>coherence-remote-scheme</scheme-name>
               <initiator-config>
                    <serializer>
                         <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>                         
                         <init-params>
                              <init-param>
                                   <param-type>string</param-type>
                                   <param-value>TradeEngine-POF.xml</param-value>
                              </init-param>
                         </init-params>                         
                    </serializer>
                    <tcp-initiator>
                         <remote-addresses>                              
                              <socket-address>
                                   <address>169.39.30.182</address>
                                   <port>9001</port>
                              </socket-address>
                         </remote-addresses>
                    <connect-timeout>10s</connect-timeout>
                    </tcp-initiator>
                    <outgoing-message-handler>
                         <request-timeout>3000s</request-timeout>
                    </outgoing-message-handler>                                   
               </initiator-config>
          </remote-cache-scheme>
     </caching-schemes>
</cache-config>
PROBLEM
From my test case (with extend client file as configuration), when i try to connect to get cache handle of this cache, as
refDataCache = CacheFactory.getCache("ReferenceData-Cache");
I get following error on server side,
2010-05-12 18:28:25.229/1687.847 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache, member=2): BackingMapManager com.tangosol.net.DefaultConfigurableCacheFactory$Manager: failed to instantiate a cache: ReferenceData-Cache
2010-05-12 18:28:25.229/1687.847 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache, member=2):
java.lang.IllegalArgumentException: No scheme for cache: "ReferenceData-Cache"
     at com.tangosol.net.DefaultConfigurableCacheFactory.findSchemeMapping(DefaultConfigurableCacheFactory.java:507)
     at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:3486)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.instantiateResourceMap(DistributedCache.CDB:22)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.setCacheName(DistributedCache.CDB:27)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConfigListener.entryInserted(DistributedCache.CDB:15)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
     at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
     at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:556)
     at com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.java:229)
     at com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.java:270)
     at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
     at com.tangosol.coherence.component.util.collections.WrapperMap.put(WrapperMap.CDB:1)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ServiceConfigMap.put(Grid.CDB:31)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$StorageIdRequest.onReceived(DistributedCache.CDB:45)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
     at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
     at java.lang.Thread.run(Thread.java:619)
However, with this error also i am able to do normal put operation and get operation against those put.
But when i try to get the cache entry which doesnt exists in cache, like
refDataCache.get("CU-1");
I expected that call would go to RefDataCacheStore.load method. But in my case i dont see it happening.
Also i debugged my jvms in debug mode and i put a class load breakpoint for RefDataCacheStore, but even that is not hit. I have RefDataCacheStore in my server classpath.
Hope to see reply on this soon.
Thanks
Manish

Hi Manish,
<<previous advice deleted>>
user13113666 wrote:
Hi,
I have my server picking up the correct configuration files for "ReferenceData-Cache". In my local jconsole i could see that the service named "RefData_Distributed_Service" is started under service mbean. Also i am able to perform a put and get on "ReferenceData-Cache", i could even see StorageManager mbean showing my inserted entries for "RefData_Distributed_Service".With the local jconsole, are you monitoring the server/proxy node, or the TCP*Extend cleint node?
The client can have the service with the server still not having it.
Could you please post the startup log for the storage node on the server...
Best regards,
Robert
Edited by: robvarga on May 17, 2010 12:33 PM

Similar Messages

  • Javascript method for clientListener not getting invoked

    Hi, I am trying to use a clientListener to call a javascript method when an image that's linked gets clicked on, but the javascript method is not getting invoked. I'm using Jdev 11g. E.g.
    <af:resource type="javascript">
    function sayhello(event) {
      event.cancel();
      alert("hello");
    </af:resource>
    <af:goLink id="gl1"> 
      <af:clientListener type="click" method="sayhello"/>
      <af:image id="i1" source="/image/test.gif"/>
    </af:goLink>The sayhello javascript method does not get invoked when clicking the linked image. What I found though is that if I change the <af:goLink> to the following, then the javascript method gets invoked:
    <af:goLink id="gl1" text="click me"> 
      <af:clientListener type="click" method="sayhello"/>
    </af:goLink>I want to have a linked image though instead of linked text. Any suggestions to make this work? In Jdev 10g, the following worked fine for me:
    <af:goLink onclick="sayhello">
      <af:objectImage source="/image/test.gif">
    </af:goLink>I did try using <af:goImageLink> (with <af:clientListener>) and specify the image using the icon attribute. This worked fine in terms of being able to call the javascript method. However, the problem with using this is that it somehow shifts the image down and this doesn't look good in my UI because I basically have a row of <af:goLink> components that use images and using this <af:goImageLink> shows the image mis-aligned compared to the rest of the linked images.

    HI All,
    Iin my case, clientLinstene is not working if i use more than one goLink , any body can you help me.
    <af:goLink text="Forgot Password?" id="gl1">
                                                        <af:clientListener type="click" method="showPopupFromAction"/>
                                                    </af:goLink>
                                                </af:panelFormLayout>
                                            </af:panelGroupLayout>
                                            <af:panelGroupLayout id="pgl4">
                                                <af:spacer width="150" id="s3"/>
                                                <af:outputText value="Choose Language:     " id="ot2"/>
                                                <af:goLink text="Arabic" id="cl1">
                                          <af:clientListener type="click" method="testMethod"/>
                                                </af:goLink>
    one popup will call popup and anther will in call bean method that's my requirement. script is
    <af:resource type="javascript">
                                                       * Shows a popup from an "action" type event.
                                                       * @param {AdfActionEvent} actionEvent the event being handled
                                                      function showPopupFromAction(actionEvent) {
                                                          actionEvent.cancel();
                                                          var eventSource = actionEvent.getSource();
                                                          var popup = eventSource.findComponent("popupForgetPassword");
                                                          popup.show( {
                                                              align : AdfRichPopup.ALIGN_OVERLAP, alignId : eventSource.getClientId()
                                                    </af:resource>
    <af:resource type="javascript">
       function testMethod(actionEvent) {
    // my stuff here.... I will call server listener method.
    </af:resource>
    thanks
    Palanivel

  • Shell Script not getting invoked in File adapter

    Hi all,
    Requirement:
    PI need to pick the file from source directory and send it to target directory using SFTP.
    I'm using SCP command for this purpose.
    When I run the shell script (with simple SCP command) from command prompt, script is working fine.
    Same script is called from PI File adapter but script is not getting invoked.
    In the communication channel logs, "Executed OS command" is available. There are no Error/Warning messages in the log.
    NFS transport protocol is used in the File communication channel.
    Complete directory path of the shell script is mentioned in File channel -> Run Operating System command after message processing.
    Even the following simple command is not working from PI receiver file channel:
    echo "Test file" >> /data/test.txt
    Please let me know if I'm missing out something.
    Thanks,
    Geetha

    Hi Geetha,
    I think the syntax u are using is not correct. Please follow the below syntax:
    /path/<script_name> %F
    for ex: /staging/Interface/XI/Script/FTPData %F
    use the above in the communication channel.
    %F should be after a space.
    FTPData is the script name
    /staging/Interface/XI/Script/ is the location where the script is present
    Cheers,
    Souvik
    Edited by: Souvik Chatterjee on Apr 14, 2011 3:38 PM

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • Concurrent timers are not getting invoked for same timer inf

    Do weblogic has some parameter in weblogic deployment descriptor like numAlarmThreads="5" minThreads="1" maxThreads="10" etc
    becoz I am facing one problem relating to timer service in EJB
    Problem Scope: Concurrent timers are not getting invoked for same timer info (Serializable object containing the details of timer).
    Details : I am implementing EJB timer 2.1 and when ejbTimeOut execution of one timer exceeds the interval time, next timeout doesn’t happens till the execution of first ejbTimeOut completes . Ideally the timers should behave in the manner that on every interval the ejbTimeOut should occur no matter the previous timeout is completed or not
    for example : consider there is timer T whose timeout occurs every minute, and on every timeout it calls process P, so on every minute ideally container should give call to process P irrespective of the previous status of P (call is complete or not). In our case next call to process P is not happening after timeout also since it is waiting for previous call to P to get completed

    You should also cross-post this in the WebLogic EJB forum:
    WebLogic Server - EJB

  • Concurrent timers are not getting invoked for same timer info (Serializable

    Problem Scope: Concurrent timers are not getting invoked for same timer info (Serializable object containing the details of timer).
    Details : I am implementing EJB timer 2.1 and when ejbTimeOut execution of one timer exceeds the interval time, next timeout doesn’t happens till the execution of first ejbTimeOut completes . Ideally the timers should behave in the manner that on every interval the ejbTimeOut should occur no matter the previous timeout is completed or not
    for example : consider there is timer T whose timeout occurs every minute, and on every timeout it calls process P, so on every minute ideally container should give call to process P irrespective of the previous status of P (call is complete or not). In our case next call to process P is not happening after timeout also since it is waiting for previous call to P to get completed

    You should also cross-post this in the WebLogic EJB forum:
    WebLogic Server - EJB

  • Concurrent timers are not getting invoked for same timer info

    Problem Scope: Concurrent timers are not getting invoked for same timer info (Serializable object containing the details of timer).
    Details : I am implementing EJB timer 2.1 and when ejbTimeOut execution of one timer exceeds the interval time, next timeout doesn’t happens till the execution of first ejbTimeOut completes . Ideally the timers should behave in the manner that on every interval the ejbTimeOut should occur no matter the previous timeout is completed or not
    for example : consider there is timer T whose timeout occurs every minute, and on every timeout it calls process P, so on every minute ideally container should give call to process P irrespective of the previous status of P (call is complete or not). In our case next call to process P is not happening after timeout also since it is waiting for previous call to P to get completed

    You should also cross-post this in the WebLogic EJB forum:
    WebLogic Server - EJB

  • Using custom backing map for distributed scheme

    Hallo,
    We are evaluating usage of distributed scheme for storing large amount of data. We have analyzed memory usage for distributed-scheme backed by local-scheme (with binary unit calculator) and received interesting results.
    On single JVM
    110M - byte arrays - our data in binary form
    20M - com.tangosol.util.Binary objects - overhead of binary objects to wrap byte arrays
    27M - com.tangosol.net.cache.LocalCache$Entry objects - local cache entry overhead
    When we have tried our own implementation of java.util.Map as backing map (using some clever tricks to get smaller size at the cost of CPU processing)
    On single JVM
    36M - byte arrays - out application data
    So it is look like we are going to stick with our implementation.
    My question
    Are there any known drawbacks of using implementation of java.util.Map as backing map for distribute-scheme?
    Our implementation is thread safe of cause (we have already tested it thread-count option of distributed-scheme)

    Hi Alexey,
    alexey.ragozin wrote:
    But I already have this table in first map (String -> Binary), in former project we have used handmade Map implementation with method internKey() to avoid duplication of data.
    I'm looking for a way to reuse our old and proven techniques with coherence caches.
    Thank you,
    AlexeyUnfortunately there is no way the extractor could get hold of the already existing key reference in the reverse index. I agree that the extracted value reference in the reverse index entry (the key from that entry) should be reused by Coherence as the forward index value if the reverse index entry for the same extracted value exists, but apparently it is not.
    Try to submit an enhancement request for this (and please share the ticket number for it so we can also look for it in the release notes).
    Best regards,
    Robert

  • Hostname verifier does not get invoked

    Hi All,
    I am new to weblogic and currently facing an issue with SSL. I checked this forum but none of the solutions really worked for me, so seeking advice starting a new thread. Kindly help.
    Problem 1
    I have a REST webservice running in one weblogic server and another weblogic server contains a client which is based on the code from the following link -
    http://wiki.open-esb.java.net/attach/RestBCEchoSSL/SslClient.java
    One way handshaking is enabled in both the weblogic and the KeyStore and Truststore are read from configurable directory in the client java code. I specify a directory which resides outside weblogic home.
    Even though there is an HostnameVerifier implemented in the code to return true always, it does not get invoked and I get a certificate exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    But when I run the java client from Eclipse I am able to invoke the webservice methods using HTTPs.
    So is not it possible to add a default hostname verifier as in the java code when the application is deployed in weblogic?
    Problem 2
    I another attempt to solve the above issue I turned off the hostname verification from weblogic admin console in the client weblogic side. In the console for the server Configuration > SSL->Hostname Verification field is set to "None". But that did not help.
    Then I added the '-Dweblogic.security.SSL.ignoreHostnameVerification=true' flag into the <domain>/bin/startWebLogic.sh file and restarted the weblogic. No luck again.
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy -Dweblogic.security.SSL.ignoreHostnameVerification=true ${PROXY_SETTINGS} ${SERVER_CLASS}
    I tried recreating the certificate using the' hostname' instead of the ip address ( also added an entry into the /etc/hosts file putting the ip and hostname so that I can do ping <hostname> from the client and get response returned from the server side). Again no luck :(. I keep getting the same handshake failure as mentioned above.
    The weblogic version is 10.x.
    Thanks,
    Amrit

    I did some more research for the issue mentioned which I yet to get rid of.
    1) I wrote a REST web service which makes a call to another REST service deployed on another weblogic using HTTPs (same code as mentioned above is used). I delpoyed the war and made a http call to the first webservice, the other REST service was invoked successfully using HTTPs. So this confirmed that there is no problem with the certificates or keystore or hostname verifictaion.
    2) My actual application still throws the handshake exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    So I think the problem is something else but weblogic is priniting the exception message wrong.
    The process hierarchy ( in UNIX ) is as shown below -
    bea 31914 31913 0 14:29 ? 00:00:00 /bin/sh <DOMAIN HOME>//bin/startWebLogic.sh
    bea 31989 31914 0 14:29 ? 00:01:25 /opt/bea/jdk160_24/bin/java <The weblogic start server process> started by startWebLogic.sh
    bea 32107 31989 0 14:29 ? 00:00:09 /opt/bea/jdk160_24/bin/java <One of custom process>
    bea 2038 32107 0 18:38 ? 00:00:15 /opt/bea/jdk160_24/bin/java <Another custom process which contains my java classes containing the REST client>
    The problem is there in both Weblogic 11 and 10.3 version.
    I will be grateful if someone gives any clue about the problem.

  • J2EE adapter module not getting invoked by module processor

    Hi All,
    i have deployed my .ear file in SDM Repository successfully.
    but my J2EE adapter module is not getting invoked by module processor......this i can say because i have written code to audit log my message in the java class...but when i gave input an empty file, the audit log of that file in Message Audit Log showed only 3 Steps of file converted to XML format, no data found so not generating message, deletion of my empty file.
    Can anybody suggest how to enable my J2EE adapter module as i have created this module so that if i give empty file, then in the adapter i am creating a dummy XML for my message.
    Thanks and Regards,
    Rajeev Gupta

    Hi Stefan,
    1. JNDI name in visual admin is CustomerMeter
    2. the files in .ear file are:
    libraries,
    ejb project file,
    META-INF folder
    in ejb project file the following files are there:
    ejb-j2ee-engine.xml
    ejb-jar.xml
    CustomerMeter.class
    Please tell what to do now.
    Hi Amol,
    in audit log only 3 messages are coming: File converted to XML format, no data in document  so not sending message, deleting of empty file.
    i have given audit log statements in java class but my audit-log statements are not coming in the audit log
    this means my adapter module is not getting invoked.
    Please tell what to do to correct this error.
    Thanks and Regards,
    Rajeev Gupta

  • Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.

    Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.
    As an example, I'm going to my email in safari, while I wait for it to load, I open an excel document, and the OS decides excel should be the front app, so I go back to safari so I can enter my login info, but halfway through my password the OS decides that excel is where I should finish typing my password.
    VERY ANNOYING.  Can I open apps in the background?

    Thank you everyone for the suggestions. J D, I'm not a terminal fan, but I'm sure it works.  I found a solution that I can use in the dock from another post. 
    Annoyed by Mac OS
    Works great and allows me to maximize those multitasking minutes.

  • Result handler not getting invoked on button click - URGENT

    Hi Folks,
    We are working on a form submit application where we populate the form and finally click on button to submit the completed form. We are using BlazeDs On button click I call java service and expect a response object back to flex UI. We are getting the java call invoked successfully and the log clearly shows that the appropriate objects are returned from java service, however, the result handler is not getting inviked to capture the result in flex mxml. I am in urgent need of your help on this
    Code snippet:
    <mx:Script>
    <![CDATA[
    protected  
    function Service_resultHandler(event:ResultEvent):void
    Alert.show(
    "event.result.troubleTicketId ::"+event.result.status); 
    var u:URLRequest = new URLRequest("http://www.adobe.com/flex");navigateToURL(u,
    "_blank"); 
    private function faultHandler_exitService(event:FaultEvent):void {Alert.show(event.fault.faultString +
    '\n' + event.fault.faultDetail); 
    var u:URLRequest = new URLRequest("http://www.google.com");navigateToURL(u,
    "_blank"); 
    protected  
    function submit_clickHandler():void
    //Alert.show("1");
    createTicketForm.setCallDetails_callRegion(FlexUI_callDetails_callRegion);
    //Alert.show("2"+FlexUI_callDetails_callRegion);
    createTicketForm.setCallDetails_callRegion2(FlexUI_callDetails_callRegion2);
    exitService.createTroubleTicket(createTicketForm);
    ]]>
     </mx:Script>  
    <mx:RemoteObject id="exitService" destination="ExitService" fault="faultHandler_exitService(event)">
    <mx:method name="createTroubleTicket" result="Service_resultHandler(event)"/>
    </mx:RemoteObject>
    <mx:Button 
    label="submit Ticket" width="65" height="22" textAlign="right" x="904" y="-10" click="submit_clickHandler()" />
    My Java service:
    public  
    class ExitService {  
    public CreateTmsTicketResponse createTroubleTicket(CreateTicketForm createTicketForm){
    return  
    createTmsTicketResponse;}
    remoting-config.xml:
     <destination id="ExitService">  
    <properties>  
    <source>com.qwest.qportal.flex.createTicket.ExitService</source>  
    </properties>
     </destination>

    Please refer to below link, hope it helps:
    http://forums.asp.net/t/1927214.aspx?The+IListSource+does+not+contain+any+data+sources+
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • On my Iphone 4, I can not get any response accept the apple logo after recharging for an entire day and trying to connect to iTunes. help?

    On my Iphone 4s, I can not get any response accept the apple logo after recharging for an entire day and trying to connect to iTunes. A few days before that the speaker suddenly stopped working during a call. I also reset everything by connecting to itunes but no luck then. help?

    Hey there xntricj,
    It sounds like you are putting a password for your Apple ID that works without issue on your iPad into your iPhone but get a message saying that the password is incorrect. I recommend the steps from the article named:
    iCloud: "Incorrect Apple ID or Password" alert when setting up iCloud after upgrading to iOS 7
    http://support.apple.com/kb/TS5207
    After completing iOS 7 setup, go to Settings > iCloud.
    Scroll down and tap Delete Account, then enter your previous Apple ID and password.
    If your Apple ID or password are not accepted, follow the steps in iOS 7: If you're asked for your previous Apple ID when signing out of iCloud.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • ValueChangeListner not getting invoked.

    Hi
    I've implemented autoSuggestBehaviour on inputListOfValues but valueChangeListner is not getting invoked in case I select the first value from the auto suggested items.
    And valueChangeListner gets invoked if I select any other value apart from the first suggested value.
    Given below is code snippet
    <af:inputListOfValues id="useridId"
    required="true"
    binding="#{backingBeanScope.backing_quoteInfo.useridId}"
    popupTitle="Search and Select: #{bindings.Userid.hints.label}"
    value="#{bindings.Userid.inputValue}"
    label="#{bindings.Userid.hints.label}"
    model="#{bindings.Userid.listOfValuesModel}"
    columns="20"
    shortDesc="#{bindings.Userid.hints.tooltip}"
    valueChangeListener="#{backingBeanScope.backing_quoteInfo.customerLovChanged}"
    autoSubmit="true"
    partialTriggers="::it6"
    rendered="#{securityContext.userInRole['insuranceapprovers']}">
    <f:validator binding="#{bindings.Userid.validator}"/>
    <af:autoSuggestBehavior suggestedItems="#{backingBeanScope.backing_quoteInfo.getSuggestedCustomers}"/>
    </af:inputListOfValues>
    I'm using JDev 11.1.1.4.0 & IE8/Mozilla11 as the browser.
    Thanks,
    -Gaurav

    valuechangelistener is trigger only when the old value and new value is different .You can validate this scenario inside the value chage listener.
    like this
    customerLovChanged(ValueChangeListener  valu){
    System.out.println(""+valu.getOldValue());
    System.out.println(""+valu.getNewValue());
    }

Maybe you are looking for

  • Ipod touch 4- Power button and volume buttons not working!!!

    I had my ipod touch 4 on beside me and i went to turn it off and it wouldn't. I then tried to increase the volume but that wouldn't work. A few minutes before i was on youtube watching videos and there was not problem.Please if you have any idea on w

  • How do I view code in FlashCS4?

    Hi,   How do I view code in Flash CS4? I am wondering if it's even possible but I am new to Flash so I guess anything is possible, haha. I need to fix my actionscript and this is one of the ways I was told to do it was to look at the code first. Than

  • Itunes songs not playing in library

    Some songs will not play on computer from library. Comes up as cannot find the songs. Please help - Have reinstalled itunes & still will not work Thanks Tibley

  • Getting total number of pages

    Hello friends at www.oracle.com , I need to know what's the Reports variable that gets the total number of pages, and how I can refer it in a PL/SQL block. I know there's an SRW function to get the actual page number (SRW.GET_PAGE_NUM), but I need to

  • Configuring a Datasource Help (Hyperion Planning)

    Please help. I am installing Hyperion Planning - System 9 Release 9.3.1.1 and get the following error in the Configuration utility when I try to configure a datasource: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no HspEss