Hi,

I tried to add an ExternalProcessElementProducer
(http://sourceforge.net/projects/geomaint/) to the IndexService of my GT
4.2.1 installation. The element producer was written and works with any
GT 4.0.x installation. I now want to use it with GT 4.2. Maybe anybody
could help concerning the error I get?

Regards,
Benjamin


Below the part of my gluerp configuration concerning the external
element producer. Additionally I use PBS and Ganglia producer which are
working as I can see at the output of wsrf-query.

 <ns1:resourcePropertyElementProducers
xsi:type="ns1:resourcePropertyElementProducerConfig">
   <ns1:className xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:type="xsd:string">org.globus.mds.usefulrp.rpprovider.producers.ExternalProcessElementProducer</ns1:className>
   <ns1:arguments xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:type="xsd:string">libexec/infoprovider/site-provider.pl</ns1:arguments>
   <ns1:transformClass xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:type="xsd:string" xsi:nil="true"/>
   <ns1:period xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:type="xsd:int">300</ns1:period>
  </ns1:resourcePropertyElementProducers>


Following the error from container.log. The class creating the
NullPointerException is the first element producer I defined in my
configuration. Changing the order of the element producers also changes
the class creating the exception. If I remove above part of the
configuration everything works well.


ERROR rpprovider.ResourcePropertyProviderTask
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,timerExpired:197]
Unhandled exception during execution of
org.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer:
java.lang.NullPointerException
WARN  rpprovider.ResourcePropertyProviderTask
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,timerExpired:202]
Timer event canceled due to unhandled exception during execution of
org.globus.mds.usefulrp.rpprovider.producers.SchedulerInfoElementProducer
WARN  rpprovider.GLUEResourceProperty
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,getDynamicValue:134]
Unexpected additional object type returned from an element producer
(this and all subsequent elements will not be published):
org.apache.xerces.dom.DeferredElementNSImpl
WARN  rpprovider.GLUEResourceProperty
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,getDynamicValue:134]
Unexpected additional object type returned from an element producer
(this and all subsequent elements will not be published):
org.apache.xerces.dom.DeferredElementNSImpl
WARN  rpprovider.GLUEResourceProperty
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,getDynamicValue:134]
Unexpected additional object type returned from an element producer
(this and all subsequent elements will not be published):
org.apache.xerces.dom.DeferredElementNSImpl
WARN  rpprovider.GLUEResourceProperty
[org.globus.mds.usefulrp.rpprovider.ResourcePropertyProviderTask,getDynamicValue:134]
Unexpected additional object type returned from an element producer
(this and all subsequent elements will not be published):
org.apache.xerces.dom.DeferredElementNSImpl
WARN rpprovider.GLUEResourceProperty [ServiceThread-60,getDynamicValue:134]
Unexpected additional object type returned from an element producer
(this and all subsequent elements will not be published):
org.apache.xerces.dom.DeferredElementNSImpl


Here you can see the output of the external element producer.


$ GLOBUS_LOCATION/libexec/infoprovider/site-provider.pl
  <?xml version="1.0" encoding="UTF-8"?>
  <Site UniqueID="my.site.net"
xmlns="http://infnforge.cnaf.infn.it/glueinfomodel/Spec/V12/R2";>
    <Description>My-Grid Services at mysite     </Description>
    <Latitude>79.74</Latitude>
    <Location>unknown</Location>
    <Longitude>-71.78</Longitude>
    <Name>UnconfiguredSite</Name>
    <OtherInfo>3unconfigured site sensor</OtherInfo>
    <SecurityContact>[email protected]</SecurityContact>
    <Sponsor></Sponsor>
    <SysAdminContact>[email protected]   </SysAdminContact>
    <UserSupportContact>[email protected]    </UserSupportContact>
    <Web>http://www.my.site.net</Web>
  </Site>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to