Basic Setup Copyright © 2000-2006 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Struts Portlet Adding an Action Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Installing JDK Vijayan Sugumaran Department of DIS Oakland University.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Update the PATH variable Trying to run the command: “javac Ex1.java” you’ve may encountered the error: “javac is not recognized as internal or external.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
Basic Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
JSF Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Java web development Servlet & Java server pages.
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
SERVLETS.
Themes & Layout Tutorial Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
End User Administration (in context of Liferay CMS) Copyright © 2006 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
How to Download and Install a Sharp Print Driver on a Mac.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Enter your Organization Code, Username and Password. These will be provided to you by your iAdvantage Administrator. Note that these entries.
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Web Technologies Website Development Trade & Industrial Education
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Struts Portlet Redirect Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
IT 211 Project Integration and Deployment Lab #11.
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.
Using FrontPage Express. Slide 1 Standard toolbars and menus Time indicator: gives an approximation of download time of the page.
Website Development with Dreamweaver
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
How to Tag a Corpus Using Stanford Tagger. Accuracy All tokens: 97.32% Unknown words: 90.79%
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
Basic Instructions on how to use One Drive and share files. ONE Drive Your LogoYour own footer.
Downloading and Installing Autodesk Revit 2016
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Welcome to java installation. After download java software, assuming you downloaded jdk1.7.0_11 Follow the procedure bellow to install java.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
JSP Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
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.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Database Connection Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
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.
It works! PPInfoScreen Server is now running and will display your deployed presentations Some instructions will follow…
Basic Portlet Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Required Tools Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Installing RandoNode Starter Kit OPEN Development Conference September 17, 2008 Kasi Perumal Consultant.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.
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.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from.
Day 1 Session 2. Setup & Installation
Installing RMS 3.0 Contractor Mode
Copyright © Liferay, Inc.
Download and Installation of code::blocks
Presentation transcript:

Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, Inc.

Objectives Basic Setup 1. Install Java 2. Install Liferay/Tomcat bundle

Why use Tomcat? Tomcat is the fastest server for development of the extension environment. Use Tomcat for development even if you will use a different server for production. Then deploy your code to the other server for periodic testing. Changing servers is easy! Just change the app.server.type. For example, app.server.type=tomcat app.server.type=websphere

Tomcat Requirements Java will need to be installed and JAVA_HOME will need to set in order for Tomcat to run. What’s JAVA_HOME? JAVA_HOME is an Environment Variable. You will need to point it to the directory where you installed your JDK. Note: We will go over how to set JAVA_HOME later in the presentation.

Uninstall Previous Versions of Java We will be using J2SE 5.0 jdk-1_5_0_08-windows-i586-p.exe It is highly recommended that you uninstall all previous versions of Java even if you need it for another project. Java is easy to install, and you can always reinstall the version of Java that you need after the training session is over. Errors that occur from having multiple versions of Java will cause delays for the entire class.

Install Java 1.First let’s create a folder where we will install all Java-related tools: C:\Java 2.Next install J2SE 5.0. Double click jdk-1_5_0_08-windows-i586-p.exe 3.See the next slide for further instructions.

1.Install J2SE 5.0 to C:\Java\jdk1.5.0_08\ instead of C:\Program Files\Java\jdk1.5.0_08\ (See below.) 1.Click Next until the installation has finished. C:\Java\jdk1.5.0_08

1.Right click My Computer and click Properties  Advanced  Environment Variables 2.Under System Variables click New Make sure you click New under System variables NOT User variables 3.Variable name: JAVA_HOME Variable value: C:\Java\jdk1.5.0_08 Set JAVA_HOME C:\Java\jdk1.5.0_08

Checkpoint Verify that JAVA_HOME is correct. C:\Java\jdk1.5.0_08

1.Under System Variables click Path then Edit 2.Type %JAVA_HOME%\bin; at the beginning of the Path 3.Don’t forget the semi-colon at the end! Example: %JAVA_HOME%\bin;%SystemRoot%\system 32;%SystemRoot%;%SystemRoot%\System32 \Wbem;C:\Program Files\ATI Technologies\ATI Control Panel; Add JAVA_HOME to the Path

1.Click Start  Run… 2.Type cmd and press Enter 3.Type path 4.Make sure that C:\Java\jdk1.5.0_08 is in the Path! 5.Make sure that there is only ONE JDK in your path! Checkpoint

Unzip Tomcat 1.Create the following directory structure: C:\Training\liferay\tomcat 2.Locate the Liferay-Tomcat bundle on CD: liferay-portal-tomcat-jdk zip 3.What’s the Liferay-Tomcat bundle? It’s just Tomcat pre-configured to run Liferay. 4.Unzip Tomcat (liferay-portal-tomcat-jdk zip) to C:\Training\liferay\tomcat

1.Go to C:\Training\liferay\tomcat\bin 2.Double click startup.bat Start up Tomcat

Modify the Console Window Right click the Tomcat menu bar and select Properties

Modify the Console Window 1.Click the Layout tab 2.Screen Buffer Size Width: 100 Height: Window Size Width: 100 Height: 30 1.Click Save properties for future windows with same title

Look at the Console Window! Increasing the window size makes it easier to read the console. Increasing the screen buffer size allows us to see the full error message when an error is thrown. Make it a habit to read what is being displayed in the console even if you do not have an error! By the time we start developing our first portlet, you should know which messages indicate a successful startup and which messages indicate an error. As a developer you MUST learn how to read the console and track down the root cause of an error.

Open up your web browser and type You will automatically be redirected to

Congratulations! Congratulations! You’ve just set up Liferay Portal! Login: Password: test To hot deploy JSR-168 compliant portlets, Liferay layout templates, or Liferay themes just drop your *.war files in C:/home/liferay/deploy Sample portlets can be found here: For more information on hot deploy, click here:

Revision History Edward Shin8/28/2006Updated for Liferay Mark Wong9/12/2006Updated for 4.1.2