Bug 4849 - make wsrft doesn't install needed dependencies
: make wsrft doesn't install needed dependencies
Status: RESOLVED FIXED
: RFT
RFT
: 4.0.3
: PC Linux
: P3 normal
: ---
Assigned To:
: http://www.globus.org/toolkit/docs/4....
:
:
: 3774
  Show dependency treegraph
 
Reported: 2006-11-08 11:31 by
Modified: 2007-02-22 15:42 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-11-08 11:31:32
At <http://www.globus.org/toolkit/docs/4.0/globus_is_modular.html> 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't created, so I
can'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'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 "main" 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
------- Comment #1 From 2006-11-08 16:52:53 -------
Did you use the binary GT distribution to install RFT?
------- Comment #2 From 2006-11-08 16:56:36 -------
(In reply to comment #1)
> Did you use the binary GT distribution to install RFT?

Yes: gt4.0.3-x86_deb_3.1-installer.
------- Comment #3 From 2006-11-09 10:28:15 -------
Ok. I don't think that'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'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
'complete' 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.
------- Comment #4 From 2006-11-13 10:46:19 -------
Jarek is right about the cause of the error.  We're talking about how to fix it
for future binary installers.