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 <xsd:schema>. 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