New in Liferay 6: Administration and Setup On screen User Interface Account Manage Places Control Panel Configuration Files – Setup (covered in Training.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
XMAS installation instructions Windows Version: 1.0 4/22/2008.
Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
SERVLETS.
WebServer & Tomcat By B. Venkateswarlu M.Tech Assoc Prof IT(Dept) Newton’s Institute of Engineering.
TUTORIAL (1) Software installation Written by: Eng. Ahmed Mohamed Abdel Ghafar, Edited by Eng. Muhammed Hammad, Eng. Hamdy Soltan & Eng. Osama Talaat.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Installing DSpace on Window Bharat M. Chaudhari School of Petroleum Management, PANDIT DEENDAYAL PETROLEUM UNIVERSIRY, GANDHINAGAR
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
CSCI 6962: Server-side Design and Programming
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Project confidential Page 1 20-Jan-09 Integrated Project – EC FP AspireRFID Developers First CodeCamp Athens Information Technology Nikos Kefalakis.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
IT 211 Project Integration and Deployment Lab #11.
1 IMPORTANT NOTE  IMPORTANT NOTE not  As of this writing the default project you will download, import and use in this class is not enabled for Tomcat.
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
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.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 1 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Setting Up RMC for Catalyst March 19, Pre-requisites If getting Catalyst Admin support for installing RMS, register at IBM first and get a user.
SVN in Eclipse Presented by David Eisler 10/09/2014.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
SAFARI ODBC INSTALLATION Go to the TRECA home WEB page.
First Venture into the Android World Chapter 1 Part 2.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
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.
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
® IBM Software Group © 2009 IBM CorporationLast Update: 5/27/2009 Setup Guide for the RUI EGL Distance Learning Course RBD v7.5.1 Workstation.
Basic Portlet Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
CS1101 Using CourseMarker (CM) CM website: Updated:
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Installing RandoNode Starter Kit OPEN Development Conference September 17, 2008 Kasi Perumal Consultant.
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.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Labs: Create, deploy and test a simple web service
CCA Skill Certification
Setting up Eclipse Locally
Presentation transcript:

New in Liferay 6: Administration and Setup On screen User Interface Account Manage Places Control Panel Configuration Files – Setup (covered in Training slides) Portal.Properties Portlet-ext.xml Hot Config and Data Handling – Decrease Maintenance Time Data Sources (DS) Custom-Keys Data Administration Data Sync Data Status Rules and Services Action-Page Customization (Example: Verification)

Robust Development Platform A new and faster ways to extend Improved User Interface Alloy UI on Liferay 6.0

A new UI and Set of Controls

A new Set of Tools

/blogs/ /maximized Content Management Interoperability Services (CMIS) Alfresco, Day Software, Dennis Hamilton, EMC, FatWire, IBM, Microsoft, Open Text, Oracle and SAP have joined forces to propose CMIS. From 6.0, Liferay provides CMIS hook to support CMIS (version 1.0). Refer to CMIS and Database Migration. Java/Liferay Questions:

Liferay Setup Repetition: Web Applications and Model View Controller (MVC) Design Pattern (CGI, Model 1, Model 2) Web Applications Frameworks (Struts, Spring, Hibernate, Data Service Semantic Frameworks) Liferay Setup: Liferay-Tomcat bundle MySQL DB Install EXT Environment

Liferay Portal – SOA platform Service DescriptionsRules RepositoryData Access & Reconsiliation Complementary Semantics (DataService) Frameworks: Data, Services, Rules & Scenarios

Basic Components Liferay Platform Source & Library Tomcat 6 Application Server Liferay Platform Source & Library MySQL DB Development Environment: Eclipse & Ant Liferay-Tomcat Bundle

Liferay-Tomcat Bundle Download the Liferay-Tomcat bundle as a zip file: Unzip into your C: drive Rename liferay-portal to liferay Rename tomcat to tomcat6 Start liferay/tomcat6/bin/startup.bat

Setup MySQL DB Server 1. Get the latest version of MySQL Community Server (Free)

Install MySQL DB Server 2. Install MySQL Server (follow installation instructions) 5.1/mysql win32.msi/from/pick During the install, invoke the Config and set Password = train

Explore the database with MySQL GUI tools: MySQL GUI Tools Overview: Download: tools-5.0-r17-win32.msi/from/pick#mirrors MySql Administrator Doc: MySQL Query Browser Doc: MySQL Migration (from various DB to MySQL) Toolkit Doc:

Customize the Liferay Setting Modify setenv.bat in the $TOMCAT/bin to allow your JDK to execute your code I noticed that some of my Java classes produced the "Unsupported version" errors. It appears that the default Liferay setting (in 5.2.3) picks up the JRE from the directory built-in the liferay installation package (JRE 5) instead of the JDK installed on your PC. Here are the changes in settings to prevent this behavior. Setup JAVA_HOME in the environment variables to point to the JDK directory on your machine, for example, c:/jdk Setup JRE_HOME in the environment variables to point to the JRE directory on your machine, for example, c:/jdk/jre Open the setenv.bat file in the $liferay/$tomcat/bin directory and delete the settings of JAVA_HOME and JRE_HOME; delete everything till "set JAVA_OPTS...", so this file will start with "set JAVA_OPTS"; Replace the timezone "GMT" with "MST" Save the setenv.bat, delete the JRE5 from the Liferay install Run $liferay/$tomcat/bin/startup.bat again to make sure it works!

Let Liferay work with the DB Original setup allows Liferay to use in-memory data for demo purposes In real life you'll need to connect Liferay with the Database Liferay can use any database but its choice is MySQL Open Source DB To allow Liferay to use the MySQL DB: - Create the c:\liferay\archive - folder - Go to C:\liferay\tomcat6\webapps - Move all the folders except the ROOT From the webapps folder Into the c:\liferay\archive folder - Check again: you must delete this JRE folder From the c:\liferay\tomcat6

Configure Communications Open the file: $liferay/$tomcat/conf/Catalina/localhost/ROOT.xml Add the following entry for your communications: <Resource name="mail/MailSession" auth="Container" type="javax.mail.Session" mail.imap.host="imap.gmail.com" mail.imap.port="993" mail.pop.host="pop.gmail.com" mail.store.protocol="imap" mail.transport.protocol="smtp" mail.smtp.host="smtp.gmail.com" mail.smtp.port="465" mail.smtp.auth="true" mail.smtp.starttls.enable="true" mail.smtp.user="{$username}" password="{$password}" mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory" />

Connect to and DB Open a new text file and save the following content into the file: $liferay/$tomcat/webapps/ROOT/classes/portal-ext.properties #### MySQL jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true& characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.username={$username} jdbc.default.password={$password} #### mail.session.jndi.name=mail/MailSession

Start DB or better Make MySQL a Service Start the MySQL Query Browser (downloaded from the MySQL GUI Tools) password=train (Liferay will populate the “lportal” schema on the first start)

Basic Components Liferay Platform Source & Library Tomcat 6 Application Server Liferay Platform Source & Library MySQL DB Liferay-Tomcat Bundle Run c:/liferay/tomcat6/bin/startup.bat Liferay is working with the DB

Plugins SDK and Extension Environment EXT Environment Plugins SDK

Plugins SDK

EXT Environment

Portal and Portlets JSR 286 (Java Specification Request) A Portlet is an application that presents a fragment of a portal page A Portlet Container assembles the portlets into a portal page

Portlet Life-Cycle

EXT Environment What is EXT? Ext is a wrapper for Liferay portal core source directories (that is, ext-impl/, ext-service/, and ext-web/). EXT allows the users to develop on top of Liferay source

Basic Components Liferay Platform Source & Library Tomcat 6 Application Server Liferay Platform Source & Library MySQL DB Development Environment: Eclipse & Ant Liferay-Tomcat Bundle

Install Ant and establish the workspace in Eclipse Download and Install Ant from: - set the ANT_HOME system variable For example, c:\tools\ant (similar as JAVA_HOME ) - add to the PATH variable the location of ant\bin For example, c:\tools\ant\bin Start Eclipse and create a new workspace: c:\liferay\workspace

Install Subclipse (Subversion) 1. Open in Eclipse the Help – Install New Software window 2. Copy & paste the URL below for the update 3. Update Eclipse with this new plugin

Use the Subversion to get the Latest (Stable) Code from Liferay After installation, open the Subclipse: 1. From the Window menu, select Open Perspectives. 2. Click on Other… 3. Select SVN Repository Exploring, and then click on the button OK. 4. Right-click on the SVN Repositories view. 5. Select New and the Repository Location… 6. Provide input as svn://svn.liferay.com/repos/public and click on Finish. User Name = “guest” (Leave the password field empty) Expand the plugins and portal folders to see Liferay portal source code

Download and unzip Tomcat Plugin Download the tomcatPlugin.zip from: Unzip its content into the folder: c:\eclipse\dropins Restart Eclipse and see the new Tomcat controls icons