From: ye h. <hua...@gm...> - 2008-12-03 17:58:09
|
Hi, Vesso: Thanks for your information! No more to say, Appreciate! Regards ye On 3 Dec, 2008, at 6:42 PM, Vesselin Novov wrote: > Ye, > > The project site on SourceForge contains all documentation > available. The docs have been updated and the broken links fixed. > The updated site will be accessible as soon as the OMII team > completes the testing and releases the next version. > There should be a PBS configuration page very similar to the > Condor's one(which is here: "http://gridsam.sourceforge.net/2.1.0/gridsam-service/condor.html > "). > > I'm afraid there isn't much there of explaining the java API. > Your Java program would need to have all dependency jar files > located in the '/lib' directories of the OMII Client and the GridSAM > Client on its class path. > In your code you'd just need to instantiate > "org.icenigrid.gridsam.client.common.ClientSideJobManager". Once > instantiated you can call client-side methods for submitting jobs, > checking statuses, terminating, etc. > In its interface this class has all available client-side operations > for invoking a GridSAM server exposing either the proprietary > GridSAM interface or one of the OGF BES or HPC Profile interfaces. > > --Vesso > P.S. The parameters for some of the methods accept XmlBeans-type > objects. The classes for those objects are available in the gridsam- > client-*.jar file which you should have in your client installation > '/lib' directory. > > ye huang wrote: >> Hi, Vesso: >> Thanks, yes, you are right! >> I success my sample with "https", not "http", It seems a bug of >> online tutorial. >> >> BTW, where could I find more document about GridSAM? Such as how to >> configure GridSAM with a PBS/Condor cluster, how to use GridSAM >> java API (not only plain javadoc, something like a reference >> implementation). Unfortunately, It seems not easy to find more >> information from gridsam.sourceforge.net; and actually, many of its >> links are unreachable, such as: >> http://gridsam.sourceforge.net/2.0.0/gridsam-service/deploymentguide.html >> http://www.omii.ac.uk/docs/3.0.0/omii_2_user_guide.htm >> etc... >> >> Regards >> ye >> >> On 3 Dec, 2008, at 5:34 PM, Vesselin Novov wrote: >> >>> Hi Ye, >>> >>> If you've made your server/client installations with default >>> configurations then, the communication between the omii-client and >>> omii-server is secured. >>> The server URL should start with 'https' not 'http'. >>> >>> --Vesso >>> >>> ye huang wrote: >>>> Hi, Dear all: >>>> I installed omii-3.4-server and omii-client-3.4.2 on my mac osx, >>>> it seems the installation works. During the installation, I >>>> selected to install the integrated Software Component: >>>> GridSAM2.0.2, on both omii-server-3.4.2 and omii-client-3.4.2. >>>> >>>> Then, I try to follow GridSAM quick start as follows: >>>> >>>> 1) I started GridSAM service: >>>> *** >>>> ye-Mac:bin yehuang$ ./startomii.sh Starting up tomcat >>>> Using JRE_HOME: /Library/Java/Home >>>> Waiting for container....!.. Container started. >>>> *** >>>> >>>> Due the logged information, it seems server is started properly: >>>> *** >>>> 2008-12-03 15:13:26,921 INFO [JobManagerConfigurator] GridSAM >>>> machinery initialising... >>>> 2008-12-03 15:13:26,985 INFO [ResourceRegistry] loading module >>>> description from classpath jobmanager.xml >>>> 2008-12-03 15:13:29,173 INFO [JobManagerConfigurator] GridSAM >>>> machinery initialised >>>> *** >>>> >>>> 2) Then I try to submit the jsdl sample from quick start, which >>>> prompts: >>>> >>>> *** >>>> ye-Mac:bin yehuang$ pwd >>>> /Users/yehuang/app/OMIICLIENT_HOME/omii-uk-client/gridsam/bin >>>> ye-Mac:bin yehuang$ ./gridsam-submit -s "http://localhost:18080/gridsam/services/gridsam >>>> " /Users/yehuang/test/helloworld.jsdl >>>> 2008-12-03 15:11:58,846 FATAL [GridSAMSubmit] (main:) unable to >>>> submit job: failed to submit job: ; nested exception is: >>>> org.apache.commons.httpclient.ProtocolException: The server >>>> localhost failed to respond with a valid HTTP response >>>> *** >>>> >>>> 3) Above information seems to shown the submission is correct, >>>> but the server behaves strangely. I try to browse the wsdl of >>>> gridsam, >>>> *** >>>> http://localhost:18080/gridsam/services/gridsam?WSDL. >>>> *** >>>> >>>> but my firefox always prompts a download of such file, after >>>> download, i found it's empty... Then I try to visit the the >>>> parent page: >>>> >>>> *** >>>> http://localhost:18080/g >>>> and >>>> http://localhost:18080/gridsam/s >>>> *** >>>> >>>> Some other empty files are prompted for download. >>>> >>>> In conclusion) >>>> What's up?... Does it mean i fail to start GridSAM, or I have to >>>> install an individual gridsam, instead of bundled one within omii- >>>> installer? >>>> >>>> Regards >>>> ye >>>> >>>> -- >>>> >>>> Ye Huang, Department of Informatics >>>> University of Fribourg / Pérolles 2 - Bld de Pérolles 90 >>>> 1700 Fribourg, Switzerland >>>> >>>> e-mail: ye....@he... <mailto:ye....@he...>, ye....@un... >>>> <mailto:ye....@un...> >>>> http://diuf.unifr.ch/people/huangy/ >>>> Office: +41 26 429 65 95 >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move >>>> Developer's challenge >>>> Build the coolest Linux based applications with Moblin SDK & win >>>> great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in >>>> the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ <http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> > >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> GridSAM-Discuss mailing list >>>> Gri...@li... <mailto:Gri...@li... >>>> > >>>> https://lists.sourceforge.net/lists/listinfo/gridsam-discuss >>>> >> >> >> -- >> >> Ye Huang, Department of Informatics >> University of Fribourg / Pérolles 2 - Bld de Pérolles 90 >> 1700 Fribourg, Switzerland >> >> e-mail: ye....@he... <mailto:ye....@he...>, ye....@un... >> <mailto:ye....@un...> >> http://diuf.unifr.ch/people/huangy/ >> Office: +41 26 429 65 95 >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> GridSAM-Discuss mailing list >> Gri...@li... >> https://lists.sourceforge.net/lists/listinfo/gridsam-discuss >> -- Ye Huang, Department of Informatics University of Fribourg / Pérolles 2 - Bld de Pérolles 90 1700 Fribourg, Switzerland e-mail: ye....@he..., ye....@un... http://diuf.unifr.ch/people/huangy/ Office: +41 26 429 65 95 |