<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>4849</bug_id>
          
          <creation_ts>2006-11-08 11:31</creation_ts>
          <short_desc>make wsrft doesn&apos;t install needed dependencies</short_desc>
          <delta_ts>2007-02-22 15:42:24</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>RFT</product>
          <component>RFT</component>
          <version>4.0.3</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <bug_file_loc>http://www.globus.org/toolkit/docs/4.0/globus_is_modular.html</bug_file_loc>
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3774</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Basney">jbasney@ncsa.uiuc.edu</reporter>
          <assigned_to name="Ravi Madduri">madduri@mcs.anl.gov</assigned_to>
          <cc>bacon@mcs.anl.gov</cc>
    
    <cc>rft-dev@globus.org</cc>

      

      
          <long_desc isprivate="0">
            <who name="Jim Basney">jbasney@ncsa.uiuc.edu</who>
            <bug_when>2006-11-08 11:31:32</bug_when>
            <thetext>At &lt;http://www.globus.org/toolkit/docs/4.0/globus_is_modular.html&gt; it
says I can install RFT only using make wsrft, but when I do that, I
have some problems.

First, $GLOBUS_LOCATION/etc/globus-user-env.sh isn&apos;t created, so I
can&apos;t source it to setup my $PATH.  I think a dependency on
globus_user_env is needed.

Next, when I try running the rft client, I get the following errors,
which go away after I do a full GT4 install with make all.  I don&apos;t
know which specific dependencies need to be added to resolve this.

$ rft -h dg-099 -f test.rft
2006-11-08 11:16:52,987 ERROR wsdd.WSDDDeployment [main,deployMapping:337] Unable to deploy typemapping: {http://www.globus.org/namespaces/2004/10/gram/job/faults}ExecutionFailedFaultType
java.lang.ClassNotFoundException: org.globus.exec.generated.ExecutionFailedFaultType
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
        at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:321)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:514)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:360)
        at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:415)
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2187)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)
2006-11-08 11:16:52,995 ERROR axis.AxisEngine [main,getTypeMappingRegistry:362] ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: org.globus.exec.generated.ExecutionFailedFaultType
java.lang.ClassNotFoundException: org.globus.exec.generated.ExecutionFailedFaultType
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
        at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:321)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:514)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:360)
        at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:415)
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2187)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)

org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: org.globus.exec.generated.ExecutionFailedFaultType
java.lang.ClassNotFoundException: org.globus.exec.generated.ExecutionFailedFaultType
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
        at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:321)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:514)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:360)
        at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:415)
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2187)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)

        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:338)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:514)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:360)
        at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:415)
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2187)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)

        at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:338)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:514)
        at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
        at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:360)
        at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:415)
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2187)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)
2006-11-08 11:16:53,048 ERROR delegation.DelegationUtil [main,getCertificateChainRP:558] Failure trying to get the Call object; nested exception is: 
        java.lang.NullPointerException
Exception in thread &quot;main&quot; Error during startup processing. Caused by . Caused by AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Failure trying to get the Call object; nested exception is: 
        java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}hostname:pkilab2.ncsa.uiuc.edu

Failure trying to get the Call object; nested exception is: 
        java.lang.NullPointerException
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1210)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1311)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:294)
        at org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)
Caused by: java.lang.NullPointerException
        at org.apache.axis.client.Call.getTypeMapping(Call.java:2190)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2222)
        at org.apache.axis.client.Call.registerTypeMapping(Call.java:2265)
        at org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.createCall(DelegationFactoryPortTypeSOAPBindingStub.java:1195)
        ... 11 more</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Jarek Gawor">gawor@mcs.anl.gov</who>
            <bug_when>2006-11-08 16:52:53</bug_when>
            <thetext>Did you use the binary GT distribution to install RFT?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Jim Basney">jbasney@ncsa.uiuc.edu</who>
            <bug_when>2006-11-08 16:56:36</bug_when>
            <thetext>(In reply to comment #1)
&gt; Did you use the binary GT distribution to install RFT?

Yes: gt4.0.3-x86_deb_3.1-installer.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Jarek Gawor">gawor@mcs.anl.gov</who>
            <bug_when>2006-11-09 10:28:15</bug_when>
            <thetext>Ok. I don&apos;t think that&apos;s a dependency issue. You would not see this problem with a source distribution. I think it has to do with how our binary installer are made and how GPT works (as far as I understand it).
The error is caused by missing type mappings in the client-config.wsdd file. Unfortunately, this file is shared by multiple components. That is, each component during deployment adds its service-specific type mappings to it. That&apos;s why when using the source installer only the type mappings of the installed services will be deployed. However, a binary installer just uses the &apos;complete&apos; version of the client-config.wsdd (with all the type mappings for all servies). Therefore, when only installing a subset of services using a binary installer (and not deploying gram) will cause this error.

Charles please correct me if I got something wrong here.

The quick work-around is just to remove these unneeded type-mappings from the $G_L/client-config.wsdd file.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Charles Bacon">bacon@mcs.anl.gov</who>
            <bug_when>2006-11-13 10:46:19</bug_when>
            <thetext>Jarek is right about the cause of the error.  We&apos;re talking about how to fix it for future binary installers.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>