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 with Jetty 7.3.
After downloading Quotero web app, copy the .war into the ~/webapps directory of Jetty.
This file named jetty-web.xml must be created into ~/WEB-INF directory of the web app. Here is an example that you can use:
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<New id="quotero" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>jdbc/quotero</Arg>
<Arg>
<New class="com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean">
<Set name="Url">jdbc:postgresql://127.0.0.1:5432/quotero-db</Set>
<Set name="User">postgres</Set>
<Set name="Password">postgres</Set>
<Set name="DriverClassName">org.postgresql.Driver</Set>
<Set name="UniqueResourceName">jdbc/quotero</Set>
<Set name="MinPoolSize">2</Set>
<Set name="MaxPoolSize">50</Set>
</New>
</Arg>
</New>
</Configure>
Edit the file named quotero-conf.properties (into ~/WEB-INF directory) to change the default transaction manager:
jta.tx.factory=com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory
jta.tx.managerlookup=com.atomikos.icatch.jta.hibernate3.TransactionManagerLookup
Then, specify yours database settings:
jdbc.databasetype=postgresql
jdbc.dialect=org.hibernate.dialect.PostgreSQLDialect
jdbc.schema=public
jdbc.jndids=java:/comp/env/jdbc/quotero
This is a valid example for PostgreSQL and Jetty application server.
Go to http://wiki.quotero.com/bin/view/Install/Quotero+Quick+Install for additional information.