Checking the Server.

Slides:



Advertisements
Similar presentations
AppViewXS Installation Infrastructure Overview Web Server Application Server.
Advertisements

Hyrax Installation and Customization ESIP ‘08 Summer Meeting Best Practices in Services and Data Interoperability Dan Holloway James Gallagher.
Java Script Session1 INTRODUCTION.
MC365 Application Servers: Tomcat. Today We Will: Discuss what application servers are Introduce Tomcat Download and install Tomcat Break up into teams.
1 Running Web Applications with Tomcat CS , Winter 2007/8.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Apache Tomcat Representation and Management of Data on the Web.
DT211/3 Internet Application Development Web Servers.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Java Servlets and JSP.
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
Configuring Apache tomcat Specifying the server port NOTE: Edit the install_dir/conf/server.xml and change the port attribute of the connector element.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
Hyrax Installation and Customization Dan Holloway James Gallagher.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
Shibboleth 2.0 IdP Training: Basics and Installation January, 2009.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Hyrax Architecture Two cooperating processes: –Front-end provides DAP interface –Back-end reads data Both parts can be customized –Front-end: different.
From Client Server to WEB Rizwan Akhtar Tangible Technologies
Apache Tomcat Representation and Management of Data on the Web.
Java Servlets CS-422. Application Mapping Your servlet application will be mapped to a directory structure: –“myapp” maps to some directory C:/docs/apps/myapp.
Apache + Tomcat. Apache + Tomcat Download mod_webapp.so:
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
Application Servers: Tomcat. What is an application server? Servlets are Java’s answer to server-side programming. Servlets are a special type of Java.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
AN OVERVIEW OF SERVLET TECHNOLOGY SERVER SETUP AND CONFIGURATION WEB APPLICATION STRUCTURE BASIC SERVLET EXAMPLE Java Servlets - Compiled By Nitin Pai.
Functionality of a web server What does the web server do? Let a user request a resource Find the resource Return something to the user The resource can.
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.
OOI CyberInfrastructure: Technology Overview - Hyrax January 2009 Claudiu Farcas OOI CI Architecture & Design Team UCSD/Calit2.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
Installing Apache Axis Setting up your Tomcat server to use Web Services.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
C HAPTER 11 D EPLOYING YOUR WEB APP. WAR FILE A WAR file is simply a snapshot of your web app structure, in a nice portable, compressed form (it is really.
Jsp (Java Server Page) Is a server side program.
DAP Servers and Services Section 2 APAC ‘07 OPeNDAP Workshop 12 Oct 2007 James Gallagher Thanks to Jennifer Adams, John Caron, Roberto De Almeida, Nathan.
OPeNDAP Hyrax Harnessing the power of the BES OPeNDAP Hyrax Back-End Server Patrick West
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
9/21/04 James Gallagher Server-Side: The Basics This part of the workshop contains an overview of the two servers which OPeNDAP has developed. One uses.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
Installing the THREDDS and Aggregation Servers ● Install and verify the Tomcat servlet engine ● Install and verify the THREDDS servlet (which also contains.
Running a Forms Developer Application
Checking the Server.
SFS-HTTP: Securing the Web with Self-Certifying URLs
Hyrax Configuration.
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
IST 516 Fall 2010 Dongwon Lee, Ph.D. Wonhong Nam, Ph.D.
Tomcat Celsina Bignoli
Lecture: Protocols in Detail
Course Outcomes of Advanced Java Programming AJP (17625, C603)
Other Services in Hyrax
Data Handlers.
Tools to Build Clients.
ETL Job Scheduler Job Database Server User Interface Scheduler
Web UI Basics ITM 352.
By Dr. Kodge Bheemashankar G
MapServer In its most basic form, MapServer is a CGI program that sits inactive on your Web server. When a request is sent to MapServer, it uses.
Web Statistics Statistics collected from
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
Introduction to JBoss application server
COP 4610L: Applications in the Enterprise Spring 2005
Java Servlets and JSP.
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 7 Network Applications
OPeNDAP/Hyrax Interfaces
Presentation transcript:

Checking the Server

Location of Server Files on the Virtual Machine On your virtual machine: The Tomcat servlet engine is in /usr/local/javadev/apache/tomcat-5.5.12 (this is the value of $CATALINA_HOME) The BES, data handlers and related source files are in /usr/local/src. The BES has been built and installed in /usr/local/ ($prefix) The OLFS web archive file is $CATALINA_HOME/webapps/opendap.war BES: bes.conf, found at $prefix/etc/bes/bes.conf OLFS: olfs.xml and catalog.xml, found at $CATALINA_HOME/content/opendap

Background: Starting the Server Start the BES (back-end data processing component) Use bescmdln to verify it’s working Start Tomcat: This automatically starts all installed servlets Servlets are installed by copying the .war file to the servlet’s webapps directory Verify it’s working using a web browser

Start the BES

Verify the BES is running

Start Tomcat & the OLFS Typical steps: Unpack the olfs jar-file Copy the opendap.war file to Tomcat’s webapps directory Start Tomcat Since all but the last step has been done already, start Tomcat: /usr/local/javadev/apache-tomcat-5.5.12/bin/startup.sh

…terminal view

Verify Tomcat is running http://localhost:8080

…and Hyrax http://localhost:8080/opendap

Troubleshooting The getdap command line client Can request any of the DAP response objects Can act as a simple, generic web client When even getdap cannot diagnose a problem, use telnet!

Troubleshooting with getdap Use getdap to get The DAS, DDS, Data, DDX Version information Use telnet to view the raw HTTP response If the server times out too quickly, use expect to control telnet

Use the ‘-a’ option to get a DAS response Also provide a valid URL http://localhost:8080/opendap/data/nc/fnoc1.nc

Use the ‘-d’ option to get a DDS response

…or drop the -d option and append the ‘.dds’ suffix

Use the ‘-D’ (data) and ‘-c’ (constraint) options to get a data response. A constraint expression with just one variable. We got this from the DDS above

This constraint is asking for the values of ‘time’ between indexes 2 and 6 (every second value).

Appending the string ‘version’ to the server root name requests version information. It comes back in an XML document.

Telnet reveals all Use telnet to pass HTTP commands directly to the ‘opendap’ web application Open the connection using the host name and port number Use the ‘GET’ command, the pathname part of the URL including the DAP request extension and ‘HTTP/1.1’ or ‘HTTP/1.0’ Often you will need to supply a ‘Host: <name>’ header A blank line.

Connect to the Tomcat or Apache server GET <pathname> HTTP/1.1 (or 1.0) - hit return quickly! Host: header is important for a virtual server Here’s the payoff - we can see all of the headers set by both the web app and the server, plus the response. Be cautious with data responses because they are binary and will mess up your terminal session. Note the HTTP 1.1 chunking counts (c5 and 0)