Hello all,

I have an error when executing Filebuy buyer client.
According to GT4Programming web page, it seems my any miss.

I have compiled all good, and, untill executing file find.
I get the following errors:

ERROR: Unable to invoke Purchase operation.
AxisFault
 faultCode: 
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}General
 faultSubcode:
 faultString: Operation unauthorized (Mechanism level: Authorization failed. 
Expected "/CN=host/net01.iis.kohol" target but received 
"/O=Grid/OU=GlobusTest/OU=simpleCA-net01.iis.kohol/OU=iis.kohol/CN=netuser")
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:GSSException: Operation 
unauthorized (Mechanism level: Authorization failed. Expected 
"/CN=host/net01.iis.kohol" target but received 
"/O=Grid/OU=GlobusTest/OU=simpleCA-net01.iis.kohol/OU=iis.kohol/CN=netuser")
        at 
org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:509)
        at 
org.globus.wsrf.impl.security.authentication.secureconv.Authenticator.authenticate(Authenticator.java:64)
        at 
org.globus.wsrf.impl.security.authentication.secureconv.SecContextHandler.handleRequest(SecContextHandler.java:265)
        at 
org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:105)
        at 
org.apache.axis.handlers.JAXRPCHandler.invoke(JAXRPCHandler.java:52)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:127)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at 
org.globus.examples.stubs.filebuy.FileBuyer.bindings.FileBuyerPortTypeSOAPBindingStub.purchase(FileBuyerPortTypeSOAPBindingStub.java:361)
        at 
org.globus.examples.clients.filebuy.FileBuyer.FileBuyClient.main(FileBuyClient.java:134)

        {http://xml.apache.org/axis/}hostname:net01.iis.kohol

Operation unauthorized (Mechanism level: Authorization failed. Expected 
"/CN=host/net01.iis.kohol" target but received 
"/O=Grid/OU=GlobusTest/OU=simpleCA-net01.iis.kohol/OU=iis.kohol/CN=netuser")
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:216)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at 
org.globus.examples.stubs.filebuy.FileBuyer.bindings.FileBuyerPortTypeSOAPBindingStub.purchase(FileBuyerPortTypeSOAPBindingStub.java:361)
        at 
org.globus.examples.clients.filebuy.FileBuyer.FileBuyClient.main(FileBuyClient.java:134)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Operation unauthorized 
(Mechanism level: Authorization failed. Expected "/CN=host/net01.iis.kohol" 
target but received 
"/O=Grid/OU=GlobusTest/OU=simpleCA-net01.iis.kohol/OU=iis.kohol/CN=netuser")
        at 
org.globus.wsrf.impl.security.authentication.wssec.WSSecurityFault.makeFault(WSSecurityFault.java:105)
        at 
org.globus.wsrf.impl.security.authentication.secureconv.SecContextHandler.handleRequest(SecContextHandler.java:273)
        at 
org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:105)
        at 
org.apache.axis.handlers.JAXRPCHandler.invoke(JAXRPCHandler.java:52)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:127)
        ... 7 more

And, my /etc/hosts is following:

127.0.0.1       localhost.localdomain   localhost
192.168.0.xx   net01.iis.kohol    net01 (it's broker & buyer side)
192.168.0.xx   net02.iis.kohol    net02 (it's seller side)

Could someone help me, please?

Tom Kohol 

Reply via email to