12-26-2013 09:18 AM
bash$ mkdir explorer ; cd explorer ; jar xf ../activity-explorer.war
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.or/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app>
<resource-ref>
<res-ref-name>jdbc/activiti-demo</res-ref-name>
<jndi-name>jdbc/activiti-demo</jndi-name>
</resource-ref>
</glassfish-web-app>
<jee:jndi-lookup id="dataSource" jndi-name="jdbc/activiti-demo" />
<bean id="sqlExceptionTranslator" class="org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator">
<property name="dataSource" ref="dataSource"/>
</bean>
bash$ jar cf ../activiti-explorer-gf.war .
7. Deploy activiti-explorer-gf.war in the admin console.
12-26-2013 09:35 AM
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="${jdbc.driver}" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
<property name="defaultAutoCommit" value="false" />
</bean>
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" antiResourceLocking="true" path="/activiti-explorer" reloadable="true">
<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver" maxActive="2" maxIdle="3" maxWait="10000" name="jdbc/activiti-demo" password="activitipw" type="javax.sql.DataSource" url="jdbcracle:thin:@192.168.11.2:1521/XE" username="activiti"/>
<Resource auth="Container" mail.smtp.auth="true"
mail.smtp.host="Your SMTP Provider, i.e. smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
mail.smtp.starttls.enable="true"
mail.smtp.user="…. foobar at gmail.com ….. "
name="mail/Session"
password="….private password goes here…."
type="javax.mail.Session"/>
</Context>
12-29-2013 02:49 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.