_____  

From: Marta Cavanilles Gómez [mailto:[EMAIL PROTECTED] 
Sent: Monday, 21 July 2008 9:10 PM
To: Fraser, Ryan (E&M, Kensington)
Subject: Re: gt4 index question.

 

Thanks for answering so fast.

i call the remove method but tha MDS registry seems to keep the resource 
indexed.


actually, when registering the resource, the registration seems to be made 
without troubles, and when I query about this expresion "/", the answer given 
contains my resource EPR. but the MDS throws a fault periodically about my 
resource, and i guess it has something to do with the problems about removing 
it from the index.


I have written to the gt-users mailing list, but i guess they are quite busy.

i attache the mail that i wrote to the mailing list, if you have a while maybe 
you could take a look, the key of the problem might be there, in the 
registration of the resource.


thanks a lot again, if you are too busy just let me know, i'll keep on 
discovering the problem myself, and thanks in advanced for your help and time.

cheers!!

-----------------------------------------------


hello,

i have been trying to register to the DefaultIndexService one of my services, 
doint it inside my java code.

it seems to work (if i make a general query after that with the expression "/" 
my service appears in the solution given), but when it is registering the 
container prints this error:


2008-07-17 01:27:22,930 ERROR impl.QueryAggregatorSource [Timer-6,pollGet:122] 
Exception Getting Resource Property from 
http://192.0.0.4:8080/wsrf/services/ResourceBrokerService

: org.oasis.wsrf.properties.ResourceUnknownFaultType caused by [0: 
org.oasis.wsrf.faults.BaseFaultType]



the registration file is quite simple:

<ServiceGroupRegistrations
  xmlns="http://mds.globus.org/servicegroup/client"; 
  xmlns:sgc="http://mds.globus.org/servicegroup/client"; 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
  xmlns:agg="http://mds.globus.org/aggregator/types";>

<ServiceGroupEPR>
   
<wsa:Address>http://localhost:8080/wsrf/services/DefaultIndexService</wsa:Address>
</ServiceGroupEPR>


    <RegistrantEPR
           xmlns:agg="http://mds.globus.org/aggregator/types";
           xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
           <wsa:Address>
              http://localhost:8080/wsrf/services/ResourceBrokerService
           </wsa:Address>
    </RegistrantEPR>

   <!-- Specifies that the registration will be renewed every 600
        seconds (= 10 minutes) -->
    <RefreshIntervalSecs>6000</RefreshIntervalSecs>


   <!-- <Content> specifies registration specific information -->
        <Content
            xmlns:agg="http://mds.globus.org/aggregator/types";
            
xmlns:tns="http://www.globus.org/namespaces/wsrf/ResourceBrokerService";
            xsi:type="agg:AggregatorContent">
           <agg:AggregatorConfig xsi:type="agg:AggregatorConfig">

              <agg:GetResourcePropertyPollType
                    
xmlns:tns="http://www.globus.org/namespaces/wsrf/ResourceBrokerService";>
    <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                 <agg:PollIntervalMillis>6000</agg:PollIntervalMillis>

            <!-- specifies that all Resource Properties should be
                 collected from the RFT factory -->
                 <agg:ResourcePropertyName>tns:Value</agg:ResourcePropertyName>
            
              </agg:GetResourcePropertyPollType>
           </agg:AggregatorConfig>
           <agg:AggregatorData/>
    </Content>


</ServiceGroupRegistrations>





I need help with this.
Thanks in advance.

---------------------------------------------------







On Mon, Jul 21, 2008 at 2:24 AM, <[EMAIL PROTECTED]> wrote:

In your destroy or other method of this class make sure you call the "remove" 
method, this will remove the service entry in mds.

Ta

Ryan

 

  _____  

From: Marta Cavanilles Gómez [mailto:[EMAIL PROTECTED] 
Sent: Monday, 21 July 2008 7:47 AM
To: Fraser, Ryan (E&M, Kensington)
Subject: gt4 index question.

 

hello,

i have seen that you wrote about how to register a service to the 
DefaultIndexService in gt4 toolkit.

i have managed to register a resource to the defaultindexservice with your java 
code, but now i don't know how to 'unregister' the resource when it is remove.

could you help me? i am running out of time.

thanks in advance.
cheers.
marta.

 

Reply via email to