Invocation Service and Local Maps

Hi,
     I want to use an InvocationService to perform a filtered query on the local data of a node in a distributed cache scheme. A simple keySet or entrySet will not work in my case as I want to push out some additional processing to each node.
     I am mainly concered on how to perform the query on only the local data of each node (how to get the local map and query it). Do you have an example or documentation of how to this?
     Thanks in advance.
     Joey

Cameron, this is in reference to a more "hands on" query approach previously discussed.
     Joey, the most direct means of accessing locally-hosted partitioned data is to access the cache's backing map directly. Since the data may be stored in serialized form, you'll need to access the backing map's context to get converters to convert from serialized form to regular java objects. The following snippet does a simple aggregation, using direct backing map access (for demonstration purposes only, obviously an InvocableMap aggregator would be easier, more reliable and more efficient for this specific use case). Keep in mind that when using InvocableMap, rebalancing and server failure are handled automatically; when using this lower-level approach, you'll need to handle failure manually (for queries, this usually just means re-issuing the query).
     (This snippet is from a larger examples compilation, so will not compile as-is due to a few "utility" calls).
     EDIT: Looking at the code below, I should also mention that there are separate converters for the cache keys and the cache values (this example happens to not process the cache keys).
              package examples.invocationWithBackingMap;
         import com.tangosol.net.AbstractInvocable;
         import com.tangosol.net.CacheFactory;
         import com.tangosol.net.CacheService;
         import com.tangosol.net.DefaultConfigurableCacheFactory;
         import com.tangosol.net.InvocationService;
         import com.tangosol.net.Member;
         import com.tangosol.net.NamedCache;
         import com.tangosol.net.DistributedCacheService;
         import com.tangosol.util.Binary;
         import com.tangosol.util.Converter;
         import com.tangosol.util.Base;
         import util.TerminateAgent;
         import util.Util;
         import java.util.Iterator;
         import java.util.Map;
         import java.util.Set;
         public class Main
             extends Base
              * Usage:
              * <pre>
              * java examples.invocationWithBackingMap.Main cluster-size
              * </pre>
              * @param args      command-line arguments
             public static void main(String[] args)
                 NamedCache cache = CacheFactory.getCache(CACHENAME);
                 int callerId = CacheFactory.ensureCluster().getLocalMember().getId();
                 // use (and start) an invocation service
                 InvocationService isvc =
                     CacheFactory.getInvocationService(INVOCATION_SERVICE_NAME);
                 int cClusterMembers = Integer.parseInt(args[0]);
                 Util.waitForCacheNodes(cache, cClusterMembers);
                 Util.verifyClusterSize(cClusterMembers);
                 // populate the cache (blindly; overwrites are ignored)
                 for (int i=0; i<100; i++)
                     cache.put(new Integer(i), new Integer(i));
                 // send to the partition owners
                 Set members = ((DistributedCacheService)cache.getCacheService()).getStorageEnabledMembers();
                 System.out.println("Number of storage-enabled nodes: " + members.size());
                 Map map = isvc.query(new SummingAgent(callerId), members);
                 System.out.println(map.size() + " node(s) responded");
                 int totalSum = 0;
                 System.out.println("Total should be 4950 for sum(0..99)");
                 for (Iterator iter = map.entrySet().iterator(); iter.hasNext();)
                     Map.Entry entry  = (Map.Entry)iter.next();
                     Member member = (Member)entry.getKey();
                     Integer memberSum = (Integer)entry.getValue();
                     // null if member died; did not run the Invocation service
                     //  or threw exception during execution
                     if (memberSum != null)
                         System.out.println("Sum of values on member " + member.getId() +
                                            " is " + memberSum);
                         totalSum += memberSum.intValue();
                     else
                         System.out.println("No result from " + member.getId());
                 System.out.println("Total sum is " + totalSum);
                 System.out.println("Terminating remote cluster memebers...");
                 // shut down the other cluster members remotely
                 // this member should not be acting as a cache server
                 azzert(!members.contains(CacheFactory.ensureCluster().getLocalMember()));
                 isvc.execute(new TerminateAgent(), members, null);
                 // leave the cluster
                 CacheFactory.shutdown();
             public static class SummingAgent extends AbstractInvocable
                 public SummingAgent() {}
                 public SummingAgent(int callerId)
                     m_callerId = callerId;
                 public void run()
                     System.out.println("Running agent from member " + m_callerId + "...");
                     NamedCache cache = CacheFactory.getCache(CACHENAME);
                     CacheService service = cache.getCacheService();
                     DefaultConfigurableCacheFactory.Manager bmm =
                         (DefaultConfigurableCacheFactory.Manager)service.getBackingMapManager();
                     Map backingMap = bmm.getBackingMap(CACHENAME);
                     Converter valueConverter =
                         bmm.getContext().getValueFromInternalConverter();
                     int sum = 0;
                     // if concurrent updates are possible you need to deal with
                     // ConcurrentModificationException thrown by the iter.next() call
                     for (Iterator iter = backingMap.values().iterator();iter.hasNext();)
                         // data stored in Binary (wire) format
                         Binary binary = (Binary)iter.next();
                         Integer value = (Integer)valueConverter.convert(binary);
                         sum += value.intValue();
                     setResult(new Integer(sum));
                 protected int m_callerId;
             public static final String CACHENAME = "dist-InvocationWithBackingMap";
             public static final String INVOCATION_SERVICE_NAME="InvocationService";
        

Similar Messages

  • Integration Services and locale defenitions

    anyone run into issues with drill through reports not returning the correct locale characters? We have a utf8 enabled database and can see the characters fine there but the same characters in drill through reports come back with squares and boxes.

    Thank you both Timtow and essbase.ru.
    I have only JRE 1.5.0 installed (installed automatically by the Essbase installer) and the classpath is pointing to essbase foler containing jre.
    CLASSPATH=.;D:\hyperion\common\jre\sun\lib
    the lib folder contains all the jar files essbase is looking for.
    I am able to create applications using EAS, had restarted all essbase services many times, but did not work.
    When I type java -version then I get the same version of JRE 1.5.0 the essbase 9.3.1 need but don't know from where the EIS is looking for jar files. It should be looking at the lib folder of jre under essbase.
    Any farther guidnace will be highly appreciated.
    Thanks

  • Using an external web service  and local element declarations

    I am attempting to use (call) an external web service from workshop
    8.1. It seems that if the web service's schema contains local element
    declarations with the same name then workshop will generate incorrect
    JCX code because it doesn't scope the generated classes.
    I think the following simple example will do a better job explaining
    than that last paragraph ;). In the following WSDL, the element
    "testLocalDec" is used inside two different element types. In XML
    Schema this is not a problem because each one is "scoped" by the
    element types its included in. However, the generated JCX (listed
    second) simply contains the testLocalDec structure twice which causes
    problems in Java.
    Is there some workaround for this? Note that making this element
    declaration in the WSDL will not work because they are different
    structures (with different names).
    Also see my next email around using XMLBeans with external services
    (since that could be a workaround if I knew how to do it).
    thanks,
    dave
    *** sample WSDL ***
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
         <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn" element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    *** generated JCX ***
    package helloTest;
    * @jc:location
    http-url="http://localhost:18080/tutorial/HelloWorldService"
    * @jc:wsdl file="#HelloWorldServiceWsdl"
    * @editor-info:link source="HelloWorldService.wsdl" autogen="true"
    public interface HelloWorldServiceControl extends
    com.bea.control.ControlExtension, com.bea.control.ServiceControl
    public static class testLocalDec
    implements java.io.Serializable
    public static class sayHelloResponse
    implements java.io.Serializable
    public java.lang.String sayHelloReturn;
    public testLocalDec testLocalDec;
    public static class testLocalDec
    implements java.io.Serializable
    public java.lang.String different;
    * @jc:protocol form-post="false" form-get="false"
    public sayHelloResponse sayHello (java.lang.String caller,
    testLocalDec testLocalDec);
    static final long serialVersionUID = 1L;
    /** @common:define name="HelloWorldServiceWsdl" value::
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
         <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn"
    element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Hi David,
    The folks in the workshop newgroup may have a suggestion, if you could
    try your post there:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.workshop
    Thanks,
    Bruce
    David Rees wrote:
    >
    I am attempting to use (call) an external web service from workshop
    8.1. It seems that if the web service's schema contains local element
    declarations with the same name then workshop will generate incorrect
    JCX code because it doesn't scope the generated classes.
    I think the following simple example will do a better job explaining
    than that last paragraph ;). In the following WSDL, the element
    "testLocalDec" is used inside two different element types. In XML
    Schema this is not a problem because each one is "scoped" by the
    element types its included in. However, the generated JCX (listed
    second) simply contains the testLocalDec structure twice which causes
    problems in Java.
    Is there some workaround for this? Note that making this element
    declaration in the WSDL will not work because they are different
    structures (with different names).
    Also see my next email around using XMLBeans with external services
    (since that could be a workaround if I knew how to do it).
    thanks,
    dave
    *** sample WSDL ***
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
    <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn" element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    *** generated JCX ***
    package helloTest;
    * @jc:location
    http-url="http://localhost:18080/tutorial/HelloWorldService"
    * @jc:wsdl file="#HelloWorldServiceWsdl"
    * @editor-info:link source="HelloWorldService.wsdl" autogen="true"
    public interface HelloWorldServiceControl extends
    com.bea.control.ControlExtension, com.bea.control.ServiceControl
    public static class testLocalDec
    implements java.io.Serializable
    public static class sayHelloResponse
    implements java.io.Serializable
    public java.lang.String sayHelloReturn;
    public testLocalDec testLocalDec;
    public static class testLocalDec
    implements java.io.Serializable
    public java.lang.String different;
    * @jc:protocol form-post="false" form-get="false"
    public sayHelloResponse sayHello (java.lang.String caller,
    testLocalDec testLocalDec);
    static final long serialVersionUID = 1L;
    /** @common:define name="HelloWorldServiceWsdl" value::
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
    <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn"
    element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • N96 - GPS local maps and voice guided navi for 3 m...

    I see on the box of the N96 :
    "Including local maps and voice-guided navigation for three months"
    So after 3 months there is no local maps and voice ?
    Why that ?
    Even a cheap GPS at 100 euros has maps and voice forever
    I dont understand. I have paid the phone and his features or not ?

    I have to disagree with you there.
    The system is designed to suit all users, not just those that use the phone for navigation in the car. Plus many people won't use the phone for navigation but will use it as an interactive map book.
    Also with all the new and upcoming location based services that nokia now offers it is very important to have up-to-date maps.
    If we had to pay for map updates then many of the location based services wouldn't be accurate or worth using.
    So for a phone based navigation program it makes much more sense to get free maps. Obviously they have to recoup the map costs from somewhere so they have to charge for the navigation feature.
    For dedicated in car sat-nav systems such as tom toms then it makes sense for them to give you the navigation for free. They make their money by charging you for new maps and maps for other countries.
    So in some ways nokia's system is better because you have maps of most of the world totally free. It's also the only system that could suit the majority.
    At the end of the day no one is forcing you to use nokia maps either. If you don't like it then install a program like garmin XT. This program is like in car sat-navs where navigation is free but you pay for maps. A very expensive option if you travel to many countries.
    Message Edited by psychomania on 07-Oct-2008 08:45 AM

  • I am in nanchang jiangxi china but my local weather and google map is showing unknown location so Plz help me

    I am in nanchang jiangxi china but my local weather and google map is showing unknown location so Plz help me

    The weather application is powered by "Yahoo". It doesn't have all cities listed in the database and your city is also not listen. Therefore it's not showing your local weather. You can "ADD" a nearby location in the weather application.
    For the location problem, turn the location service "OFF" & "ON". Restart your phone (by long pressing the ON & OFF button on top right & slide to tun off). Then use a WIFI connection to run the google map application and locating your position. I hope this will fix the issue.

  • What is difference between  Service map iview and Workset Map iview

    Hi Experts,
                        Can anyone tell me the difference between  service map iView and Workset Map iView.
    When I am creating these iViews, its seams both are same. I canu2019t find difference still, can anyone help me out of this
    Thanks in Advance
    Janardhan

    Hi,
    Service Map Iview:The Service Map iView is an ERP-specific variant of the portal Workset Map iView. It serves as a central point of entry and guided access to the services of SAP service modules such as the Manager Self Service (MSS) module, or the Employee Self Service (ESS) module.
    Workset Map iview:A Workset Map is the equivalent of a site map, providing users with explicit information on the functionality that is available in a given workset. It is based on an iView, and serves as a central point of entry and guided access to the contents of a workset.
    if you want to more info pls go thr the below thread
    Workset Map iView
    i hope it will help you
    Thanks,
    Sreeni.

  • The visual Studio Test controller service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs

    We are using VS2013 Premium. i have installed vs2013 Test controller in my dev environment. While i am configuring (https://msdn.microsoft.com/en-us/library/hh546459.aspx) getting error message in
    the Configuration summary dialog box displaying following error's : 1. Failed to Configure TFS Team Project Collection, 2. Could not complete operation as the time out expired. ''
    I have checked the "visual Studio Test controller " in the
    Services --> Administrative. Its automatically stopped the service. When i started the manually its showing message like as 'The visual Studio Test controller
    service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs'
    Please guide me how to resolve this problem. 
    Thanks in Advance...

    Hi Divakar,
    What’s the version of your TFS?
    How do you configure the test control?
    Please make sure you are specify the team collection instead of team project.
    On the other hand, you may enable test controller logs. (You could share the log file on the OneDrive)
    # How to enable test controller logs
    http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT4061 I bought the ipad air for the primary use of marine navigation. I looaded both Garmin and iNAVx charts, but currently none of thecharts including apple maps can determine my location.  The error message says to turn on location services and turn of

    I bought the ipad air to be used for marine navigation and installed both garmin and inavx charts. Currently none of the charts including apple maps can identify my current location.  The error message says to enable location services and disable airport which I have done, but none of these applications work.

    I bought the ipad air to be used for marine navigation and installed both garmin and inavx charts. Currently none of the charts including apple maps can identify my current location.  The error message says to enable location services and disable airport which I have done, but none of these applications work.

  • Service map and workset map iview

    Can any one please provide me with a good documentation for creating Service map and workset maps in SPA portal.

    Hi Raj,
    Before posting for documentation help, just browse through help.sap.com, you could find really valuable help there.
    For your reference some of the useful links are as below -
    [Navigation using Workset Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/ae/ed9576d3e94ec9b440dfe3a8db9cbf/content.htm]
    [Creating Workset Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/84/f8c4400c2d712ae10000000a155106/content.htm]
    [Navigation using Service Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/a1/c64960cb1e4c4293ce6d8eaed02ff5/content.htm]
    [Creating Service Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/5b/bc12311911458993849a91f3f20dec/content.htm]
    Hope these help you out
    Regards,
    Shailesh

  • MY phone is using large amounts of data, when i then go to system services, it s my mapping services thats causing it. what are mapping services and how do i swithch them off. i really need help.

    MY phone is using large amounts of data, when i then go to system services, it s my mapping services thats causing it. what are mapping services and how do i swithch them off. i really need help.

    I Have the same problem, I switched off location services, maps in data, whatever else maps could be involved in nd then just last nite it chewed 100mb... I'm also on vodacom so I'm seeing a pattern here somehow. Siri was switched on however so I switched it off now nd will see what happens. but I'm gonna go into both apple and vodacom this afternoon because this must be sorted out its a serious issue we have on our hands and some uproar needs to be made against those responsible!

  • OracleConcMgrVIS_baba service on local computer started and stoped

    Hi Fadi and Hsawwan,
    After completion of my Oracle12 instalatin I found few post erros e.g. 50015 with HTTP, JSP, PHP error and i'm able to fix with these errors with rapidwiz - restart. One of my service OracleConcMgrVIs_baba is not starting?
    I try to start manually but no success. Any suggestions?
    Do I need to uninstalled this service and install it again?
    Cheers
    Ajit

    Duplicate thread (Please post only once):
    OracleConcMgrVIS_baba service on local computer started and stoped
    OracleConcMgrVIS_baba service on local computer started and stoped

  • Windows could not start the Cluster Service on Local computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 2.

    Dear Technet,
    Windows could not start the Cluster Service on Local computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 2.
    My cluster suddenly went disappear. and tried to restart the cluster service. When trying to restart service this above mention error comes up.
    even i tried to remove the cluster through power-shell still couldn't happen because of cluster service not running.
    Help me please.. thank you.
    Regards
    Shamil

    Hi,
    Could you confirm which account when you start the cluster service? The Cluster service is a service that requires a domain user account.
    The server cluster Setup program changes the local security policy for this account by granting a set of user rights to the account. Additionally, this account is made a member
    of the local Administrators group.
    If one or more of these user rights are missing, the Cluster service may stop immediately during startup or later, depending on when the Cluster service requires the particular
    user right.
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Work Manager and the Invocation Service - Items Queued?

    Hi,
    After reading the user guide & javadocs and searching this forum, I can't find documentation on how an Invocation Service works behind the scenes. I'm implementing a WorkManager (which sits atop an incovation service) with the goal of using some nodes in my Coherence cluster as essentially a distributed thread pool for parallel execution of work.
    I want to know:
    a) How work items are queued when all threads dedicated to the WorkManager are in use. I assume a cache is spawned to handle this, but if a queue is used, how do I configure the depth?
    b) Can thread count be throttled dynamically? The post linked below seems to have tried it, but is there no cleaner way since the service is configured prior to startup? Maybe this has changed since 3.4.
    How Can a Service's Configuration Be Modified Dynamically
    Thanks

    To answer Luk's question - yes the change in thread count took affect without me having to restart the service. I have only changed cache service thread counts via JMX but I assume invocation services would be the same.
    Roberto,
    Regarding the queue size - I suspect this is limited by the amount of heap your process has. Presumably Coherence uses some sort of queue structure internally to hold the requests and this is likely only limited by memory - or maybe number of entries if it uses an int for its size.
    I am sure if you try hard enough you could blow the queue size if you could somehow push a sufficiently large number of slow running tasks into the server and even eaiser if your invocables contained a lot of data themselves so they took up more heap.
    It would be very simple to write a test the just fires in invocables at a fast enough rate and see what happens.
    JK

  • Traffic not showing in Notifications IOS 7. I have all turned on in notifications and location services allowed in Maps. I have been all over internet, followed set up instructions, even re-set settings (fixed weather not showing) but still no traffic?

    Traffic not showing in Notifications IOS 7. I have all turned on in notifications and location services allowed in Maps. I have been all over internet, followed set up instructions, even re-set settings (fixed weather not showing) but still no traffic?

    I should clarify: I didn't know it fell out, but I check my phone often enough that there were only about 10 minutes between when I last put it in my pocket and then realized it wasn't there.
    We asked everyone around us if they saw it, and like 10 people were helping us look. But my husband used Find My iPhone and the Prey app right away when we realized it was missing (again, at most 15 minutes from the last time I used it) and it was already in offline / "cannot locate" mode.

  • The OracleXETNSListener service on Local Computer started and then stopped.

    Hi,
    I practiced with APEX till yesterday.
    Today I'm not able to start OracleXETNSListener, thus not able to open APEX workspace.
    Whenever I tried to start the listener I got the message below:
    "The OracleXETNSListener service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    FYS, I have very limited knowledge about database.
    I read about the solutions posted in this forum but couldn't understand.
    Below are the files in ..\NETWORK\ADMIN\.
    Would appreciate your help.
    C:\OraXe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\OraXe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\OraXe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = GYEON)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    ..\sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    (I changed (NTS) into (NONE) after reading one article but did not work out. So I changed back to the original setting.)
    ..\tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = GYEON)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Thanks,
    Guy
    Message was edited by:
    GUY
    Message was edited by:
    GUY

    Hi,
    Thank you for your advice.
    -) the name of your machine is GYEON? YES
    -) have you started a firewall? Don't know but I have Norton Anti virus program running.
    -) have you changed your IP-address? Time to time it gets changed automatically.
    Followed your steps and got the messages below.
    Would appreciate your further help.
    While stopping,
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    While starting,
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in us
    32-bit Windows Error: 48: Unknown error
    When tnsping XE,
    TNS-12541: TNS:no listener
    Thanks,
    Guy
    Message was edited by:
    GUY

Maybe you are looking for