On Feb 28, 2008, at 3:50 AM, Denny Yin wrote:

Hi all,

Got some problems for C WS Core example BlogService.

Server(dir: /usr/local/globus-4.0.1/share/schema/tutorials/blog):
export GLOBUS_LOCATION=/usr/local/globus-4.0.1
source $GLOBUS_LOCATION/etc/globus-user-env.sh
$GLOBUS_LOCATION/bin/globus-wsrf-cgen -no-service -s blog_service - flavor gcc32dbg -d bindings blog_service.wsdl make dist(but I observed that whereever I put BlogService_skeleton.c, it was not packaged into blog_service_bindings-1.2.tar.gz, so after failed for the first time, I tar BlogService_skeleton.c into blog_service_bindings-1.2.tar.gz by myself to make it look exactly like blog_service_bindings-0.2.tar.gz I downloaded from the website) $GLOBUS_LOCATION/sbin/gpt-build bindings/ blog_service_bindings-1.2.tar.gz gcc32dbg
$GLOBUS_LOCATION/bin/globus-wsc-container
Output:
Contact: https://debianGrid002:32768/

Client(dir: /usr/local/globus-4.0.1/share/schema/tutorials/blog):
export GLOBUS_LOCATION=/usr/local/globus-4.0.1
source $GLOBUS_LOCATION/etc/globus-user-env.sh
$GLOBUS_LOCATION/bin/globus-wsrf-cgen -no-service -s blog_client - flavor gcc32dbg -d bindings blog_service.wsdl $GLOBUS_LOCATION/sbin/gpt-build bindings/ blog_client_bindings-1.2.tar.gz gcc32dbg $GLOBUS_LOCATION/bin/globus-makefile-header --flavor=gcc32dbg blog_client_bindings > BlogClientMakefile.include
make
$./create-blog https://debianGrid002:32768/ test ade test.xml
Output:
PANIC
Failed createCounterREsult
globus_soap_message_module: SOAP Fault
Fault code: Client
Fault string: globus_service_engine_module: Service not found at path: /

And at this time output at Server side:
[SERVICE ERROR]: globus_service_engine_module: Service not found at path: /

output for second try:
Client:
PANIC
Failed createCounterResult:
globus_soap_message_module: Failed receiving response Blog_createBlogTopic.
globus_xio: System error in write: Connection reset by peer
globus_xio: A system call failed: Connection reset by peer

And similar error occurs when I try '$GLOBUS_LOCATION/bin/globus-wsc- container -nosec' or the Counter Client example.
globus_soap_message_module: SOAP Fault
Fault code: Client
Fault string: globus_service_engine_module: Service not found at path: / globus_extension_module: Couldn't dlopen libglobus_service_modules_gcc32.so in /usr/local/globus-4.0.5/lib (or LD_LIBRARY_PATH): libglobus_service_modules_gcc32.so: cannot open shared object file: No such file or directory


Pass the full service path on the command-line, not the root of the space served by the service container. For the blog service, I think it's https://debianGrid002:32768/wsrf/services/BlogService, and for the counter https://debianGrid002:32768/wsrf/services/CounterService

Joe

Reply via email to