Chapter 3. Installation

compared with
Version 6 by Sandra TRINO
on Feb 25, 2010 10:39.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
\\
The default dragon.properties file is (NB : here, we have disable the MySQL configuration and enable the H2 configuration, Indexation is set in memory mode) :
{code:lang=xml}############
### Dragon properties file
############

############
### Registry properties
############
configuration.reload.delay = 3000
root.domain = dragon.org

############
### Datasource properties
############

## MySQL Datasource
# jdbc.driverClassName = com.mysql.jdbc.Driver
# jdbc.url = jdbc:mysql://localhost:3306/dragon
# jdbc.username = anonymous
# jdbc.password =
# jdbc.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
# jdbc.hibernate.hbm2ddl.auto = update
# jdbc.hibernate.show_sql = false

## In Memory H2 Datasource
jdbc.driverClassName = org.h2.Driver
jdbc.url = jdbc:h2:mem:dragon
jdbc.username = sa
jdbc.password = sa
jdbc.hibernate.dialect = org.hibernate.dialect.H2Dialect
jdbc.hibernate.hbm2ddl.auto = update
jdbc.hibernate.show_sql = false

## In Memory HSQL Datasource
#jdbc.driverClassName = org.hsqldb.jdbcDriver
#jdbc.url = jdbc:hsqldb:mem:dragon
#jdbc.username = sa
#jdbc.password =
#jdbc.hibernate.dialect = org.hibernate.dialect.HSQLDialect
#jdbc.hibernate.hbm2ddl.auto = update
#jdbc.hibernate.show_sql = false
#jdbc.url = jdbc:hsqldb:file:c:/hsqldb/dragon
###########
### Indexation properties (Compass/Lucene)
###########

## Index path
compass.index.url = ram://compass
#compass.index.url = file:///c:/compass
# compass.index.url = file:///home/compass

## Full default analyser
#compass.engine.analyzer.default.type = snowball
#compass.engine.analyzer.default.name = English
compass.engine.analyzer.default.type = standard
compass.engine.analyzer.default.name = English

##########
### Log
##########
#log.root.path = C:/Projets/SOA4All

##########
### Repository
##########
## A Database repository configuration. All binary files are stored as DB Blobs
repo.type = database
repo.root = null
## A Filesystem repository configuration. All binary files are stored in the filesystem
#repo.type = filesystem
#repo.root = ./test-repository{code}
!worddavfa1a093611d90f1c128cf742dfdbc7aa.png|height=431,width=291!\\
The H2 Datasource (in memory mode) is the one used by default. You also have a MySQL configuration which is disabled by default.
h1. {color:#003f80}{*}3.3.*{color} {color:#003f80}{*}Accessing{*}{color} {color:#003f80}{*}the{*}{color} {color:#003f80}{*}application{*}{color}

Once deployed, Petals Master can be accessed in your web browser through the address {color:#003f80}[http://\+|http://+]{color}{color:#003f80}{_}{+}host{+}{_}{color}{color:#003f80}+:+{color}{color:#003f80}{_}{+}port{+}{_}{color}{color:#003f80}+/petals-master-{version-number}/petals-master{+}{color} {color:#003f80}[http://\+|http://+]{color}{color:#003f80}{_}{+}host{+}{_}{color}{color:#003f80}+:+{color}{color:#003f80}{_}{+}port{+}{_}{color}{color:#003f80}+/petals-master\-+{color}{version-number}{color:#003f80}/petals-master{color}

If your server configuration has "localhost" as host, 8080 as port, the URL for Petals Master V1.0 is : [http://\+|http://+]{color:#003f80}{_}{+}localhost{+}{_}{color}{color:#003f80}+:+{color}{color:#003f80}{_}{+}8080{+}{_}{color}{color:#003f80}+/petals-master-1.0/petals-master{+}{color}.