Thank you very much.  After I add this line, <parameter name="disableDNS" 
value="true"/> ,it works.


                                                                             
lorkyo

 
 
 


在2008-07-29,"Martin Feller" <[EMAIL PROTECTED]> 写道:
>Try to additionally add the parameter disableDNS (with value true)
>to $GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd:
>
>  
>  
>
>(replace YOUR.HOST.NAME with the hostname of your machine)
>
>Martin
>
>
>lorkyo wrote:
>>  Hello,  When I get the WSDL of a web service of the globus using url:
>> https://ibm.grid:8443/wsrf/services/examples/core/wfs/WFService?wsdl. I 
>> got the following one:
>> 
>> > targetNamespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/service";>
>> > location="https://192.168.6.140:8443/share/schema/wfs/WFS_bindings.wsdl"; 
>> namespace="http://www.globusorg/namespaces/wfs/core/wfs_instance/bindings"/>
>>     
>>     > name="WFSPortTypePort">
>> > location="https://192.168.6.140:8443/wsrf/services/examples/core/wfs/WFService"/>
>> 
>> 
>> > 
>> However, I need to get one that use my hostname instead of IP, like the 
>> following:
>> > targetNamespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/service";>
>> > location="https://ibmgrid:8443/share/schema/wfs/WFS_bindings.wsdl"; 
>> namespace="http://www.globus.org/namespaces/wfs/core/wfs_instance/bindings"/>
>>     
>>     > name="WFSPortTypePort">
>> > location="https://ibm.grid:8443/wsrf/services/examples/core/wfs/WFService"/>
>> 
>> 
>> 
>> 
>> I found the The in the  WSDL  is the same as what the console output as 
>> I start the container using command: globus-start-container:
>> SO What configuration should I do to make the container to use my host 
>> name instead of IP ? When I first  ran globus-start-container, It start as:
>> [1]: 
>> https://127.0.0.1:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
>> [2]: https://127.0.0.1:8443/wsrf/services/ManagedExecutableJobService
>> [3]: https://127.0.0.1:8443/wsrf/services/ManagementService
>> ...........
>> When I add a the a line (> />) to the file 
>> $GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd. The contianer 
>> still start as:
>>  [1]: 
>> https://127.0.0.1:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
>> [2]: https://127.0.0.1:8443/wsrf/services/ManagedExecutableJobService
>> [3]: https://127.0.0.1:8443/wsrf/services/ManagementService
>> ........................................
>> 
>> After I change the /etc/hosts to be:
>> 192.168.11.137    ibm.grid  
>> 127.0.0.1    ibm.grid      localhost.localdomain    localhost
>> that's to say I change the order of entry 127.0.0.1 and 192.168.11.137
>> , then then container start as:
>> [1]: 
>> https://192.168.11.137:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
>> [2]: https://192.168.11.137:8443/wsrf/services/ManagedExecutableJobService
>> [3]: https://192.168.11.137:8443/wsrf/services/ManagementService
>> ...........
>> When I remove the the lines containing ibm.grid from /etc/hosts, the 
>> container failed to start:
>> Failed to start container: Container failed to initialize [Caused by: 
>> gaobb.lreis].
>> 
>> Can any one help me? I need the all the url to contain my hostname 
>> instead of my IP because the  java program(the ServiceInvocation of java 
>> cogkit) don't think the IP and the hostname to identifying the same 
>> subject, but I use the host name as the subject name in the certificate, 
>> so I come across a authentication problem.
>> 
>> thank you
>

Reply via email to