You will need client-config.wsdd from $GLOBUS_LOCATION because that sets up the handlers that interpret the property you set on the stub. You can look at documentation deploying GT in tomcat and that should set up client-config also at the correct location: http://www.globus.org/toolkit/docs/4.0/common/javawscore/admin-index.html#ja vawscore-admin-tomcat-deploying Rachana
_____ From: BRACHET Maxime [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 2:02 AM To: Rachana Ananthakrishnan Cc: [email protected] Subject: Re: [gt-user] Re: |gt-user] Tomcat Servlet client for grid service Hi, I don't use client-config.wsdd. To set up the GSI for the client I use : ((Stub)port)._setProperty(Constants.GSI_SEC_MSG,Constants.SIGNATURE); ((Stub)port)._setProperty(Constants.GSI_TRANSPORT,Constants.SIGNATURE); To be sure the CLASSPATH contain all needed I copy paste all the jar from /usr/local/globus/lib to my WEB-INF/lib . Is there more things needed ? Regards, Maxime. 2008/6/9 Rachana Ananthakrishnan <[EMAIL PROTECTED]>: Can you ensure that *.wsdd files in $GLOBUS_LOCATION, especially client-config.wsdd is in your classpath prior to axis.jar? The configuration that you set in your client to use secure transport or secure message is read and applied by GT handlers that are configured in the server and client config.wsdd files shipped with Java WS Core. Rachana _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BRACHET Maxime Sent: Monday, June 09, 2008 8:09 AM To: [email protected] Subject: [gt-user] Re: |gt-user] Tomcat Servlet client for grid service Hi, I allways get the following error : GSI Transport or GSI Secure Message authentication required for "{... I get this error when using tomcat servlet as client. When I use the client form the command line no problem. Does Globus Tollkit GSI Transport and Message use special environment ? Is it possible to set up the user env for tomcat ? Regards, Maxime. 2008/6/6 BRACHET Maxime <[EMAIL PROTECTED]>: Hi, I have implemented a Client class to access to a grid service using GSI transport, authorization and authentication. This work fine when I use it as command line. To control my Client I wanted to implemented a tomcat serlet who use the Client class to ask the grid service. I load a fixed grid proxy file with the client. But when The servlet try to acces to the service it said me that GSI Transport or GSI Secure Massage authentication are required. It is strange because I use the same methods from the Client class. If someone have an idea to debug this situation. Thanks, Maxime.
