Tài liệu GateIn Cookbook docx

392 553 3
Tài liệu GateIn Cookbook docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... managed by GateIn The default properties' values relating to the file system configuration are as follows: ‰‰ gatein. data.dir= /gatein/ data ‰‰ gatein. jcr.data.dir=$ {gatein. data.dir}/jcr ‰‰ gatein. jcr.storage.data.dir=$ {gatein. jcr.data.dir}/ values ‰‰ gatein. jcr.index.data.dir=$ {gatein. jcr.data.dir}/lucene Using these parameters, you can change the default location of the content binaries of GateIn Here,... ‰‰ ‰‰ 14 gatein. jcr.datasource.driver gatein. jcr.datasource.url Chapter 1 ‰‰ gatein. jcr.datasource.username ‰‰ gatein. jcr.datasource.password The default database settings of the JCR component of GateIn are based on these standard JDBC parameters: ‰‰ gatein. jcr.datasource.driver=org.hsqldb.jdbcDriver ‰‰ gatein. jcr.datasource.url=jdbc:hsqldb:file:$ {gatein db.data.dir}/data/jdbcjcr_${name} ‰‰ gatein. jcr.datasource.username=sa... steps in order to configure GateIn to send e-mails: 1 Locate in the e-mail section of the configuration file the following snippet: # Email gatein. email.smtp.username= gatein. email.smtp.password= gatein. email.smtp.host=smtp.gmail.com gatein. email.smtp.port=465 gatein. email.smtp.starttls.enable=true 18 Chapter 1 gatein. email.smtp.auth=true gatein. email.smtp.socketFactory.port=465 gatein. email.smtp.socketFactory.class=javax.net.ssl... of GateIn, you should edit the configuration file in a similar way for JCR, following the related conventions: gatein. jcr.datasource.driver=com.mysql.jdbc.Driver gatein. jcr.datasource.url=jdbc:mysql://:/gateInJcr 17 Getting Started gatein. jcr.datasource.username= gatein. jcr.datasource.password= For the identity manager you should have the following: gatein. idm.datasource.driver=com.mysql.jdbc.Driver... gatein. idm.datasource.driver=com.mysql.jdbc.Driver gatein. idm.datasource.url=jdbc:mysql://:/gateInIdm gatein. idm.datasource.username= gatein. idm.datasource.password= Finally, remember to copy the MySQL JDBC driver library into the application server library folder in order to make the driver class available to GateIn See also ff The Configuring GateIn to send e-mails recipe ff The Running GateIn. .. following: ‰‰ gatein. jcr.datasource.driver=oracle.jdbc.OracleDriver ‰‰ gatein. jcr.datasource.url=jdbc:oracle:thin:@::gateInJcr ‰‰ gatein. jcr.datasource.username= ‰‰ gatein. jcr.datasource.password= 2 You or your DBA must create the database schema and the user above in your DBMS instance before running GateIn The user credentials used by GateIn must... the following: ‰‰ gatein. idm.datasource.driver=org.hsqldb.jdbcDriver ‰‰ gatein. idm.datasource.url=jdbc:hsqldb:file:$ {gatein db.data.dir}/data/jdbcidm_${name} ‰‰ gatein. idm.datasource.username=sa ‰‰ gatein. idm.datasource.password= As seen above for the JCR database settings, a potential configuration for an Oracle database dedicated to the identity manager could be the following: ‰‰ gatein. idm.datasource.driver=... frameworks and the need for them to work together cohesively GateIn will provide the solution to effectively integrate them into a single website GateIn is an open source website framework that does more than a web framework by letting you use your preferred one This GateIn Cookbook provides solutions whether you're planning to develop a new GateIn portal, migrate a portal, or only need to answer a specific... Getting Started In this chapter we will cover: ff Installing GateIn from binary package ff Building and installing GateIn from the source code ff Configuring the content storage ff Configuring GateIn to send e-mails ff Running GateIn on your machine ff Setting up the development environment Introduction This first chapter will discuss how to install a GateIn instance on your local environment We will see... following: ‰‰ gatein. idm.datasource.driver= oracle.jdbc.OracleDriver ‰‰ gatein. idm.datasource.url=jdbc:oracle:thin:@::gateInIdm ‰‰ gatein. idm.datasource.username= ‰‰ gatein. idm.datasource.password= How it works In the previous steps, we have configured the content storage of GateIn that will be used to create all the needed data structures (tables .

Ngày đăng: 15/02/2014, 07:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Authors

  • About the Reviewers

  • www.PacktPub.com

  • Table of Contents

  • Preface

  • Chapter 1: Getting Started

    • Introduction

    • Installing GateIn from binary package

    • Building and installing GateIn from the source code

    • Configuring the content storage

    • Configuring GateIn to send e-mails

    • Running GateIn on your machine

    • Setting up the development environment

    • Chapter 2: Managing Portal Contents using the GUI

      • Introduction

      • Managing portals

      • Managing portal pages

      • Managing registered portlets

      • Managing the navigation tree

Tài liệu cùng người dùng

Tài liệu liên quan