Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR
Adding more locations to the classpaths in the build.xml does fix the build but I'm concerned about why the classpath was wrong in the first place. Plus, now I'm including two copies of axis.jar. ./lib/webmds/WEB-INF/lib/axis.jar ./lib/common/axis.jar Thanks, Bill -Original Message- From: Nakkapat Boonsri [mailto:nhtg...@googlemail.com] Sent: Tuesday, July 21, 2009 12:47 PM To: Nelson, William Cc: gt-user@lists.globus.org Subject: Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR Hi, I'm as well following the new 4.2 tutorial currently. As a workaround, you can add symbolic link for files from ./lib/common and ./lib/webmds to ./lib but I prefer leaving main globus directory unmodified by editing the build.xml to add it to classpath manually (ant target "compile" and "compileStubs"). Furthermore, the security descriptors (in the new tutorial) have to be modified as well, using the new schema from globus 4.2. I'm still got a problem on globus 4.2. If client is configured to use security descriptor defined in a xml file, the schema file could not be read: [ERROR] digester.Digester - Parse Error at line 2 column 80: schema_reference.4: Failed to read schema document 'client_security_descriptor.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Security descriptor could be configured by setting properties of the stub, but not all properties could be set. As a workaround, I have to instantiate ClientSecurityConfig, configure as need, and use as a parameter for ClientSecurityDescriptor's constructor, directly in code Regards, Nakkapat Nelson, William wrote: > > Hi, > > I'm working my way through the new 4.2 tutorial, currently at 3.4.3. > Creating the MathService GAR. > > when I run ./globus-build-service.sh \ > > -d org/globus/examples/services/core/first/ \ > > -s schema/examples/MathService_instance/Math.wsdl > > > > I get a build errors, the first one being that it can't find the axis jar. > > > > compileStubs: > > [javac] Compiling 10 source files to > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/classes > > [javac] > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/src/org/globus/examples/stubs/MathService_instance/AddResponse.java:42: > > package org.apache.axis.description does not exist > > > > I did a `find` for axis and found these jars: > > ./lib/common/axis.jar > > ./lib/common/cog-axis-1.6.0.jar > > ./lib/common/axis-url.jar > > ./lib/webmds/WEB-INF/lib/axis.jar > > ./lib/webmds/WEB-INF/lib/cog-axis-1.6.0.jar > > > > I don't see any of these in my classPath. I can move stuff around but > how did you intend that this be set up? > > > > Thanks, > > Bill > > > -- Nakkapat Boonsri - Südstr. 152 74072 Heilbronn Germany - email : nhtg...@gmail.com tel.: +49(0)176/6110-4890
Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR
I got an off line response from Yehia. The $GLOBUS_LOCATION/etc/globus-devel-env.sh script needed to be sourced. Thanks Yehia! BTW: How do I reply to a thread on this forum and keep it in the thread? Thanks, Bill -Original Message- From: gt-user-boun...@lists.globus.org [mailto:gt-user-boun...@lists.globus.org] On Behalf Of Nelson, William Sent: Wednesday, July 22, 2009 11:30 AM To: Nakkapat Boonsri Cc: gt-user@lists.globus.org Subject: Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR Adding more locations to the classpaths in the build.xml does fix the build but I'm concerned about why the classpath was wrong in the first place. Plus, now I'm including two copies of axis.jar. ./lib/webmds/WEB-INF/lib/axis.jar ./lib/common/axis.jar Thanks, Bill -Original Message- From: Nakkapat Boonsri [mailto:nhtg...@googlemail.com] Sent: Tuesday, July 21, 2009 12:47 PM To: Nelson, William Cc: gt-user@lists.globus.org Subject: Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR Hi, I'm as well following the new 4.2 tutorial currently. As a workaround, you can add symbolic link for files from ./lib/common and ./lib/webmds to ./lib but I prefer leaving main globus directory unmodified by editing the build.xml to add it to classpath manually (ant target "compile" and "compileStubs"). Furthermore, the security descriptors (in the new tutorial) have to be modified as well, using the new schema from globus 4.2. I'm still got a problem on globus 4.2. If client is configured to use security descriptor defined in a xml file, the schema file could not be read: [ERROR] digester.Digester - Parse Error at line 2 column 80: schema_reference.4: Failed to read schema document 'client_security_descriptor.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Security descriptor could be configured by setting properties of the stub, but not all properties could be set. As a workaround, I have to instantiate ClientSecurityConfig, configure as need, and use as a parameter for ClientSecurityDescriptor's constructor, directly in code Regards, Nakkapat Nelson, William wrote: > > Hi, > > I'm working my way through the new 4.2 tutorial, currently at 3.4.3. > Creating the MathService GAR. > > when I run ./globus-build-service.sh \ > > -d org/globus/examples/services/core/first/ \ > > -s schema/examples/MathService_instance/Math.wsdl > > > > I get a build errors, the first one being that it can't find the axis jar. > > > > compileStubs: > > [javac] Compiling 10 source files to > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/classes > > [javac] > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/src/org/globus/examples/stubs/MathService_instance/AddResponse.java:42: > > package org.apache.axis.description does not exist > > > > I did a `find` for axis and found these jars: > > ./lib/common/axis.jar > > ./lib/common/cog-axis-1.6.0.jar > > ./lib/common/axis-url.jar > > ./lib/webmds/WEB-INF/lib/axis.jar > > ./lib/webmds/WEB-INF/lib/cog-axis-1.6.0.jar > > > > I don't see any of these in my classPath. I can move stuff around but > how did you intend that this be set up? > > > > Thanks, > > Bill > > > -- Nakkapat Boonsri - Südstr. 152 74072 Heilbronn Germany - email : nhtg...@gmail.com tel.: +49(0)176/6110-4890
Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR
When I got to the building the client step in the tutorial it mentioned sourcing the globus-devel-env.sh script but also said that it did not need to be sourced on the previous build because it was referenced by the ANT build.xml. So, it is still not working as per the tutorial instructions. I couldn't find any references to globus-devel-env in the build.xml file. Thanks, Bill -Original Message- From: Nelson, William Sent: Wednesday, July 22, 2009 2:01 PM To: Nelson, William; Nakkapat Boonsri Cc: gt-user@lists.globus.org Subject: RE: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR I got an off line response from Yehia. The $GLOBUS_LOCATION/etc/globus-devel-env.sh script needed to be sourced. Thanks Yehia! BTW: How do I reply to a thread on this forum and keep it in the thread? Thanks, Bill -Original Message- From: gt-user-boun...@lists.globus.org [mailto:gt-user-boun...@lists.globus.org] On Behalf Of Nelson, William Sent: Wednesday, July 22, 2009 11:30 AM To: Nakkapat Boonsri Cc: gt-user@lists.globus.org Subject: Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR Adding more locations to the classpaths in the build.xml does fix the build but I'm concerned about why the classpath was wrong in the first place. Plus, now I'm including two copies of axis.jar. ./lib/webmds/WEB-INF/lib/axis.jar ./lib/common/axis.jar Thanks, Bill -Original Message- From: Nakkapat Boonsri [mailto:nhtg...@googlemail.com] Sent: Tuesday, July 21, 2009 12:47 PM To: Nelson, William Cc: gt-user@lists.globus.org Subject: Re: [gt-user] new 4.2 tutorial - 3.4.3. Creating the MathService GAR Hi, I'm as well following the new 4.2 tutorial currently. As a workaround, you can add symbolic link for files from ./lib/common and ./lib/webmds to ./lib but I prefer leaving main globus directory unmodified by editing the build.xml to add it to classpath manually (ant target "compile" and "compileStubs"). Furthermore, the security descriptors (in the new tutorial) have to be modified as well, using the new schema from globus 4.2. I'm still got a problem on globus 4.2. If client is configured to use security descriptor defined in a xml file, the schema file could not be read: [ERROR] digester.Digester - Parse Error at line 2 column 80: schema_reference.4: Failed to read schema document 'client_security_descriptor.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . Security descriptor could be configured by setting properties of the stub, but not all properties could be set. As a workaround, I have to instantiate ClientSecurityConfig, configure as need, and use as a parameter for ClientSecurityDescriptor's constructor, directly in code Regards, Nakkapat Nelson, William wrote: > > Hi, > > I'm working my way through the new 4.2 tutorial, currently at 3.4.3. > Creating the MathService GAR. > > when I run ./globus-build-service.sh \ > > -d org/globus/examples/services/core/first/ \ > > -s schema/examples/MathService_instance/Math.wsdl > > > > I get a build errors, the first one being that it can't find the axis jar. > > > > compileStubs: > > [javac] Compiling 10 source files to > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/classes > > [javac] > /usr/local/gt4/gt4.2tutorial/progtutorial-files/build/stubs-org_globus_examples_services_core_first/src/org/globus/examples/stubs/MathService_instance/AddResponse.java:42: > > package org.apache.axis.description does not exist > > > > I did a `find` for axis and found these jars: > > ./lib/common/axis.jar > > ./lib/common/cog-axis-1.6.0.jar > > ./lib/common/axis-url.jar > > ./lib/webmds/WEB-INF/lib/axis.jar > > ./lib/webmds/WEB-INF/lib/cog-axis-1.6.0.jar > > > > I don't see any of these in my classPath. I can move stuff around but > how did you intend that this be set up? > > > > Thanks, > > Bill > > > -- Nakkapat Boonsri - Südstr. 152 74072 Heilbronn Germany - email : nhtg...@gmail.com tel.: +49(0)176/6110-4890
[gt-user] catching the output of job
hi, I have a question with the file catalog, is posible launch a globus jobs with files that are located on a gridftp server? or, send the output of globus to gridftp server and register in rls ? in glite is posible with jdl arguments InputSandbox = { "gsiftp://aliserv6.ct.infn.it/dpm/ct.infn.it/home/gilda/generated/2006-05-26/filea5f5a851-8cec-4494-9afb-0c59e0625380";, "script_gridftp_input_data.sh" }; https://grid.ct.infn.it/twiki/bin/view/GILDA/WmProxyUse exists a similar option for globus ? Many thanks. -- JuanPablo
Re: [gt-user] catching the output of job
Hi JuanPablo, With GRAM5 there are parameters to: - set the working directory - stage files in, transfer files from a gridftp/GASS server to a local file path - stage files out, transfer files from a local file path to a gridftp/ GASS server All parameters are here: http://www.globus.org/api/c-globus-4.2.1/globus_gram_job_manager/html/globus_job_manager_rsl.html The "sandboxes" that are described here: https://grid.ct.infn.it/twiki/bin/view/GILDA/WmProxyUse seem to have a similar file staging functionality, but not the same as in GRAM. Why do you ask? Cheers, -Stu On Jul 22, 2009, at Jul 22, 2:01 PM, JuanPablo wrote: hi, I have a question with the file catalog, is posible launch a globus jobs with files that are located on a gridftp server? or, send the output of globus to gridftp server and register in rls ? in glite is posible with jdl arguments InputSandbox = { "gsiftp://aliserv6.ct.infn.it/dpm/ct.infn.it/home/gilda/generated/2006-05-26/filea5f5a851-8cec-4494-9afb-0c59e0625380 ", "script_gridftp_input_data.sh" }; https://grid.ct.infn.it/twiki/bin/view/GILDA/WmProxyUse exists a similar option for globus ? Many thanks. -- JuanPablo