The archive containing the Quotero Server application is available on SourceForge. This archive contains a standard Java Web Application, which can be deployed on any Java servlet container. When downloaded, the whole archive can be placed under the webapps directory of your application server instance.
If you need technical support for this product, contact Customer Support by email at support@quotero.com. If you have comments or suggestions about this documentation, contact us at documentation@quotero.com. This edition applies to version 2.0 of the Quotero solution.
This example describe a deployment on a Tomcat 6 servlet container.
Important note: above all, it is necessary to create database with the appropriate SQL scripts (you can download it here.
First, to connect Quotero Server to your database, you have to configure data source by editing context.xml, located in ~/webapps/QuoteroServer/META-INF :
<Resource auth="Container" name="jdbc/quoterodb" uniqueResourceName="jdbc/quoterodb"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://localhost/quotero_new_installer_db"
user="postgres" password="secret"
maxIdleTime="1000"
maxPoolSize="50"
minPoolSize="30"
readOnly="true"
factory="org.apache.naming.factory.BeanFactory"
type="com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean" />
Specify here the database access (url, user and password). Note that you need to change driverClassName and url if you configure another database type.
Then, edit quotero-conf.properties if needed (located in ~/webapps/QuoteroServer/WEB-INF/conf) :
jta.tx.managerlookup=com.atomikos.icatch.jta.hibernate3.TransactionManagerLookup
jta.tx.factory=com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory
jdbc.databasetype=postgresql
jdbc.schema=public
jdbc.jndids=java\:/comp/env/jdbc/quoterodb
jdbc.dialect=org.hibernate.dialect.PostgreSQLDialect
Now, you have to configure yours webapp paths. You can also configure workflow mailer parameters here.
To configure Quotero webapp, edit quotero.xml into ~/webapps/QuoteroServer/WEB-INF directory.
<quotero-configuration>
<key name="SessionExpire" value="60"/>
<key name="RepositoryPath" value="/home/user/quotero/repository"/>
<key name="IndexPath" value="/home/user/quotero/repository/index"/>
<key name="LuceneAnalyzerClass" value="org.apache.lucene.analysis.fr.FrenchAnalyzer"/>
<key name="RecentsItemsLimit" value="10"/>
<key name="PasswordEncryption" value="MD5"/>
<key name="AutomatedWorkflow" value="true"/>
<key name="WorkflowMailerMailFrom" value="workflow-mailer@localhost"/>
<key name="WorkflowMailerSenderName" value="Quotero Worfklow"/>
<key name="SmtpHost" value="localhost"/>
<key name="SmtpUser" value="main"/>
<key name="SmtpPassword" value="secret"/>
<key name="SmtpTLSAuth" value="false"/>
<key name="SmtpPort" value="25"/>
<key name="ServerName" value="QuoteroServer"/>
</quotero-configuration>
At this step, Quotero is normally ready to start.
You can run your application server.
Quotero Server will be available to http://localhost:8080/QuoteroServer (if you need to configure a Quotero client).
Go to http://wiki.quotero.com/bin/view/Install/Quotero+Quick+Install for additional information.