You can define the hostname to be used instead of the default local host
by setting parameters in the globalConfiguration-section in
$GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd

<parameter name="disableDNS" value="true"/>
<parameter name="logicalHost" value="192.168.2.3"/>

More explanations here:
http://www.globus.org/toolkit/docs/4.0/common/javawscore/admin-index.html#id2532489

Martin

Dridi, Saber wrote:
Hi,

Martin thanks for your help.
I have a question VO. I want to send a job from a PC to another one. I use 
usually the same web service org_globus_examples_services_core_first

So i have put the ip address of the PC where the container will run:

student:/etc/network# ifconfig
eth0      Protokoll:Ethernet  Hardware Adresse 00:13:D4:83:AF:BC
          inet Adresse:192.168.2.3  Bcast:192.168.2.255  Maske:255.255.255.0
          inet6 Adresse: fe80::213:d4ff:fe83:afbc/64 
Gültigkeitsbereich:Verbindu ng
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4694 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4371 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:4821198 (4.5 MiB)  TX bytes:636271 (621.3 KiB)
          Interrupt:201

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:59 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:33916 (33.1 KiB)  TX bytes:33916 (33.1 KiB)

than i insert the ip address of the pc:

student:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
#auto lo
#iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

iface eth0 inet static
address 192.168.2.3
hwaddress ether 00:13:D4:83:AF:BC
netmask 255.255.255.0


Finally i send the job request from the second PC:

java -classpath ./build/stubs/classes:$CLASSPATH 
org.globus.examples.clients.MathService_instance.Client 
http://192.168.2.3:8080/wsrf/services/examples/core/first/MathService
Current value: 15
Current value: 10


i see that the job request from a PC to a second PC work.

My question is about the globus container. The web services on the PC where i 
have insert the ip address 192.168.2.3 start with the address 127.0.1.1

Can some tell me why the container don´ t start the web services with the ip 
address 192.168.2.3 ?

Here the globus container:


glo...@student:~$ globus-start-container -nosec
2009-01-12 15:49:19,956 ERROR service.ReliableFileTransferImpl [main,<init>:69] 
Unable to setup database driver with pooling.Verbindung verweigert. Prüfen Sie, daß 
der Server TCP/IP-Verbindungen annimmt.
2009-01-12 15:49:20,452 WARN  service.ReliableFileTransferHome 
[main,initialize:97] All RFT requests will fail and all GRAM jobs that require 
file staging will fail.Verbindung verweigert. Prüfen Sie, daß der Server 
TCP/IP-Verbindungen annimmt.
Starting SOAP server at: http://127.0.1.1:8080/wsrf/services/
With the following services:

[1]: http://127.0.1.1:8080/wsrf/services/AdminService
[2]: http://127.0.1.1:8080/wsrf/services/AuthzCalloutTestService
[3]: http://127.0.1.1:8080/wsrf/services/CASService
[4]: http://127.0.1.1:8080/wsrf/services/ContainerRegistryEntryService
[5]: http://127.0.1.1:8080/wsrf/services/ContainerRegistryService
[6]: http://127.0.1.1:8080/wsrf/services/CounterService
[7]: http://127.0.1.1:8080/wsrf/services/DefaultIndexService
[8]: http://127.0.1.1:8080/wsrf/services/DefaultIndexServiceEntry
[9]: http://127.0.1.1:8080/wsrf/services/DefaultTriggerService
[10]: http://127.0.1.1:8080/wsrf/services/DefaultTriggerServiceEntry
[11]: http://127.0.1.1:8080/wsrf/services/DelegationFactoryService
[12]: http://127.0.1.1:8080/wsrf/services/DelegationService
[13]: http://127.0.1.1:8080/wsrf/services/DelegationTestService
[14]: http://127.0.1.1:8080/wsrf/services/InMemoryServiceGroup
[15]: http://127.0.1.1:8080/wsrf/services/InMemoryServiceGroupEntry
[16]: http://127.0.1.1:8080/wsrf/services/InMemoryServiceGroupFactory
[17]: http://127.0.1.1:8080/wsrf/services/IndexFactoryService
[18]: http://127.0.1.1:8080/wsrf/services/IndexService
[19]: http://127.0.1.1:8080/wsrf/services/IndexServiceEntry
[20]: http://127.0.1.1:8080/wsrf/services/ManagedExecutableJobService
[21]: http://127.0.1.1:8080/wsrf/services/ManagedJobFactoryService
[22]: http://127.0.1.1:8080/wsrf/services/ManagedMultiJobService
[23]: http://127.0.1.1:8080/wsrf/services/ManagementService
[24]: http://127.0.1.1:8080/wsrf/services/NotificationConsumerFactoryService
[25]: http://127.0.1.1:8080/wsrf/services/NotificationConsumerService
[26]: http://127.0.1.1:8080/wsrf/services/NotificationTestService
[27]: http://127.0.1.1:8080/wsrf/services/PersistenceTestSubscriptionManager
[28]: http://127.0.1.1:8080/wsrf/services/ReliableFileTransferFactoryService
[29]: http://127.0.1.1:8080/wsrf/services/ReliableFileTransferService
[30]: http://127.0.1.1:8080/wsrf/services/RendezvousFactoryService
[31]: http://127.0.1.1:8080/wsrf/services/ReplicationService
[32]: http://127.0.1.1:8080/wsrf/services/SampleAuthzService
[33]: http://127.0.1.1:8080/wsrf/services/SecureCounterService
[34]: http://127.0.1.1:8080/wsrf/services/SecurityTestService
[35]: http://127.0.1.1:8080/wsrf/services/ShutdownService
[36]: http://127.0.1.1:8080/wsrf/services/SubscriptionManagerService
[37]: http://127.0.1.1:8080/wsrf/services/TestAuthzService
[38]: http://127.0.1.1:8080/wsrf/services/TestRPCService
[39]: http://127.0.1.1:8080/wsrf/services/TestService
[40]: http://127.0.1.1:8080/wsrf/services/TestServiceRequest
[41]: http://127.0.1.1:8080/wsrf/services/TestServiceWrongWSDL
[42]: http://127.0.1.1:8080/wsrf/services/TriggerFactoryService
[43]: http://127.0.1.1:8080/wsrf/services/TriggerService
[44]: http://127.0.1.1:8080/wsrf/services/TriggerServiceEntry
[45]: http://127.0.1.1:8080/wsrf/services/Version
[46]: http://127.0.1.1:8080/wsrf/services/WidgetNotificationService
[47]: http://127.0.1.1:8080/wsrf/services/WidgetService
[48]: 
http://127.0.1.1:8080/wsrf/services/examples/core/factory/MathFactoryService
[49]: http://127.0.1.1:8080/wsrf/services/examples/core/factory/MathService
[50]: http://127.0.1.1:8080/wsrf/services/examples/core/first/MathService
[51]: http://127.0.1.1:8080/wsrf/services/examples/core/rp/MathService
[52]: http://127.0.1.1:8080/wsrf/services/examples/core/singleton/MathService
[53]: 
http://127.0.1.1:8080/wsrf/services/examples/security/first/MathAuthGSIService
[54]: 
http://127.0.1.1:8080/wsrf/services/examples/security/first/MathAuthService
[55]: 
http://127.0.1.1:8080/wsrf/services/examples/security/first/MathRunAsService
[56]: http://127.0.1.1:8080/wsrf/services/examples/security/first/MathService
[57]: http://127.0.1.1:8080/wsrf/services/examples/security/gridmap/MathService
[58]: 
http://127.0.1.1:8080/wsrf/services/examples/security/resource/MathFactoryService
[59]: http://127.0.1.1:8080/wsrf/services/examples/security/resource/MathService
[60]: 
http://127.0.1.1:8080/wsrf/services/examples/security/resource_self/MathFactoryService
[61]: 
http://127.0.1.1:8080/wsrf/services/examples/security/resource_self/MathService
[62]: http://127.0.1.1:8080/wsrf/services/gsi/AuthenticationService
[63]: http://127.0.1.1:8080/wsrf/services/mds/test/execsource/IndexService
[64]: http://127.0.1.1:8080/wsrf/services/mds/test/execsource/IndexServiceEntry
[65]: http://127.0.1.1:8080/wsrf/services/mds/test/subsource/IndexService
[66]: http://127.0.1.1:8080/wsrf/services/mds/test/subsource/IndexServiceEntry
[67]: http://127.0.1.1:8080/wsrf/services/source/services/JobService
Stopped SOAP Axis server at: http://127.0.1.1:8080/wsrf/services/



Thanks

Saber Dridi
Universität Siegen





________________________________________
Von: Martin Feller [[email protected]]
Gesendet: Montag, 12. Januar 2009 14:33
An: Dridi, Saber
Cc: [email protected]; [email protected]
Betreff: Re: [gt-user] Failed to start container: [Caused by: 
java.lang.reflect.InvocationTargetException]

This normally means that something is wrong with a service being deployed
in the container. You can get more information about what the problem might
be by starting the container as follows:

globus-start-container -debug


Martin

Dridi, Saber wrote:
Hi,

i have a question about starting the globus container. I have deployed the web 
service org_globus_examples_services_core_first
but by starting the container i became the following error:

glo...@saber:~$ globus-start-container -nosec
Failed to start container:  [Caused by: 
java.lang.reflect.InvocationTargetException]

Can someone help me please?

Thanks

Reply via email to