Hello Tom,
Yes Tom I have installed the complete toolkit on a fedora machine. And I completed all the steps needed for setting up the First machine. I have also set the GLOBUS_LOCATION and ANT_HOME into my class path . Do I need to set the classpath for ANT_HOME/lib too? And yeah I don't any task.jar in ANT_HOME/lib. How do I get that. Whay is it missing in my lib? From: Tom Howe [mailto:[email protected]] Sent: Tuesday, December 16, 2008 10:39 AM To: Muzakkir Rehan Ahmed Cc: GT User Subject: Re: [gt-user] Error while creating GAR file My guess is (and I haven't looked closely) that you are missing the ant task jar from your classpath. Have you a) set GLOBUS_LOCATION and b) installed the entire toolkit? -Tom On Mon, Dec 15, 2008 at 9:44 PM, Muzakkir Rehan Ahmed <[email protected]> wrote: Hello All, I have globus 4.2.1 installed. Iam following the quickstart guide and the programmer's tutorial. My first machine has been setup completely. and now iam running the examples of Statebased web service(MathService) from the $EXAMPLES_DIR which is given in the programmers tutorial.All my JAVA_HOME,ANT_HOME,GLOBUS_LOCATION has been set. However iam having issue with Creating a GAR file. the error is as follows when i try to run it with --debug option. ********** raa...@uwo progtutorial-examples_0.2.1]$ ./globus-build-service.sh -d org/globus/examples/services/core/first/ -s schema/examples/MathService_instance/Math.wsdl --debug (at the very end it shows it this way)... The ' characters around the executable and arguments are not part of the command. [java] Retrieving document at '/home/raafat/Desktop/progtutorial-examples_0.2.1/build/schema/examples/Math Service_instance/Math.wsdl'. [java] Error processing WSDL: Could not read WSDL input file: /home/raafat/Desktop/progtutorial-examples_0.2.1/build/schema/examples/MathS ervice_instance/Math.wsdl [ant] Exiting /usr/local/globus-4.2.1/share/globus_wsrf_tools/build-stubs.xml. BUILD FAILED /home/raafat/Desktop/progtutorial-examples_0.2.1/build.xml:228: The following error occurred while executing this line: /usr/local/globus-4.2.1/share/globus_wsrf_tools/build-stubs.xml:166: Java returned: 2 at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper .java:508) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j ava:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: /usr/local/globus-4.2.1/share/globus_wsrf_tools/build-stubs.xml:166: Java returned: 2 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckEx ecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) ... 16 more --- Nested Exception --- /usr/local/globus-4.2.1/share/globus_wsrf_tools/build-stubs.xml:166: Java returned: 2 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckEx ecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j ava:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 1 second ******* please can anyone help with me with that. What might be the issue. Iam not migrating from other versions too.
