Created
February 10, 2017 13:57
-
-
Save kelvinewilliams/4f7897dce3c817671ce209a9b2473b36 to your computer and use it in GitHub Desktop.
jetty-env.xml : java.lang.reflect.InvocationTargetException / java.lang.IllegalStateException: Nothing to bind for name ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> | |
<Configure class="org.eclipse.jetty.webapp.WebAppContext"> | |
<New id="LERG" class="org.eclipse.jetty.plus.jndi.Resource"> | |
<Arg></Arg> | |
<Arg>jdbc/LERG</Arg> | |
<Arg> | |
<New class="org.postgresql.ds.PGPoolingDataSource"> | |
<Set name="user">redacted</Set> | |
<Set name="password">redacted</Set> | |
<Set name="databaseName">api</Set> | |
<Set name="serverName">localhost</Set> | |
<Set name="portNumber">5432</Set> | |
<Set name="dataSourceName">lerg</Set> | |
<Set name="initialConnections">5</Set> | |
</New> | |
</Arg> | |
</New> | |
</Configure> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment