Building the Portal. Choosing a Host Computer Select your host computer. o You will need a real IP address for some COG-based portlets o VPN also OK (?)

Slides:



Advertisements
Similar presentations
FILEMAKER SERVER SOFTWARE & REMOTE ADMINISTRATION
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.
Building and Testing OGCE Software on the NMI Build and Test Facility Marlon Pierce Indiana University.
OGCE Overview: Portals, Services, Workflows, Gadgets, and Tags Marlon Pierce (IU), Suresh Marru (IU), Gregor von Laszewski (RIT), Mary Thomas (SDSU), Nancy.
Developing CAS in Eclipse
Raymond R. Balise Health Research and Policy
CUSTOMIZING DSPACE 1.5 WITH BASIC OVERLAYS Open Repositories 2008 Tim Donohue Research Programmer IDEALS University of Illinois Graham Triggs Technical.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
Installing and running COMSOL on a Windows HPCS2008(R2) cluster
Installing SAS 9.3 TS1M1 Raymond R. Balise Health Research and Policy.
CS0007: Introduction to Computer Programming Setting Up Java.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan
The DSpace Course Module – DSpace Installation. Module objectives  By the end of this module you will:  Understand the platforms DSpace can be hosted.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Developing Interfaces and Interactivity for DSpace with Manakin Part 2: Technical and Conceptual Overview of Dspace and Manakin Eric Luhrs Digital Initiatives.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
OGCE Building and Testing on NMI Slides by: Rishi Verma.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Installing and Building GTLAB Marlon Pierce Indiana Univeristy.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
WRF Domain Wizard A tool for the WRF Preprocessing System Jeff Smith Paula McCaslin July 17, 2008.
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.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
The DSpace Course Module – Upgrading from 1.4 to 1.5.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
ASM Hands-on. What will we learn? ● How to install an ASM-based web-application in gUSE ● How to develop ASM-related parts of an interface for – Importing.
Installing, Configuring And Troubleshooting Coldfusion Mark A Kruger CFG Ryan Stille CF Webtools.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Linux Exercise. Download and Install the latest CentOS version and latest Ubuntu/Fedora OS. Configure a unique Host Name and a permanent IP Address for.
 Linux Mint is a computer operating system designed to work on most modern systems, including typical x86 and x64 PC’s. Linux Mint can be thought of.
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
Enabling Grids for E-sciencE Software installation and setup Viet Tran Institute of Informatics Slovakia.
Open Grid Computing Environments Tutorial Marlon Pierce, Suresh Marru, Gopi Kandaswamy, Gregor von Laszewski, and Tom Scavo.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
UpgradinguPortal to What’s new that matters Better use of third party frameworks Faster! Improved caching Drag and Drop New Skin & Theme Accessibility.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Introduction to Programming 1 1 2Introduction to Java.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
Copyright © PatchLink ® 2003 All Rights Reserved Server Installation.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Day 1 Session 2. Setup & Installation
Getting Started as an EdgeX Developer
Getting & Running EdgeX Docker Containers
Hyrax Configuration.
Java on the LEGO Mindstorms EV3
Getting Started as an EdgeX Developer
How to fix Update Failure Error “0x800f081f” on Windows 10 KB ?
slides borrowed and adapted from Alex Mariakis and CSE 390a
Setting up Eclipse Locally
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
JCreator Settings Only
JENKINS TIPS Ideas for making your life with Jenkins easier
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
Review of Previous Lesson
Presentation transcript:

Building the Portal

Choosing a Host Computer Select your host computer. o You will need a real IP address for some COG-based portlets o VPN also OK (?) o Know general Globus et al firewall issues.  I recommend turning firewalls and SELinux off for development. Operating Systems o We test with Mac OS X and many Linux flavors o Other Unix should be fine (assuming Java works) o We have not had any requests for Windows. Software Environment o The portal download comes with everything you need EXCEPT Java. You need the JDK, not the JRE. o We test with Java 1.5. Don’t use Java 1.4. The more memory, the better.

Downloading and Building the Portal Download the portal from o Unpack in $HOME. You should also download the Maven repository. o This is optional but recommended Edit ogce-portal- home/pom.xml Run the command “mvn clean install”. o Use “mvn –o clean install” to build offline. Build will typically take 5 minutes (new Mac) to 30+ minutes (old Linux PC). You can also check out the latest code from SVN. Check the “Nightly Build” dashboard to verify.

Practical Considerations Increase your JVM Memory o export JAVA_OPTS="-server -Xms512m -Xmx1024m - XX:MaxPermSize=256m” o Xmx2048m, 4096m, etc if you can. Monitor catalina.out for problems o tail –f catalina.out Make sure that Tomcat shuts down o Kill if necessary NFS can really slow down building o Use /usr/local/ if you have problems

Editing pom.xml You only need to edit the top level ogce-portal- only/pom.xml. You only need to change for local settings. You MUST update the IP address. You may want to add or remove GRAM and GridFTP hosts. Update project.home if you are building someplace besides $HOME …. …. ${env.HOME}/ogce-portal-only

Rebuilding the Portal Running “mvn clean install” will completely wipe out the existing installation. o You may not want to do this. If you want to rebuild individual components, just run the following command from the ogce- portal-only directory. o mvn clean install –f portlets/myportlet/pom.xml You can do this for all in ogce-portal- deploy/pom.xml

OGCE Portal Project Layout We follow standard Maven 2 conventions for project layouts for each component. o moduleName/src/main/webapp o moduleName/src/main/java Modules are listed on next slide o See ogce-portal-only/pom.xml. o Each module is a separate directory and has its own pom.xml.

ModuleDescription Portal_deployThis is where your portlets are deployed into Tomcat. ContainersSpecific build instructions for containers. Currently we only have GridSphere here. Lnf_portalControls look and feel for the container. Global-configDeploys COG jars into /shared/lib and applies Tomcat custom configs. CertificatesCA certs. Includes download of all TG certs. PortletsEach portlet has its own module.