COMP3019 Coursework Help Steve Crouch School of Electronics and Computer Science.

Slides:



Advertisements
Similar presentations
Cognos Web Services Business Intelligence. SOA SOA (Service Oriented Architecture) The SOA approach involves seven key principles: -- Coarse -grained.
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Coursework II: Google MapReduce in GridSAM Steve Crouch School of Electronics and Computer Science.
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
FILE TRANSFER PROTOCOL Short for File Transfer Protocol, the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Linux & Shell Scripting Small Group Lecture 4 How to Learn to Code Workshop group/ Erin.
NetBeans IDE 5.0 Tutorial for Applets Fang Chu Kamolbhan Olapiriyakul.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Automating Student Course Profile & Student Record Report Uploads to GaDOE Chris A. McManigal Camden County Schools Kingsland, GA.
A crash course in njit’s Afs
Using Ant to build J2EE Applications Kumar
1 CSE 331 Java Packages; JAR Archives slides created by Marty Stepp based on materials by M. Ernst, S. Reges, D. Notkin, R. Mercer, Wikipedia
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Sviluppo di applicazioni web Servlet
1 Servlet How can a HTML page, displayed using a browser, cause a program on a server to be executed?
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Mohammed Mohsen Links Links are what make the World Wide Web web-like one document on the Web can link to several other documents, and those.
CSE 305 Theory of Database Tutorial on Connecting with Sybase from Java program and Developing GUI Jalal Mahmud, TA, CSE 305.
JavaScript, Fourth Edition
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Unix Basics Chapter 4.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
Chapter 8 Cookies And Security JavaScript, Third Edition.
Compiled Matlab on Condor: a recipe 30 th October 2007 Clare Giacomantonio.
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Chapter 3 Servlet Basics. 1.Recall the Servlet Role 2.Basic Servlet Structure 3.A simple servlet that generates plain text 4.A servlet that generates.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
Department of Computer Science Southern Illinois University Edwardsville Spring, 2008 Dr. Hiroshi Fujinoki FTP Protocol Programming.
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
1 Chapter 9 – Cookies, Sessions, FTP, and More spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
1 Creating an RTC Hot Fix September 18, Steps for creating a hot fix Find the work item where the defect is resolved. Check for existing hot fixes.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Hands On UNIX II Dorcas Muthoni. Processes A running instance of a program is called a "process" Identified by a numeric process id (pid)‏  unique while.
1 Creating Web Services from a existing tool Presented by Ashraf Memon Hands-on Ashraf Memon, Ghulam Memon.
Chapter 3 Understanding Ant datatypes and properties.
>> PHP: Insert Query & Form Processing. Insert Query Step 1: Define Form Variables Step 2: Make DB Connection Step 3: Error Handling Step 4: Define the.
Applets, Images, and Audio Chapter 14 CSCI CSCI 1302 – Applets, Images, and Audio2 Outline Introduction The Applet Class –The init Method –The start.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
MIS Week 5 Site:
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
11 DEPLOYING AN UPDATE MANAGEMENT INFRASTRUCTURE Chapter 6.
Setting Up First, install tomcat and axis as described elsewhere. Then copy Tomcat into a second folder. –I’ve named mine jakarta- tomcat-server and jakarta-
Review Why do we use protection levels? Why do we use constructors?
Connect:Direct for UNIX v4.2.x Silent Installation
WWW and HTTP King Fahd University of Petroleum & Minerals
...looking a bit closer under the hood
Tomcat Celsina Bignoli
LOCO Extract – Transform - Load
FTP and UNIX TOPICS Exploring your Web Hosting Site FTP UNIX
Operation System Program 4
Configuring Internet-related services
SPL – PS1 Introduction to C++.
Web Application Development Using PHP
Presentation transcript:

COMP3019 Coursework Help Steve Crouch School of Electronics and Computer Science

Need Help?  Coursework resources: – – Some help pointers on page   Due handin date: 27 th March 2014 at 4pm

General  Look out when using VPNs… – Often a problem when GridSAM connects to a local FTP server (e.g. GridSAM FTP server)  If having connecting problems, check & add temporary firewall exception rules for GridSAM/FTP ports 3

Part 1 – M-grid  Coursework page mentions we can load text file into applet by packaging it within jar – should we: – Pass single character in as parameter? Or – Pass both character and text file as parameters?  The second one…  Applet should have two arguments – can pass in character and text file name, or contents of text file – first is neater! 4

Part II – GridSAM and MapReduce  Running the remotecat-staging.jsdl example / 2(a) Could not connect to FTP server on "gridsam.lesc.doc.ic.ac.uk ". – Change elements to reflect where your own ftp instance is located – e.g. ost:55521/concat.sh ost:55521/concat.sh

Part II – GridSAM and MapReduce  Running the remotecat-staging.jsdl example / 2(a) java.net.MalformedURLException – Copying and pasting from example in slides won’t work, e.g.  …the./gridsam.sh command to run example  …or just copying the GridSAM URL – Problem is the quotes around “ ridsam?wsdl” “ ridsam?wsdl – Type in manually!

Part II – GridSAM and MapReduce  2(a) $./GridSAMExampleCompile Compiling the GridSAM client example... javac: file not found: GridSAMExample.java  Ensure you’ve unpacked the contents of COMP3019- materials.tgz into the omii client directory… and not into a subdirectory of that directory – e.g. download COMP3019- materials.tgz – $ cd gridsam client $ tar -xzf COMP3019- materials.tgz Should have the following in the gridsam client directory after unpacking it: COMP3019-materials.tgz GridSAMClient.class GridSAMExample.class GridSAMExample.java GridSAMExampleCompile GridSAMExampleCompile.bat GridSAMExampleRun GridSAMExampleRun.bat LICENCE.txt MyProxyClient.class SetupGridSAM.class conf demos endorsed examples gridsam.sh lib myproxy.sh

Part II – GridSAM and MapReduce  2(a) Running under Eclipse IDE (probably more hassle, up to you): – Exception in thread "main" org.icenigrid.gridsam.core.SubmissionExce ption: failed to submit job: WSDoAllReceiver: Request does not contain required Security header – Need to include the gridsam client/conf directory on classpath – Look at the GridSAMExampleRun script

Part II – GridSAM and MapReduce  2(a) Exception in thread "main" org.icenigrid.gridsam.core.SubmissionExce ption: failed to submit job: java.net.MalformedURLException: For input string: "port“ – Need to modify the GridSAMExampleRun script to point to the GridSAM service and your client FTP server – Essentially change the ftp.server and gridsam.server properties

Part II – GridSAM and MapReduce  2(a) With GridSAM FTP server: – Exception in thread "main" java.lang.NoClassDefFoundError: Systems Caused by: java.lang.ClassNotFoundException: Systems at java.net.URLClassLoader$1.run(URLClassLoader.java:20 2) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java: 190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: Systems. Program will exit. – Install GridSAM to location without spaces in path & filename to avoid this

Part II – GridSAM and MapReduce  2(a) With file staging, make sure you use username/password in ftp sources and targets e.g. Otherwise you may see (after launching job):  mymachine:~/gridsam$./gridsam.sh GridSAMStatus -sn me -j urn:gridsam:ff fd3c742012fd3cb098f0001 Job Progress 'urn:gridsam:ff fd3c742012fd3cb098f0001': pending -> staging-in -> failed --- pending :06: job is being scheduled --- staging-in :06: staging files with private working directory failed :08: FileJob failed after retry : 11 times : ftp://localhost:55521/concat.sh 11

Part II – GridSAM and MapReduce  2(b) Pseudocode section doesn't mention a function for getting the job ID of a particular job – You are free to make assumptions on how the primitives work 12