Dear All,

Please how can I correct the error shown below while trying to run the command 
line client of the MathService tutorial:

[EMAIL PROTECTED] EXAMPLES_DIR]# source $GLOBUS_LOCATION/etc/globus-devel-env.sh
[EMAIL PROTECTED] EXAMPLES_DIR]# javac -classpath 
./build/stubs/classes/:$CLASSPATH 
org/globus/examples/clients/MathService_instance/Client.java
[EMAIL PROTECTED] EXAMPLES_DIR]# java -classpath 
./build/stubs/classes/:$CLASSPATH 
org.globus.examples.clients.MathService_instance.Client 
https://138.250.104.227:8443/wsrf/services/examples/core/first/MathService
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found
 faultActor:
 faultNode:
 faultDetail:
        
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA12275)
        at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)
        at 
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
        at 
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:181)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:397)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
        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:165)
        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.MathService_instance.bindings.MathPortTypeSOAPBindingStub.add(MathPortTypeSOAPBindingStub.java:455)
        at 
org.globus.examples.clients.MathService_instance.Client.main(Client.java:27)
Caused by: sun.security.validator.ValidatorException: No trusted certificate 
found
        at 
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
        at 
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
        at sun.security.validator.Validator.validate(Validator.java:202)
        at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA12275)
        at 
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA12275)
        ... 22 more

        {http://xml.apache.org/axis/}hostname:isxp1313c.sims.cranfield.ac.uk

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
No trusted certificate found
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        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:165)
        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.MathService_instance.bindings.MathPortTypeSOAPBindingStub.add(MathPortTypeSOAPBindingStub.java:455)
        at 
org.globus.examples.clients.MathService_instance.Client.main(Client.java:27)
Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA12275)
        at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)
        at 
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
        at 
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:181)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:397)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
        ... 11 more
Caused by: sun.security.validator.ValidatorException: No trusted certificate 
found
        at 
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
        at 
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
        at sun.security.validator.Validator.validate(Validator.java:202)
        at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA12275)
        at 
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA12275)
        ... 22 more

The MathService is deployed successfully, but I cannot run the client. I have 
tried running it as normal user with usercertificate on the grid, as globus 
user and now as root. All these gave the same errors.

I have also tried running the container with the -nosec option, but it still 
does not work.

Any help is appreciated

Kind regards
Gokop

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to