Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 1090c1370c
32 lines (32 sloc) 1.1 kB
<?xml version="1.0" encoding="UTF-8"?>
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<New id="pcmdbDS" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>jdbc/pcmDB</Arg>
<Arg>
<New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
<Set name="Url">jdbc:mysql://localhost:3307/pcmDB?allowMultiQueries=true
</Set>
<Set name="User">pcm</Set>
<Set name="Password">pcm_pw</Set>
</New>
</Arg>
</New>
<New id="mailSessionId" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>mail/Session</Arg>
<Arg>
<New class="org.eclipse.jetty.jndi.factories.MailSessionReference">
<Set name="user">gmail_account@gmail.com</Set>
<Set name="password">gmail_account</Set>
<Set name="properties">
<New class="java.util.Properties">
<Put name="mail.smtp.host">smtp.gmail.com</Put>
<Put name="mail.debug">true</Put>
<Put name="mail.smtp.port">587</Put>
<Put name="mail.smtp.auth">true</Put>
<Put name="mail.smtp.starttls.enable">true</Put>
</New>
</Set>
</New>
</Arg>
</New>
</Configure>
Jump to Line
Something went wrong with that request. Please try again.